[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests. |
Date: |
Thu, 21 Oct 2021 04:01:48 +0000 |
* gnu/packages/web.scm (python-feedparser)[arguments]: Remove
#:tests?. Override 'check phase.
---
gnu/packages/web.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 6a24cc8212..5afc6e8cec 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4775,7 +4775,13 @@ their web site.")
"0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
(build-system python-build-system)
(arguments
- '(#:tests? #f))
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "tests/runtests.py")))))))
(propagated-inputs
`(("python-sgmllib3k" ,python-sgmllib3k)))
(home-page
--
2.30.2
- [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers)., Vinicius Monego, 2021/10/20
- [bug#51314] [PATCH 01/29] gnu: Add python-filetype., Vinicius Monego, 2021/10/20
- [bug#51314] [PATCH 05/29] gnu: Add python-sarge., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 14/29] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests.,
Vinicius Monego <=
- [bug#51314] [PATCH 13/29] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 12/29] gnu: Add python-executing., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 20/29] gnu: python-pkginfo: Update to 1.7.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 06/29] gnu: Add python-pylru., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 09/29] gnu: Add python-pyscss., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 21/29] gnu: python-watchdog: Update to 0.10.7., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 15/29] gnu: Add python-sgmllib3k., Vinicius Monego, 2021/10/21