guix_mirror_bot pushed a commit to branch master
in repository guix.

commit b31de4d4d7ec5199c4f5923a96a3e9cced8c2507
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jul 22 01:21:52 2025 +0200

    gnu: python-args: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-args):
    [arguments]<#:phases>: Remove 'check phase replacement.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools, python-wheel.
    
    Change-Id: Ia25eae40725adadce182cbdb5e874dd7352e4d35
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 03ffbea491..6bf0095fcc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20136,18 +20136,14 @@ minimal and fast API targeting the following uses:
                 (sha256
                  (base32
                   "1zfxpbp9vldqdrjmd0c6y3wisl35mx5v8zlyp3nhwpy1730wrc9j"))))
-      (build-system python-build-system)
+      (build-system pyproject-build-system)
       (arguments
        `(#:phases (modify-phases %standard-phases
                     (add-after 'unpack 'patch-args.py
                       (lambda _
                         (substitute* "args.py"
-                          (("basestring") "str"))))
-                    (replace 'check
-                      (lambda* (#:key tests? #:allow-other-keys)
-                        (when tests?
-                          (invoke "nosetests" "-v")))))))
-      (native-inputs (list python-nose))
+                          (("basestring") "str")))))))
+      (native-inputs (list python-nose python-setuptools python-wheel))
       (synopsis "Command-line argument parser")
       (description
        "This library provides a Python module to parse command-line 
arguments.")

Reply via email to