mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: python-feedparser: Enable tests.
* gnu/packages/web.scm (python-feedparser)[source]: Make some cosmetic changes. [arguments]: Remove #:tests?. Override 'check phase. [home-page]: Don't break line. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
3d2ea6a50b
commit
4e7fad9914
1 changed files with 11 additions and 6 deletions
|
@ -54,6 +54,7 @@
|
||||||
;;; Copyright © 2021 Jack Hill <jackhill@jackhill.us>
|
;;; Copyright © 2021 Jack Hill <jackhill@jackhill.us>
|
||||||
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||||
;;; Copyright © 2021 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
;;; Copyright © 2021 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
||||||
|
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -4621,15 +4622,19 @@ their web site.")
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "feedparser" version ".tar.gz"))
|
(uri (pypi-uri "feedparser" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
|
||||||
"0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-sgmllib3k))
|
(list python-sgmllib3k))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f))
|
`(#:phases
|
||||||
(home-page
|
(modify-phases %standard-phases
|
||||||
"https://github.com/kurtmckee/feedparser")
|
(replace 'check
|
||||||
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
|
(invoke "python" "tests/runtests.py")))))))
|
||||||
|
(home-page "https://github.com/kurtmckee/feedparser")
|
||||||
(synopsis "Parse feeds in Python")
|
(synopsis "Parse feeds in Python")
|
||||||
(description
|
(description
|
||||||
"Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
|
"Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
|
||||||
|
|
Loading…
Reference in a new issue