guix_mirror_bot pushed a commit to branch master
in repository guix.

commit a2ffe81583f1744c31196d366132bdd85e8c038b
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Oct 17 15:34:43 2025 +0200

    gnu: python-simplegeneric: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-simplegeneric):
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:test-backend, #:test-flags>: Run tests.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I1bc03460a5a69ea42af4b0d4c8bb693a4c8cb2bd
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f4eff89d39..f834920d4a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14387,9 +14387,13 @@ features, with CPython fallbacks.")
        (uri (pypi-uri "simplegeneric" version ".zip"))
        (sha256
         (base32 "0wwi1c6md4vkbcsfsf8dklf3vr4mcdj4mpxkanwgb6jb1432x5yw"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-backend #~'custom
+      #:test-flags #~(list "-m" "simplegeneric")))
     (native-inputs
-     (list unzip))
+     (list unzip python-setuptools))
     (home-page "https://cheeseshop.python.org/pypi/simplegeneric";)
     (synopsis "Python module for simple generic functions")
     (description

Reply via email to