summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 16:13:41 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 20:51:51 +0000
commit71feb6e64c20fb6cf169cb3fc595bc309321949a (patch)
treecfa86a14babea2f99c68abf9b35ca4470bd1db8c /gnu
parent6a39270d9b1067cd5e888ab3aeba1779e657b27f (diff)
gnu: python-urlgrabber: Switch to pyproject.
* gnu/packages/python-web.scm (python-urlgrabber): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Adapt them. <#:tests?>: Disable them, as they silently fail. [native-inputs]: Add python-setuptools. Change-Id: Ie6827cf5d7d0594a88013747854ac1e1f4c5e591 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm18
1 files changed, 10 insertions, 8 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7cc645275dc..81baece9f25 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8626,15 +8626,17 @@ package from WTForms. The package has been renamed to
(uri (pypi-uri "urlgrabber" version))
(sha256
(base32 "0fg16zlw49cw7pjq9dhpc5vd35d5zz1mlki55m464qxfmfpzhnh7"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "test/runtests.py")))))))
+ (list
+ #:tests? #f ; Most tests require network access.
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "test/runtests.py")))))))
+ (native-inputs (list python-setuptools))
(propagated-inputs
(list python-pycurl python-setuptools python-six))
(home-page "http://urlgrabber.baseurl.org/") ; no HTTPS