guix-commits
[Top][All Lists]
Advanced

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

210/361: gnu: python-pyan3: Move to pyproject-build-system.


From: guix-commits
Subject: 210/361: gnu: python-pyan3: Move to pyproject-build-system.
Date: Thu, 21 Nov 2024 06:29:20 -0500 (EST)

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

commit 1ca9154f426a57eded8d9e7c465a6ecaeae29f64
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:54:17 2024 +0200

    gnu: python-pyan3: Move to pyproject-build-system.
    
    * gnu/packages/python-xyz.scm (python-pyan3):
      [build-system]: Move to pyproject-build-system.
      [arguments]: Remove uneeded field.
    
    Change-Id: I9f9f15ffd5a97666a410af56f02b573b55e45351
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/python-xyz.scm | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 16db814ffa..67e8062f20 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35374,17 +35374,7 @@ functions defined in POSIX.1-2001 and POSIX.1-2008.")
          "1367x25rcy2y8f0x9c2dbxl2qgdln3arr7ddyzybz2c28g6jrv5z"))
        (patches (search-patches "python-pyan3-fix-positional-arguments.patch"
                                 "python-pyan3-fix-absolute-path-bug.patch"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               ;; Extend PYTHONPATH so the built package will be found.
-               (setenv "GUIX_PYTHONPATH"
-                       (string-append (getcwd) ":" (getenv "GUIX_PYTHONPATH")))
-               (invoke "pytest")))))))
+    (build-system pyproject-build-system)
     (native-inputs
      (list python-pytest python-pytest-cov python-wheel))
     (propagated-inputs



reply via email to

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