unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 33759@debbugs.gnu.org
Subject: [bug#33759] [PATCH] gnu: linkchecker: Fix build.
Date: Sat, 15 Dec 2018 12:17:00 +0000	[thread overview]
Message-ID: <20181215121700.11320-1-mail@cbaines.net> (raw)

For some reason, the tests fail due to the lack of pytest. But when that's
added as an input, then some tests fail in other ways.

* gnu/packages/web.scm (linkchecker)[native-inputs]: Add python2-pytest.
[arguments]: Set #:tests? to #f.
---
 gnu/packages/web.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 84bd795a8..607f8efe6 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5814,8 +5814,13 @@ Instagram and YouTube.")
      `(("python2-dnspython" ,python2-dnspython)
        ("python2-pyxdg" ,python2-pyxdg)
        ("python2-requests" ,python2-requests)))
+    (native-inputs
+     `(("python2-pytest" ,python2-pytest)))
     (arguments
-     `(#:python ,python-2))
+     `(#:python ,python-2
+       ;; TODO: Tests currently fail. Looks to be a mixture of trying to use
+       ;; /homeless-shelter and maybe the network.
+       #:tests? #f))
     (home-page "https://linkcheck.github.io/linkchecker")
     (synopsis "Check websites for broken links")
     (description "LinkChecker is a website validator.  It checks for broken
-- 
2.20.0

             reply	other threads:[~2018-12-15 12:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15 12:17 Christopher Baines [this message]
2018-12-16 15:12 ` [bug#33759] [PATCH] gnu: linkchecker: Fix build Ludovic Courtès
2019-01-01 22:57   ` Christopher Baines
2019-01-03 21:34 ` [bug#33759] [PATCH v2 1/5] " Christopher Baines
2019-01-03 21:34   ` [bug#33759] [PATCH v2 2/5] gnu: Add python-miniboa Christopher Baines
2019-01-03 21:34   ` [bug#33759] [PATCH v2 3/5] gnu: python-2.7: Include /lib/python.../test/support Christopher Baines
2019-01-03 21:34   ` [bug#33759] [PATCH v2 4/5] gnu: python-futures: Enable tests Christopher Baines
2019-01-03 21:34   ` [bug#33759] [PATCH v2 5/5] gnu: linkchecker: Fix the package building Christopher Baines
2019-01-25 22:14 ` [bug#33759] [PATCH] gnu: linkchecker: Fix build Christopher Baines
2019-10-08 18:36   ` bug#33759: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181215121700.11320-1-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=33759@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).