gnu: linkchecker: Update to 9.4.0.

* gnu/packages/web.scm (linkchecker): Update to 9.4.0.
[source]: Use GIT-FETCH.
[inputs]: Add python2-dnspython and python2-pyxdg.
[arguments]: Remove ‘remove-python-requests-version’ phase.
[license]: Remove licences of unbundled inputs.
This commit is contained in:
Tobias Geerinckx-Rice 2018-06-06 01:13:56 +02:00
parent fe04975281
commit 15dd85f0c3
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -73,6 +73,7 @@ (define-module (gnu packages web)
#:use-module (gnu packages databases) #:use-module (gnu packages databases)
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module (gnu packages flex) #:use-module (gnu packages flex)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages kerberos) #:use-module (gnu packages kerberos)
#:use-module (gnu packages gd) #:use-module (gnu packages gd)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
@ -5563,28 +5564,23 @@ (define-public rss-bridge
(define-public linkchecker (define-public linkchecker
(package (package
(name "linkchecker") (name "linkchecker")
(version "9.3") (version "9.4.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "LinkChecker" version)) (uri (git-reference
(url "https://github.com/linkchecker/linkchecker")
(commit (string-append "v" version))))
(sha256 (sha256
(base32 (base32
"0v8pavf0bx33xnz1kwflv0r7lxxwj7vg3syxhy2wzza0wh6sc2pf")))) "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
(build-system python-build-system) (build-system python-build-system)
(inputs (inputs
`(("python2-requests" ,python2-requests))) `(("python2-dnspython" ,python2-dnspython)
("python2-pyxdg" ,python2-pyxdg)
("python2-requests" ,python2-requests)))
(arguments (arguments
`(#:python ,python-2 `(#: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") (home-page "https://linkcheck.github.io/linkchecker")
(synopsis "Check websites for broken links") (synopsis "Check websites for broken links")
(description "LinkChecker is a website validator. It checks for broken (description "LinkChecker is a website validator. It checks for broken
@ -5593,15 +5589,10 @@ (define-public linkchecker
supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
file links.") file links.")
(license (list l:gpl2+ (license (list l:gpl2+
l:bsd-2 ; linkcheck/better_exchook2.py l:bsd-2 ; linkcheck/better_exchook2.py
l:bsd-3 ; linkcheck/colorama.py l:bsd-3 ; linkcheck/colorama.py
l:psfl ; linkcheck/gzip2.py l:psfl ; linkcheck/gzip2.py
l:expat ; linkcheck/mem.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
(define-public cadaver (define-public cadaver
(package (package