From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] [PATCH] gnu: Add linkchecker. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Jun 2017 00:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 27468@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149826350831000 (code B ref -1); Sat, 24 Jun 2017 00:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2017 00:18:28 +0000 Received: from localhost ([127.0.0.1]:34926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOYmM-00083r-QR for submit@debbugs.gnu.org; Fri, 23 Jun 2017 20:18:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYmK-00083d-Vy for submit@debbugs.gnu.org; Fri, 23 Jun 2017 20:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYmE-0008NR-J7 for submit@debbugs.gnu.org; Fri, 23 Jun 2017 20:18:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59474) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYmE-0008NK-G0 for submit@debbugs.gnu.org; Fri, 23 Jun 2017 20:18:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYmD-000343-67 for guix-patches@gnu.org; Fri, 23 Jun 2017 20:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYm9-0008MC-2R for guix-patches@gnu.org; Fri, 23 Jun 2017 20:18:13 -0400 Received: from o166.p8.mailjet.com ([87.253.233.166]:44333) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYm8-0008Lj-R6 for guix-patches@gnu.org; Fri, 23 Jun 2017 20:18:09 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:x-csa-complaints: x-mj-mid:mime-version:content-transfer-encoding; bh=SPNTTRqUhUsquuJip+Z1ZUlmGL0=; b=bsA/FoZggCwRXAg/Tu9fczjTkZpSxTGMoGhSNrDJB/XaS4Yt2znQeMGGC rxp2Ff5z6iU+RyKftatJURa5i/QNQ5IpLGDrlVOiAMgJ8a7vJ5g+IEyDZlSk /xQyCUyAyvcvOrdG1MzQ77/zce1b/DVBO8hYzSa5IZfdxY+/guOyZI= Message-Id: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> From: Arun Isaac Date: Sat, 24 Jun 2017 05:47:40 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9a7xFhZxQRuyx8SdrJK3WGgAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) * gnu/packages/web.scm (linkchecker): New variable. --- gnu/packages/web.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 3625a1034..81bee1ec9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4674,3 +4674,43 @@ message stream (in a web server that is per connecti= on).") (description "@code{httpretty} is a helper for faking web requests, inspired by Ruby's @code{fakeweb}.") (license l:expat))) + +(define-public linkchecker + (package + (name "linkchecker") + (version "9.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "LinkChecker" version)) + (sha256 + (base32 + "0v8pavf0bx33xnz1kwflv0r7lxxwj7vg3syxhy2wzza0wh6sc2pf")))) + (build-system python-build-system) + (inputs + `(("python2-dnspython" ,python2-dnspython) + ("python2-requests" ,python2-requests))) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + ;; Remove faulty python-requests version check. This has been fix= ed + ;; upstream, and can be removed in version 9.4. + (add-after 'unpack 'remove-python-requests-version + (lambda _ + (substitute* "linkcheck/__init__.py" + (("requests.__version__ <=3D '2.2.0'") "False"))))))) + (home-page "https://linkcheck.github.io/linkchecker/") + (synopsis "Check websites for broken links") + (description "LinkChecker is a website validator. It checks for broke= n +links in websites. It is recursive and multithreaded providing output in +colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It +supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and loc= al +file links.") + (license (list l:gpl2+ + l:bsd-2 ; linkcheck/better_exchook2.py + l:bsd-3 ; linkcheck/colorama.py + l:psfl ; linkcheck/gzip2.py + l:expat ; linkcheck/mem.py + l:isc ; third_party/dnspython + l:asl2.0)))) ; third_party/miniboa --=20 2.12.2 = From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] Acknowledgement ([PATCH] gnu: Add linkchecker.) Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Jun 2017 00:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 27468@debbugs.gnu.org Received: via spool by 27468-submit@debbugs.gnu.org id=B27468.149826406731920 (code B ref 27468); Sat, 24 Jun 2017 00:28:02 +0000 Received: (at 27468) by debbugs.gnu.org; 24 Jun 2017 00:27:47 +0000 Received: from localhost ([127.0.0.1]:34956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOYvT-0008Im-Gh for submit@debbugs.gnu.org; Fri, 23 Jun 2017 20:27:47 -0400 Received: from o127.p8.mailjet.com ([87.253.233.127]:56848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <2307d2c7.AEQAMFHh1HMAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZTbIA@bnc3.mailjet.com>) id 1dOYvR-0008Ib-KU for 27468@debbugs.gnu.org; Fri, 23 Jun 2017 20:27:45 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=LunuDWHeajLNT9a50WIgXO04RL4=; b=TzeaTPM5JWCKa7YV9ct8IN+nbL4Z3JisJ8Bx/vzw1Tl/AU8lp7iMOURdt 6XZe5yzSXZCXQFzCL+aS28Muf/sQ9h+ucuSdtNa9lbGMmJAnbrki93zOTBrw DLfJUouM4MrbHOFISU4xG9GlZGyw5g/mT/fpuDegg1+J0CkkH5Xbbg= Message-Id: <2307d2c7.AEQAMFHh1HMAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZTbIA@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Sat, 24 Jun 2017 05:57:33 +0530 In-reply-to: References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAMFHh1HMAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZTbIAfPcAFSXzR-e67XxeCr00YAAFgUc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This package has bundled dependencies -- dnspython and miniboa -- under "third_party/". They have been modified as described in third_party/dnspython/changelog.txt and third_party/miniboa-r42/CHANGES.txt respectively. Should I unbundle these dependencies? If so, how do I handle the fact that the bundled dependencies have been locally modified? = From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] [PATCH] gnu: Add linkchecker. References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> In-Reply-To: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Aug 2017 23:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 27468@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 27468-submit@debbugs.gnu.org id=B27468.150344468217456 (code B ref 27468); Tue, 22 Aug 2017 23:32:02 +0000 Received: (at 27468) by debbugs.gnu.org; 22 Aug 2017 23:31:22 +0000 Received: from localhost ([127.0.0.1]:50069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkIdl-0004XU-RY for submit@debbugs.gnu.org; Tue, 22 Aug 2017 19:31:22 -0400 Received: from o162.p8.mailjet.com ([87.253.233.162]:50183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <4cc366f5.AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7F@bnc3.mailjet.com>) id 1dkIdj-0004XL-6w for 27468@debbugs.gnu.org; Tue, 22 Aug 2017 19:31:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:x-csa-complaints: x-mj-mid:mime-version:content-transfer-encoding; bh=A9YBSpiy3cHMwOvGHrG8e/ZJFiP02hzbJsmLcBFZt5M=; b=dC/xjwdJlYRSX/f1SawnOALWakcfLIWaY/2m6FrN4iqZ5us4rED6f1YRk INfRnTfs4+nHRuQTAFTXtdPg+WNoyrdr/2Y4r88OVuRCgqEdHK+6ZVfFfdVd hp3sTnJrQF9e0J2wWx13H1VrbGKtsK2tmBQCSZx7l90zx5p7Ziw2Fo= Message-Id: <4cc366f5.AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7F@mailjet.com> From: Arun Isaac Date: Wed, 23 Aug 2017 05:00:46 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7Fdv8O2fYWQM2szmHAakMU4wAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.5 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) * gnu/packages/web.scm (linkchecker): New variable. --- gnu/packages/web.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 652eb6792..8116b2fd5 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4979,3 +4979,43 @@ websites lacking feeds. Supported websites include = Facebook, Twitter, Instagram and YouTube.") (license (list l:public-domain l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php + +(define-public linkchecker + (package + (name "linkchecker") + (version "9.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "LinkChecker" version)) + (sha256 + (base32 + "0v8pavf0bx33xnz1kwflv0r7lxxwj7vg3syxhy2wzza0wh6sc2pf")))) + (build-system python-build-system) + (inputs + `(("python2-dnspython" ,python2-dnspython) + ("python2-requests" ,python2-requests))) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + ;; Remove faulty python-requests version check. This has been fix= ed + ;; upstream, and can be removed in version 9.4. + (add-after 'unpack 'remove-python-requests-version + (lambda _ + (substitute* "linkcheck/__init__.py" + (("requests.__version__ <=3D '2.2.0'") "False"))))))) + (home-page "https://linkcheck.github.io/linkchecker/") + (synopsis "Check websites for broken links") + (description "LinkChecker is a website validator. It checks for broke= n +links in websites. It is recursive and multithreaded providing output in +colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It +supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and loc= al +file links.") + (license (list l:gpl2+ + l:bsd-2 ; linkcheck/better_exchook2.py + l:bsd-3 ; linkcheck/colorama.py + l:psfl ; linkcheck/gzip2.py + l:expat ; linkcheck/mem.py + l:isc ; third_party/dnspython + l:asl2.0)))) ; third_party/miniboa --=20 2.13.4 = From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] Acknowledgement ([PATCH] gnu: Add linkchecker.) Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Aug 2017 23:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 27468@debbugs.gnu.org Received: via spool by 27468-submit@debbugs.gnu.org id=B27468.150344486717756 (code B ref 27468); Tue, 22 Aug 2017 23:35:02 +0000 Received: (at 27468) by debbugs.gnu.org; 22 Aug 2017 23:34:27 +0000 Received: from localhost ([127.0.0.1]:50082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkIgl-0004cK-LW for submit@debbugs.gnu.org; Tue, 22 Aug 2017 19:34:27 -0400 Received: from o129.p8.mailjet.com ([87.253.233.129]:35116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkIgj-0004cC-R6 for 27468@debbugs.gnu.org; Tue, 22 Aug 2017 19:34:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=23Iu/+baR7G7ZansTRNFjJ0PbYtxe0AFk7EZjOBUNUI=; b=cJxGh5fvy9mW3CVkUahGopp459uE4tehH4v/KsoiRq/JcGtqRmuruekDe 9wCnLSJGGb6uKqi3JLDIMxscow16m3S2QmJ0axRaYN65rVgm20+bqSnShrY3 6+/cJLvZJXMi0lNbjHeXiL09jo3BzzjeAQik0nA1/7wZ/3kUVv/KmA= Message-Id: MIME-Version: 1.0 From: Arun Isaac Date: Wed, 23 Aug 2017 05:04:09 +0530 In-reply-to: <2307d2c7.AEQAMFHh1HMAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZTbIA@mailjet.com> References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> <2307d2c7.AEQAMFHh1HMAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZTbIA@mailjet.com> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAOxXVZ3oAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL-BkczJKfAxR2O4W5jDQUreUQAFgUc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) This package seems to have fallen through the cracks. I just sent a new patch made against the latest master. > This package has bundled dependencies -- dnspython and miniboa -- under > "third_party/". They have been modified as described in > third_party/dnspython/changelog.txt and > third_party/miniboa-r42/CHANGES.txt respectively. Should I unbundle > these dependencies? If so, how do I handle the fact that the bundled > dependencies have been locally modified? I have raised the issue of unbundling with upstream. But, there has been no response after 10 days. https://github.com/wummel/linkchecker/issues/729 I recommend we don't unbundle anything on our own, and let upstream do their homework. WDYT? = From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] [PATCH] gnu: Add linkchecker. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Aug 2017 00:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac , 27468@debbugs.gnu.org Received: via spool by 27468-submit@debbugs.gnu.org id=B27468.150344658020257 (code B ref 27468); Wed, 23 Aug 2017 00:03:01 +0000 Received: (at 27468) by debbugs.gnu.org; 23 Aug 2017 00:03:00 +0000 Received: from localhost ([127.0.0.1]:50099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkJ8F-0005GW-TS for submit@debbugs.gnu.org; Tue, 22 Aug 2017 20:03:00 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkJ8C-0005GL-RT for 27468@debbugs.gnu.org; Tue, 22 Aug 2017 20:02:49 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BCD1E20A9E; Tue, 22 Aug 2017 20:02:48 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 22 Aug 2017 20:02:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=2lPZ4vDDnm6JWmlkjLLzIn9VnjIVBgE+EI7OjnDB9 rs=; b=Jk0MD+p8Ol022jBW8ApSkqH86R32zOiSrtg3hCAekSxmAgcbj3NIJCBCh PCHEUUTssj944lmomUKJIsIU7r+EIfatiZ4XVah/q0nqyhUc4Xxff3Ni/oDDVDqV RXFO+IaA5WrgVE2RQhwCQrFma+SbREXneo6/TTHnMIwUJEQZJVsn2LbD3UCF7QUB C0koG9leRIsV6HSzkqBXo8jyJItk9/hOw6y9bPg/OCSx7L/o6jyZ/82Ue8u0sl73 ufGswl8OUKeCamNNfH4rT9bgUiCr7gEgNRw22ZaA+qOVk0DkeyGgVABvuaBuiZr3 rkkkgNli/3zqeYClhRJZSzcwoqICg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=2lPZ4vDDnm6JWmlkjL LzIn9VnjIVBgE+EI7OjnDB9rs=; b=BM1r+71Px2X2uKnB6rqFAY5s/rm/BcVLd7 obqY6Ru0C5NRrqfIB90OoBrhsdA2IIednM9bB1DDmq7kq1M85EGIJ3zHyxjuuG8b d1lcJgnrBXrEuhktQwSP86sFdlBYdULaucNu+SwZ/ZT1FLbkuX/fXmpEkuEA9i+T APCKw3NYhxPRlqmKnQg8T0U2ZVheybD+pWnuIIaYtsubO+vqIzFB4FjMC6oMvDgb wcNhmnCZUau3hxBI45c7rhWldjGqpDPOgaAktfrIQ8L/4SbzFdQbnmqLC2PBDR9p VFfbOcS60c6z4Yq6gHQayAbkFelpKyi1N7+0a0oqt6uf0G1cdi0w== X-ME-Sender: X-Sasl-enc: w1zPQfMnuXE62SuiZWcy3F9VKkWFpKZW9322qabEvniv 1503446568 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 4ED9F247A2; Tue, 22 Aug 2017 20:02:48 -0400 (EDT) From: Marius Bakke In-Reply-To: <4cc366f5.AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7F@mailjet.com> References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> <4cc366f5.AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7F@mailjet.com> User-Agent: Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Wed, 23 Aug 2017 02:02:46 +0200 Message-ID: <87y3qb1789.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Arun Isaac writes: > * gnu/packages/web.scm (linkchecker): New variable. [...] > + (modify-phases %standard-phases > + ;; Remove faulty python-requests version check. This has been fixed > + ;; upstream, and can be removed in version 9.4. > + (add-after 'unpack 'remove-python-requests-version > + (lambda _ > + (substitute* "linkcheck/__init__.py" > + (("requests.__version__ <= '2.2.0'") "False"))))))) Please end this phase on a #t since (substitute* ...) has an unspecified return value. > + (home-page "https://linkcheck.github.io/linkchecker/") > + (synopsis "Check websites for broken links") > + (description "LinkChecker is a website validator. It checks for broken > +links in websites. It is recursive and multithreaded providing output in > +colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It > +supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local > +file links.") > + (license (list l:gpl2+ > + l:bsd-2 ; linkcheck/better_exchook2.py > + l:bsd-3 ; linkcheck/colorama.py > + l:psfl ; linkcheck/gzip2.py > + l:expat ; linkcheck/mem.py > + l:isc ; third_party/dnspython > + l:asl2.0)))) ; third_party/miniboa Is it possible to remove these third party libraries and use packaged copies instead? At least 'dnspython' is already in Guix. Also, since GPL2+ is stricter than the other licenses, the program as a whole is effectively GPL2+, so we don't really need to mention those one-off source files in the license field (but comments are great). Not sure about the 3rd party bundles though, since they probably don't depend on anything from the GPL2+ distribution. If they are installed, I guess we should mention them with a FIXME. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmcxiYACgkQoqBt8qM6 VPqjNAf7B3d9d+KE/00Chcqqvq/VqDLUO/EQKtvgf/xEtDauK5VukEwXiJYSPqes Hrl5p1xfVB4DT1fOp+9qhbz8esbtQPKLDptvI1wv4Y+7LAI0hpdiNdr+h06OcsZl t6iZEFWIsDTbwIBuIdmUcSin2E9sd0pFlym2K3R8Px3c0N04o3nWqk37U27UTrXN iBnx2ct5ozpTvu3bUkNsG4u4f4f7mfnYV20o/YwWKLN4JQwx6npV/x33ha1+i2nP E63vg9Ch5eDMfwkY+DHkk5117tAb3nb8d3m3QB3shzugcfK8SOZEKqO9b8lEiRES h5nmGhxGP5A435A02sVPF1LsUnfkWA== =o635 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] Acknowledgement ([PATCH] gnu: Add linkchecker.) Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Aug 2017 00:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac , 27468@debbugs.gnu.org Received: via spool by 27468-submit@debbugs.gnu.org id=B27468.150344704320897 (code B ref 27468); Wed, 23 Aug 2017 00:11:01 +0000 Received: (at 27468) by debbugs.gnu.org; 23 Aug 2017 00:10:43 +0000 Received: from localhost ([127.0.0.1]:50105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkJFr-0005Qz-4N for submit@debbugs.gnu.org; Tue, 22 Aug 2017 20:10:43 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:49449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkJFp-0005Qn-BR for 27468@debbugs.gnu.org; Tue, 22 Aug 2017 20:10:41 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3E956208C6; Tue, 22 Aug 2017 20:10:41 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 22 Aug 2017 20:10:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=M3Vh3p+tNGPi3Zufg3q9apoK6SMNH5YYE2nw/tkTg Hc=; b=1a4QPjkAtdsd1PdAt8Vcr6SLpGDURjii/sMAyLzbSyNonvjOvvVge0Zs0 XHDe817lXjNsXTKRdilK71hDVpn7+Hz/4Pq1WcT3pC2SiD3qeQpyo9XG1BoClrlC svnH5nV9y4HMDp5jBPDcYotK1XGMdd+kTLANw2cW5/0kQuUVAm7nVMHZc5RxGM2e Xs61AIxX7pwviDcG/7tPsh59xx4lksFr966La4m/fkQmK2nDsOJbEX3XyP1TUmKn 8lETVl+K5wJ0mcSSnt5M1ZVtxQw7ennIJTweMPfLDIEb8QDycEb/J0xjdw1jMGm5 79gIezjMcdQkw9+nxkxU3wNAn1hrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=M3Vh3p+tNGPi3Zufg3 q9apoK6SMNH5YYE2nw/tkTgHc=; b=as7X1F84EAs+pYEen6t3HEE1x4VBnoiBx9 d2Cf293nm0V1crsY8wF20p80Du8DBJ9JCYsEgtEu0I8PXPuQdqV/XcbTsK3GCrkt yioRR0z1iXEKL+XAsTQUIXi0ZKRMWkCARBWnyGwXQPDAPG5ViG07a16k2COjg8fP +/hVwEoZFR075qycnIu6gEraNkvnXbyN7x/9LEM8mVKNvpDAjZw0D98L1YlQ13Gy wjZprQOYfhcUmF+O9P4rYs+any6Zr8/HwVXnY5NWesulk9kIsYHbWTNnSgh9qUYb Jm+9yAqdqYXofL8NmkZumTYddW2Y76c8c0U3XxCkjsXkpX1DFekw== X-ME-Sender: X-Sasl-enc: RKTCQrvP4eq5ZYnwruYwQj2qcn+i2H66s6492wW1wQ1a 1503447040 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id C461F246D5; Tue, 22 Aug 2017 20:10:40 -0400 (EDT) From: Marius Bakke In-Reply-To: References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> <2307d2c7.AEQAMFHh1HMAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZTbIA@mailjet.com> User-Agent: Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Wed, 23 Aug 2017 02:10:39 +0200 Message-ID: <87valf16v4.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Arun Isaac writes: > This package seems to have fallen through the cracks. I just sent a new > patch made against the latest master. > >> This package has bundled dependencies -- dnspython and miniboa -- under >> "third_party/". They have been modified as described in >> third_party/dnspython/changelog.txt and >> third_party/miniboa-r42/CHANGES.txt respectively. Should I unbundle >> these dependencies? If so, how do I handle the fact that the bundled >> dependencies have been locally modified? > > I have raised the issue of unbundling with upstream. But, there has been > no response after 10 days. > > https://github.com/wummel/linkchecker/issues/729 > > I recommend we don't unbundle anything on our own, and let upstream do > their homework. WDYT? Sounds reasonable. Can you add this URL in a comment somewhere? LGTM apart from the cosmetic issues raised in the other message. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmcx/8ACgkQoqBt8qM6 VPoTTQf7Bb1HrrC2wi3k5mBUVWazEWcSlZl22BjWDUNSufuQYNbC0/Z6J7A2XOmP Nn1IxACHv11P5layqbbYeGKCSguyijIMnJNroIgbW/oK7KuXpb+fcSgIwOLsovDd KSFNOpPxSew6ED/uHIO6IIbKTKZvRzUhzF+99ngg9Z39CsKlMPZ++AAhLVBtmpe+ +4Xbmrzeg3P/w0YR9g+28xP5XufXGHbPlSUeSQ/qGK7dFyab922ljmp8Fn4eHiqM 64NKac1TvbWnoWhCfrFEfy1GHEd5Tfu4SVY3i+TBbPTR2X44We0AfutyDPPJbt2i 8LAKUhLKrPGNeofJhofBu67O27Rceg== =xTJe -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] [PATCH] gnu: Add linkchecker. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Aug 2017 07:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 27468@debbugs.gnu.org Received: via spool by 27468-submit@debbugs.gnu.org id=B27468.150347320127818 (code B ref 27468); Wed, 23 Aug 2017 07:27:02 +0000 Received: (at 27468) by debbugs.gnu.org; 23 Aug 2017 07:26:41 +0000 Received: from localhost ([127.0.0.1]:50262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkQ3g-0007EX-70 for submit@debbugs.gnu.org; Wed, 23 Aug 2017 03:26:41 -0400 Received: from o124.p8.mailjet.com ([87.253.233.124]:33140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <9da8cde7.AEEAPL4o3uAAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnS4m@bnc3.mailjet.com>) id 1dkQ3b-0007EL-Cn for 27468@debbugs.gnu.org; Wed, 23 Aug 2017 03:26:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type; bh=yUjzQazt0cG5b4bqy3OrmGk0TUF9ttCUkmi7aMxl0JM=; b=Q0U1/oDTGazVl1fj7DHxJyi4Qq9zQPoGHgUY+sOjiWVWBBUVNcTeDwZyk iAEzvEEK6dv/YUdOuEy7BzXPbWpvWcL4WeZQGqL7+arIHwxOBdroVB05Ixrl GVl+agxo65SXFaYv/4mPgJ6/SJoeOs4Uv9sm2V9WOGcoNXVIWDTSUE= Message-Id: <9da8cde7.AEEAPL4o3uAAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnS4m@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Wed, 23 Aug 2017 12:56:14 +0530 In-reply-to: <87y3qb1789.fsf@fastmail.com> References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> <4cc366f5.AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7F@mailjet.com> <87y3qb1789.fsf@fastmail.com> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEAPL4o3uAAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnS4mKfoLQnmWTvC-tIU3OrIJOAAFgUc Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: >> + (modify-phases %standard-phases >> + ;; Remove faulty python-requests version check. This has been = fixed >> + ;; upstream, and can be removed in version 9.4. >> + (add-after 'unpack 'remove-python-requests-version >> + (lambda _ >> + (substitute* "linkcheck/__init__.py" >> + (("requests.__version__ <=3D '2.2.0'") "False"))))))) > > Please end this phase on a #t since (substitute* ...) has an unspecified > return value. Done. >> + (license (list l:gpl2+ >> + l:bsd-2 ; linkcheck/better_exchook2.py >> + l:bsd-3 ; linkcheck/colorama.py >> + l:psfl ; linkcheck/gzip2.py >> + l:expat ; linkcheck/mem.py >> + l:isc ; third_party/dnspython >> + l:asl2.0)))) ; third_party/miniboa > > Is it possible to remove these third party libraries and use packaged > copies instead? At least 'dnspython' is already in Guix. linkchecker is using a modified version of dnspython and miniboa. So, I don't think it will be easy. For a list of modifications, look at https://github.com/wummel/linkchecker/blob/master/third_party/dnspython/cha= ngelog.txt and https://github.com/wummel/linkchecker/blob/master/third_party/miniboa-r= 42/CHANGES.txt > Also, since GPL2+ is stricter than the other licenses, the program as a > whole is effectively GPL2+, so we don't really need to mention those > one-off source files in the license field (but comments are great). But, we generally don't hide this information from the user, right? Many Guix packages have licenses of even single files mentioned in the `license' field. Do you still think I should remove them? > Not sure about the 3rd party bundles though, since they probably don't > depend on anything from the GPL2+ distribution. If they are installed, > I guess we should mention them with a FIXME. I've added a FIXME. I'm attaching a new patch with the discussed changes. Do let me know if everything looks good. = --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-linkchecker.patch >From 63f4192ff8ed7341767797f4ca67ab87773e2338 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 24 Jun 2017 05:37:45 +0530 Subject: [PATCH] gnu: Add linkchecker. * gnu/packages/web.scm (linkchecker): New variable. --- gnu/packages/web.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 652eb6792..68a9c2302 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4979,3 +4979,47 @@ websites lacking feeds. Supported websites include Facebook, Twitter, Instagram and YouTube.") (license (list l:public-domain l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php + +(define-public linkchecker + (package + (name "linkchecker") + (version "9.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "LinkChecker" version)) + (sha256 + (base32 + "0v8pavf0bx33xnz1kwflv0r7lxxwj7vg3syxhy2wzza0wh6sc2pf")))) + (build-system python-build-system) + (inputs + `(("python2-dnspython" ,python2-dnspython) + ("python2-requests" ,python2-requests))) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + ;; Remove faulty python-requests version check. This has been fixed + ;; upstream, and can be removed in version 9.4. + (add-after 'unpack 'remove-python-requests-version + (lambda _ + (substitute* "linkcheck/__init__.py" + (("requests.__version__ <= '2.2.0'") "False")) + #t))))) + (home-page "https://linkcheck.github.io/linkchecker") + (synopsis "Check websites for broken links") + (description "LinkChecker is a website validator. It checks for broken +links in websites. It is recursive and multithreaded providing output in +colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It +supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local +file links.") + (license (list l:gpl2+ + l:bsd-2 ; linkcheck/better_exchook2.py + l:bsd-3 ; linkcheck/colorama.py + l:psfl ; linkcheck/gzip2.py + l:expat ; linkcheck/mem.py + ;; FIXME: Unbundle dnspython and miniboa + ;; This issue has been raised upstream + ;; https://github.com/wummel/linkchecker/issues/729 + l:isc ; third_party/dnspython + l:asl2.0)))) ; third_party/miniboa -- 2.13.4 --=-=-=-- From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] [PATCH] gnu: Add linkchecker. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Aug 2017 07:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 27468@debbugs.gnu.org Received: via spool by 27468-submit@debbugs.gnu.org id=B27468.150347366228551 (code B ref 27468); Wed, 23 Aug 2017 07:35:01 +0000 Received: (at 27468) by debbugs.gnu.org; 23 Aug 2017 07:34:22 +0000 Received: from localhost ([127.0.0.1]:50267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkQB7-0007QM-Bk for submit@debbugs.gnu.org; Wed, 23 Aug 2017 03:34:22 -0400 Received: from o129.p8.mailjet.com ([87.253.233.129]:37372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <72b148e8.AEEAPL5R1PEAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnS_0@bnc3.mailjet.com>) id 1dkQB3-0007Q9-GH for 27468@debbugs.gnu.org; Wed, 23 Aug 2017 03:34:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type; bh=sBer1adtYCMaagzGrd8e9Qgk6Sf191TqgXlrJIFrN8M=; b=JHAKupdMRadXJJC+OvplxaIAttUifjpfF8FqeBYPt/qxynpwzZC3DvsoS uZjU1jU7OnrOBPtH63evQLjoHd+U0FjiBwwEXXrLVFZI1+c3FzibeSAhvxm8 44q5oaRh4tAVyQp1oLk4AHY/97L9kJu3TiJFRrsvvglrlKZmVZRUyw= Message-Id: <72b148e8.AEEAPL5R1PEAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnS_0@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Wed, 23 Aug 2017 13:03:49 +0530 In-reply-to: <9da8cde7.AEEAPL4o3uAAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnS4m@mailjet.com> References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> <4cc366f5.AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7F@mailjet.com> <87y3qb1789.fsf@fastmail.com> <9da8cde7.AEEAPL4o3uAAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnS4m@mailjet.com> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEAPL5R1PEAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnS_0FyKr66hDTWa55S1PjJO5cQAFgUc Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Actually, if dnspython is currently bundled in linkchecker, there is no need to have it in `inputs'. Attached is a patch with this change. = --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-linkchecker.patch >From bc092d955c8939bcf965cd3a92810e423c516fc5 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 24 Jun 2017 05:37:45 +0530 Subject: [PATCH] gnu: Add linkchecker. * gnu/packages/web.scm (linkchecker): New variable. --- gnu/packages/web.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 652eb6792..7f4a514db 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4979,3 +4979,46 @@ websites lacking feeds. Supported websites include Facebook, Twitter, Instagram and YouTube.") (license (list l:public-domain l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php + +(define-public linkchecker + (package + (name "linkchecker") + (version "9.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "LinkChecker" version)) + (sha256 + (base32 + "0v8pavf0bx33xnz1kwflv0r7lxxwj7vg3syxhy2wzza0wh6sc2pf")))) + (build-system python-build-system) + (inputs + `(("python2-requests" ,python2-requests))) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + ;; Remove faulty python-requests version check. This has been fixed + ;; upstream, and can be removed in version 9.4. + (add-after 'unpack 'remove-python-requests-version + (lambda _ + (substitute* "linkcheck/__init__.py" + (("requests.__version__ <= '2.2.0'") "False")) + #t))))) + (home-page "https://linkcheck.github.io/linkchecker") + (synopsis "Check websites for broken links") + (description "LinkChecker is a website validator. It checks for broken +links in websites. It is recursive and multithreaded providing output in +colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It +supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local +file links.") + (license (list l:gpl2+ + l:bsd-2 ; linkcheck/better_exchook2.py + l:bsd-3 ; linkcheck/colorama.py + l:psfl ; linkcheck/gzip2.py + l:expat ; linkcheck/mem.py + ;; FIXME: Unbundle dnspython and miniboa + ;; This issue has been raised upstream + ;; https://github.com/wummel/linkchecker/issues/729 + l:isc ; third_party/dnspython + l:asl2.0)))) ; third_party/miniboa -- 2.13.4 --=-=-=-- From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] [PATCH] gnu: Add linkchecker. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Aug 2017 17:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Cc: 27468@debbugs.gnu.org Received: via spool by 27468-submit@debbugs.gnu.org id=B27468.150359661023775 (code B ref 27468); Thu, 24 Aug 2017 17:44:01 +0000 Received: (at 27468) by debbugs.gnu.org; 24 Aug 2017 17:43:30 +0000 Received: from localhost ([127.0.0.1]:53090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkwA9-0006BJ-A4 for submit@debbugs.gnu.org; Thu, 24 Aug 2017 13:43:29 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkwA7-0006BB-2M for 27468@debbugs.gnu.org; Thu, 24 Aug 2017 13:43:23 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8EBDC20DE5; Thu, 24 Aug 2017 13:43:22 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 24 Aug 2017 13:43:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=F4nW7urB4cNSn6gVXqlDwN9CUjYvbgVT2DGcObfSp QY=; b=s8eJCoYRNPspZhjBYYS02umxMwK74w/dsIFnpbbm6kURlnnpJrpXItgMh S+Y8oO8l36092MHBK5p5H4zIUtntxsf2ZuienlU/ZGGHv8M/41mZXHQzMIFj/C4t Eiihd3+g9LFIJMTVOQO4jjUMwEjgjxalHbqJrm6ri97Y/XzpHIkKGzD32f+G37a7 qBOmL2apqOPvspeBX0bDIRymPm4umbjjAjLGhtnF+o1GXGQgk55a1Rb5/OTaScPf LOdl/uF4xH+iq0zQ0/XDsVhc/MF4T04XnDrvvF50C+wx2F+WAuoP8u5/QDojErK9 n+kcnzct+fG8MzQIn1Bd48WjIs5SA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=F4nW7urB4cNSn6gVXq lDwN9CUjYvbgVT2DGcObfSpQY=; b=K32VGHcJMg09gz2nAr8rXI5ZYPXizWv8iE ERH8vHVh9e15EMuXBZ0JiKKxUix+rsJMQ0TUkzsn1kki3iZmPeLSArNuR/IF6NMo Er+wd76fxBFe7KRlQViB2rjigBVcm6T3Zr6v5sCTgYsgwyDhLKXyUUat6ZD7xG9d a7hA7GVIyNuazK56VyfBwtp0NjkltpVBgPN/at0GSBeo/FYGyaQUiWCTLHU3A8zx qDoUA4UQWfXNKGl5/g7LtkADO8SbDU2ggkf6r6zjJOcn18ewpfGgUeHZ2iiWMcpq MjyN5yqiT9QGQaIWmTNrceCZRalJd0YykwiLrHMI/BmipiBo20KA== X-ME-Sender: X-Sasl-enc: ebSYc4tWp0OSaT6lTLc+2uVoB/nKpeY+H7GpLUVd7hoN 1503596602 Received: from localhost (unknown [92.62.32.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 14E2F7F028; Thu, 24 Aug 2017 13:43:21 -0400 (EDT) From: Marius Bakke In-Reply-To: <4a4f0a8d.AEEAPL4o3uEAAAAAAAAAAAPFd4cAAAACwQwAAAAAAAW9WABZnS4m@mailjet.com> References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> <4cc366f5.AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7F@mailjet.com> <87y3qb1789.fsf@fastmail.com> <4a4f0a8d.AEEAPL4o3uEAAAAAAAAAAAPFd4cAAAACwQwAAAAAAAW9WABZnS4m@mailjet.com> User-Agent: Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Thu, 24 Aug 2017 19:43:19 +0200 Message-ID: <87pobk2760.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Arun Isaac writes: >>> + (license (list l:gpl2+ >>> + l:bsd-2 ; linkcheck/better_exchook2.py >>> + l:bsd-3 ; linkcheck/colorama.py >>> + l:psfl ; linkcheck/gzip2.py >>> + l:expat ; linkcheck/mem.py >>> + l:isc ; third_party/dnspython >>> + l:asl2.0)))) ; third_party/miniboa >> >> Is it possible to remove these third party libraries and use packaged >> copies instead? At least 'dnspython' is already in Guix. > > linkchecker is using a modified version of dnspython and miniboa. So, I > don't think it will be easy. For a list of modifications, look at > https://github.com/wummel/linkchecker/blob/master/third_party/dnspython/changelog.txt > and https://github.com/wummel/linkchecker/blob/master/third_party/miniboa-r42/CHANGES.txt OK, thanks for checking. >> Also, since GPL2+ is stricter than the other licenses, the program as a >> whole is effectively GPL2+, so we don't really need to mention those >> one-off source files in the license field (but comments are great). > > But, we generally don't hide this information from the user, right? Many > Guix packages have licenses of even single files mentioned in the > `license' field. Do you still think I should remove them? I don't know :-) Licensing is a tricky topic. The GPL is rather explicit in that it covers the "program as a whole". If we treat individual parts differently, it may be misleading to the end user. OTOH, the GPL permits using those source files individually under their own terms. Perhaps the most practical solution would be to add a "supplementary licenses" interface... I am not a lawyer, so please use your own judgement. No strong opinion either way. :-) >> Not sure about the 3rd party bundles though, since they probably don't >> depend on anything from the GPL2+ distribution. If they are installed, >> I guess we should mention them with a FIXME. > > I've added a FIXME. > > I'm attaching a new patch with the discussed changes. Do let me know if > everything looks good. LGTM! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmfEDgACgkQoqBt8qM6 VPp6OQgAoBMhWbXcmNy7rFU7AM/cT4ohOMjQu+8fh7x/3xnzPmwFkzn+r8J6E46H 8hdWByvHnprNBj8NhIlRi/E4oLe3WF6Gl28DnVq7zNI9QYaYldKPl3VdVpU1ZVbN YKiLSpGiD85b9cSijsr30880qone0qWeSpeoAPqqCBIM9J4BxBU5zwviB8w4TP1D 59yZueXCZgodiGjm9tJITuwjgGyl6o+wa8Csyby/Qgll0nFyhaoIEPHB33+cwuZ6 RcUTwWPDjAUQr/WqPzwAO/hZc7GSwoUgK/mcfg5i3U/O71mKq470+tc4l/Am1dhr 0AQPq3XVhMcQmVhbYuwljgrvQ3nmjA== =ex0t -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Aug 15 19:36:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27468] [PATCH] gnu: Add linkchecker. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Aug 2017 07:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 27468@debbugs.gnu.org Received: via spool by 27468-submit@debbugs.gnu.org id=B27468.150373338327077 (code B ref 27468); Sat, 26 Aug 2017 07:44:02 +0000 Received: (at 27468) by debbugs.gnu.org; 26 Aug 2017 07:43:03 +0000 Received: from localhost ([127.0.0.1]:55839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlVkE-00072f-Ty for submit@debbugs.gnu.org; Sat, 26 Aug 2017 03:43:03 -0400 Received: from o178.p8.mailjet.com ([87.253.233.178]:45513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <14857a52.AEAAO8NY76EAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZoSZK@bnc3.mailjet.com>) id 1dlVkC-00072E-RT for 27468@debbugs.gnu.org; Sat, 26 Aug 2017 03:43:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=8FGW7MqTy6TnvYtZeg44f7rpeyR5MOGTYsGjrdDuGeU=; b=aDkn9CYjlTygV6+SvB12d4IG9/81UvyI6ewtv2bqz84t13vSHxZOzLknH YqK0BfxYe5zQVYOkF+95AZmstBMyj7VtB4UES/4Bm14iO/AVpi781D+ivzb8 Wh1LiA4DII4xDdyhsVLYODFtnj/q3OwtECjhRvctokAEBsgwi6SMF0= Message-Id: <14857a52.AEAAO8NY76EAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZoSZK@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Sat, 26 Aug 2017 13:11:42 +0530 In-reply-to: <87pobk2760.fsf@fastmail.com> References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> <4cc366f5.AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7F@mailjet.com> <87y3qb1789.fsf@fastmail.com> <4a4f0a8d.AEEAPL4o3uEAAAAAAAAAAAPFd4cAAAACwQwAAAAAAAW9WABZnS4m@mailjet.com> <87pobk2760.fsf@fastmail.com> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAO8NY76EAAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZoSZKAOAb6lhwSe2vO54lyRmd4gAFgUc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >>> Also, since GPL2+ is stricter than the other licenses, the program as a >>> whole is effectively GPL2+, so we don't really need to mention those >>> one-off source files in the license field (but comments are great). >> >> But, we generally don't hide this information from the user, right? Many >> Guix packages have licenses of even single files mentioned in the >> `license' field. Do you still think I should remove them? > > I don't know :-) Licensing is a tricky topic. The GPL is rather > explicit in that it covers the "program as a whole". If we treat > individual parts differently, it may be misleading to the end user. > > OTOH, the GPL permits using those source files individually under their > own terms. Perhaps the most practical solution would be to add a > "supplementary licenses" interface... > > I am not a lawyer, so please use your own judgement. No strong opinion > either way. :-) I'm confused too. So, I have escalated this question to guix-devel. Let's see what others have to say. = From unknown Fri Aug 15 19:36:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Arun Isaac Subject: bug#27468: closed (Re: [bug#27468] [PATCH] gnu: Add linkchecker.) Message-ID: References: <6054e195.AEAAPJszFIMAAAAAAAAAAAPmRJEAAAACwQwAAAAAAAW9WABZpml6@mailjet.com> <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> X-Gnu-PR-Message: they-closed 27468 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 27468@debbugs.gnu.org Date: Wed, 30 Aug 2017 07:31:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1504078262-10391-1" This is a multi-part message in MIME format... ------------=_1504078262-10391-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27468: [PATCH] gnu: Add linkchecker. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27468@debbugs.gnu.org. --=20 27468: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27468 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1504078262-10391-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27468-done) by debbugs.gnu.org; 30 Aug 2017 07:30:05 +0000 Received: from localhost ([127.0.0.1]:33230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmxRt-0002fW-HQ for submit@debbugs.gnu.org; Wed, 30 Aug 2017 03:30:05 -0400 Received: from o122.p8.mailjet.com ([87.253.233.122]:56338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <6054e195.AEAAPJszFIMAAAAAAAAAAAPmRJEAAAACwQwAAAAAAAW9WABZpml6@bnc3.mailjet.com>) id 1dmxRr-0002fM-HI for 27468-done@debbugs.gnu.org; Wed, 30 Aug 2017 03:30:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=q92YyPJ2cCpXI9nP0quhP+fk8cD/3ReAZ/W8R7oVpMI=; b=cNWA6tB0y+7BxIglSUfjT8Y8PDL4UFrwAQvmgTh6GWMvmcgWNnZ7EC85u GZNPka96JTC669bydvqPWoTKl3RXXhgkGbGRRYia8MZwie4lAFs/q1C2mg3Y ey7yngBvFedaxtpg1GI9lvSImfslJlD8jGbXlM2ZiX3dQRdcDZZ7Kg= Message-Id: <6054e195.AEAAPJszFIMAAAAAAAAAAAPmRJEAAAACwQwAAAAAAAW9WABZpml6@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: Marius Bakke Subject: Re: [bug#27468] [PATCH] gnu: Add linkchecker. Date: Wed, 30 Aug 2017 12:59:30 +0530 In-reply-to: <87pobk2760.fsf@fastmail.com> References: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> <4cc366f5.AEMAO2lAou4AAAAAAAAAAAPNQHwAAAACwQwAAAAAAAW9WABZnL7F@mailjet.com> <87y3qb1789.fsf@fastmail.com> <4a4f0a8d.AEEAPL4o3uEAAAAAAAAAAAPFd4cAAAACwQwAAAAAAAW9WABZnS4m@mailjet.com> <87pobk2760.fsf@fastmail.com> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEAAPJszFIMAAAAAAAAAAAPmRJEAAAACwQwAAAAAAAW9WABZpml64HdO3nH3Q0KrnvFg5ax-9QAFgUc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 27468-done Cc: 27468-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Pushed! Thanks for the review! = ------------=_1504078262-10391-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Jun 2017 00:18:28 +0000 Received: from localhost ([127.0.0.1]:34926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOYmM-00083r-QR for submit@debbugs.gnu.org; Fri, 23 Jun 2017 20:18:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYmK-00083d-Vy for submit@debbugs.gnu.org; Fri, 23 Jun 2017 20:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYmE-0008NR-J7 for submit@debbugs.gnu.org; Fri, 23 Jun 2017 20:18:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59474) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYmE-0008NK-G0 for submit@debbugs.gnu.org; Fri, 23 Jun 2017 20:18:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYmD-000343-67 for guix-patches@gnu.org; Fri, 23 Jun 2017 20:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYm9-0008MC-2R for guix-patches@gnu.org; Fri, 23 Jun 2017 20:18:13 -0400 Received: from o166.p8.mailjet.com ([87.253.233.166]:44333) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@bnc3.mailjet.com>) id 1dOYm8-0008Lj-R6 for guix-patches@gnu.org; Fri, 23 Jun 2017 20:18:09 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:from:to:subject:date:list-unsubscribe:cc:x-csa-complaints: x-mj-mid:mime-version:content-transfer-encoding; bh=SPNTTRqUhUsquuJip+Z1ZUlmGL0=; b=bsA/FoZggCwRXAg/Tu9fczjTkZpSxTGMoGhSNrDJB/XaS4Yt2znQeMGGC rxp2Ff5z6iU+RyKftatJURa5i/QNQ5IpLGDrlVOiAMgJ8a7vJ5g+IEyDZlSk /xQyCUyAyvcvOrdG1MzQ77/zce1b/DVBO8hYzSa5IZfdxY+/guOyZI= Message-Id: <7a5dc060.AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9@mailjet.com> From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH] gnu: Add linkchecker. Date: Sat, 24 Jun 2017 05:47:40 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAMFHLF6MAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZTa-9a7xFhZxQRuyx8SdrJK3WGgAFgUc MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) * gnu/packages/web.scm (linkchecker): New variable. --- gnu/packages/web.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 3625a1034..81bee1ec9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4674,3 +4674,43 @@ message stream (in a web server that is per connecti= on).") (description "@code{httpretty} is a helper for faking web requests, inspired by Ruby's @code{fakeweb}.") (license l:expat))) + +(define-public linkchecker + (package + (name "linkchecker") + (version "9.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "LinkChecker" version)) + (sha256 + (base32 + "0v8pavf0bx33xnz1kwflv0r7lxxwj7vg3syxhy2wzza0wh6sc2pf")))) + (build-system python-build-system) + (inputs + `(("python2-dnspython" ,python2-dnspython) + ("python2-requests" ,python2-requests))) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + ;; Remove faulty python-requests version check. This has been fix= ed + ;; upstream, and can be removed in version 9.4. + (add-after 'unpack 'remove-python-requests-version + (lambda _ + (substitute* "linkcheck/__init__.py" + (("requests.__version__ <=3D '2.2.0'") "False"))))))) + (home-page "https://linkcheck.github.io/linkchecker/") + (synopsis "Check websites for broken links") + (description "LinkChecker is a website validator. It checks for broke= n +links in websites. It is recursive and multithreaded providing output in +colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It +supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and loc= al +file links.") + (license (list l:gpl2+ + l:bsd-2 ; linkcheck/better_exchook2.py + l:bsd-3 ; linkcheck/colorama.py + l:psfl ; linkcheck/gzip2.py + l:expat ; linkcheck/mem.py + l:isc ; third_party/dnspython + l:asl2.0)))) ; third_party/miniboa --=20 2.12.2 = ------------=_1504078262-10391-1--