guix_mirror_bot pushed a commit to branch master
in repository guix.

commit b5bfa1369afc49db1cd7dd8bcaba4cd788f1714a
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Oct 23 22:07:07 2025 +0200

    gnu: python-slugid: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-slugid):
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Replace <#:phases> by <#:test-backend>.
    [native-inputs]: Add python-setuptools.  Replace python-nose by
    python-pynose.
    [description]: Improve style.
    
    Change-Id: I784cb883f6ca4564e05635c89d18f173831c5a13
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5611fe89e3..bc8dc1baef 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21711,21 +21711,14 @@ zipfile like as possible.")
         (file-name (git-file-name name version))
         (sha256
          (base32 "1h64p2jlqv6lsmw8h2j203kx3bhv72cwzpk5gdhsaamw30cp3h1i"))))
-    (build-system python-build-system)
-    (native-inputs (list python-nose))
-    (arguments
-      (list #:phases
-        #~(modify-phases %standard-phases
-            (replace 'check
-              (lambda* (#:key inputs tests? #:allow-other-keys)
-                (when tests?
-                  ;; The project uses tox to run the tests via nose.
-                  (invoke "nosetests" "-v" "test.py")))))))
+    (build-system pyproject-build-system)
+    (arguments (list #:test-backend #~'nose))
+    (native-inputs (list python-pynose python-setuptools))
     (home-page "http://taskcluster.github.io/slugid.py";)
     (synopsis "Module for Base64 encoded UUID v4 slugs")
-    (description "This package provides a module for generating v4
-UUIDs and encoding them into 22 character URL-safe base64 slug
-representation.")
+    (description
+     "This package provides a module for generating v4 UUIDs and encoding them
+into 22 character URL-safe base64 slug representation.")
     (license license:mpl2.0)))
 
 (define-public python-rich

Reply via email to