guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/15: gnu: shrinkwrap: Use pyproject-build-system.


From: guix-commits
Subject: 10/15: gnu: shrinkwrap: Use pyproject-build-system.
Date: Fri, 12 May 2023 17:25:44 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 206815b796808874523dc3f928943c423b104f98
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 12 22:53:46 2023 +0200

    gnu: shrinkwrap: Use pyproject-build-system.
    
    * gnu/packages/python-xyz.scm (shrinkwrap)[arguments]: Remove.
    [build-system]: Use pyproject-build-system.
---
 gnu/packages/python-xyz.scm | 19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30769e4966..1710a303c1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32861,24 +32861,7 @@ Storage}.")
               (sha256
                (base32
                 "1f3qrygj16y767q2c7pn9j6m95ggcmj9s5cx9v92ygygly4mr3jp"))))
-    (build-system python-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "pytest" "-v" "tests"))))
-          ;; XXX: PEP 517 manual build copied from python-isort.
-          (replace 'build
-            (lambda _
-              (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
-          (replace 'install
-            (lambda _
-              (let ((whl (car (find-files "dist" "\\.whl$"))))
-                (invoke "pip" "--no-cache-dir" "--no-input"
-                        "install" "--no-deps" "--prefix" #$output whl)))))))
+    (build-system pyproject-build-system)
     (native-inputs
      (list python-click
            python-poetry-core



reply via email to

[Prev in Thread] Current Thread [Next in Thread]