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

commit 1501275880043faaeb1298b9fe2aa0f49809d90d
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Fri May 10 00:53:31 2024 +0200

    gnu: python-cbor2: Move to pyproject-build-system.
    
    * gnu/packages/python-web.scm (python-cbor2):
      [build-system]: Move to pyproject-build-system.
      [arguments]: Remove uneeded field.
    
    Change-Id: I2e27fa48950aa9d10e140bfbdc12df3d22661282
    Signed-off-by: Nicolas Goaziou <m...@nicolasgoaziou.fr>
---
 gnu/packages/python-web.scm | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 36d7b98727..265396a644 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1000,15 +1000,7 @@ to the OVHcloud APIs.")
        (uri (pypi-uri "cbor2" version))
        (sha256
         (base32 "15y78xcc3zkmvj1mdzz8gyhf3apbl91073kwhzbjk5abc1civwlw"))))
-    (build-system python-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "pytest" "-vv")))))))
+    (build-system pyproject-build-system)
     (native-inputs (list python-pytest python-pytest-cov 
python-setuptools-scm))
     (home-page "https://github.com/agronholm/cbor2";)
     (synopsis "Concise Binary Object Representation (CBOR) (de)serializer")

Reply via email to