summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-21 00:26:54 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:40 +0100
commit7c42ac3c6a79ac0e23e10b91e88c59a7d4681669 (patch)
tree986a6b4e1fa2eba49ff275ba2f4e0b53ccafebd0 /gnu/packages/python-web.scm
parentf8d127eccf1db9d22f589e566a8aa968cf9518f7 (diff)
gnu: python-lazr-uri: Update to 1.0.7.
* gnu/packages/python-web.scm (python-lazr-uri): Update to 1.0.7. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Replace 'check phase. [native-inputs]: Add python-setuptools. Change-Id: I0f42d48935adb3bed8f02e3fdfe97b51a4aa48b0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm19
1 files changed, 14 insertions, 5 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1b985b555f1..1cba53b77c7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1039,15 +1039,24 @@ scripting Launchpad via its the web service API.")
(define-public python-lazr-uri
(package
(name "python-lazr-uri")
- (version "1.0.6")
+ (version "1.0.7")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "lazr.uri" version))
+ (uri (pypi-uri "lazr_uri" version))
(sha256
- (base32 "0r44rw0bj5mayhqwfwj1dnrjgzj1lrh7ishiddd1vygnrczqa9jh"))))
- (build-system python-build-system)
- (native-inputs (list python-zope-testrunner))
+ (base32 "1vm34pw8fksc6m8fnqwh215sqdlw546cxcdga93i2l746grzc37d"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (invoke "zope-testrunner" "--test-path=src")
+ (format #t "test suite not run~%")))))))
+ (native-inputs (list python-setuptools python-zope-testrunner))
(home-page "https://launchpad.net/lazr.uri")
(synopsis "Python URI manipulation library")
(description "This Python package provides a self-contained, easily