guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f6f64eb6257f3f1b13019868281c28676cad9f98
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 23 18:19:38 2025 +0100

    gnu: python-path-and-address: Switch to pyproject.
    
    * gnu/packages/python-web.scm (python-path-and-address):
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Drop them.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I14f6c4acab48aeb3b788462e0d31783092faf1cf
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f625740b74..ef1ad3cd90 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9638,25 +9638,16 @@ with GitLab instances through their API.")
     (version "2.0.1")
     (source
      (origin
-       ;; The source distributed on PyPI doesn't include tests.
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/joeyespo/path-and-address";)
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0b0afpsaim06mv3lhbpm8fmawcraggc11jhzr6h72kdj1cqjk5h6"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (invoke "py.test"))))))
+        (base32 "0b0afpsaim06mv3lhbpm8fmawcraggc11jhzr6h72kdj1cqjk5h6"))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-pytest))
+     (list python-pytest python-setuptools))
     (home-page "https://github.com/joeyespo/path-and-address";)
     (synopsis "Functions for command-line server tools used by humans")
     (description "Path-and-address resolves ambiguities of command-line

Reply via email to