guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit cd92c5d55506464ee7c71255712864964d6a9e3a
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Sun Sep 21 00:26:54 2025 +0200

    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 <sharlata...@gmail.com>
---
 gnu/packages/python-web.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1b985b555f..1cba53b77c 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

Reply via email to