From patchwork Sat Dec 15 12:17:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 471 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1C16A16975; Sat, 15 Dec 2018 12:18:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTP id 7F80E1681C for ; Sat, 15 Dec 2018 12:18:13 +0000 (GMT) Received: from localhost ([::1]:38743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gY8tZ-0002JP-2U for patchwork@mira.cbaines.net; Sat, 15 Dec 2018 07:18:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gY8tT-0002Gd-Ks for guix-patches@gnu.org; Sat, 15 Dec 2018 07:18:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gY8tO-0008DF-H2 for guix-patches@gnu.org; Sat, 15 Dec 2018 07:18:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gY8tO-0008CY-Cu for guix-patches@gnu.org; Sat, 15 Dec 2018 07:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gY8tO-0001Hz-56 for guix-patches@gnu.org; Sat, 15 Dec 2018 07:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33759] [PATCH] gnu: linkchecker: Fix build. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Dec 2018 12:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33759 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33759@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15448762394895 (code B ref -1); Sat, 15 Dec 2018 12:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Dec 2018 12:17:19 +0000 Received: from localhost ([127.0.0.1]:49020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gY8sf-0001Gp-G6 for submit@debbugs.gnu.org; Sat, 15 Dec 2018 07:17:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gY8sc-0001GU-Ep for submit@debbugs.gnu.org; Sat, 15 Dec 2018 07:17:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gY8sW-0007IB-FG for submit@debbugs.gnu.org; Sat, 15 Dec 2018 07:17:09 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:40932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gY8sV-0007Gk-D7 for submit@debbugs.gnu.org; Sat, 15 Dec 2018 07:17:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gY8sU-0001hm-7e for guix-patches@gnu.org; Sat, 15 Dec 2018 07:17:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gY8sQ-0006z2-7t for guix-patches@gnu.org; Sat, 15 Dec 2018 07:17:06 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:59674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gY8sQ-0006yg-1c for guix-patches@gnu.org; Sat, 15 Dec 2018 07:17:02 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 24D9E16779 for ; Sat, 15 Dec 2018 12:17:01 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 138c5941 for ; Sat, 15 Dec 2018 12:17:00 +0000 (UTC) From: Christopher Baines Date: Sat, 15 Dec 2018 12:17:00 +0000 Message-Id: <20181215121700.11320-1-mail@cbaines.net> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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