guix-commits
[Top][All Lists]
Advanced

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

183/361: gnu: python-jaraco-classes: Move to pyproject-build-system.


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

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

commit b8810acf2fd60c7f7bbcc87b5a91556d596839ae
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:48 2024 +0200

    gnu: python-jaraco-classes: Move to pyproject-build-system.
    
    * gnu/packages/python-xyz.scm (python-jaraco-classes):
      [build-system]: Move to pyproject-build-system.
      [arguments]: Convert <#:phases> to <#:test-flags>.
    
    Change-Id: I8fbe633db7533f933a342b47a4a2191ccf13a8c5
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/python-xyz.scm | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cea91c91a5..76bc8fce67 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12096,17 +12096,10 @@ enforced method signatures and consistent 
documentation.")
        (uri (pypi-uri "jaraco.classes" version))
        (sha256
         (base32 "0d6g7qvfv1jlzbzh6asprqdblqd59grvlvr3nwbdqdqrmwlbfm7d"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                ;; Do not test the myproject.toml build as it tries to pull
-                ;; dependencies from the Internet.
-                (invoke "pytest" "-vv" "-k" "not project")))))))
+     (list  ; Do not test the myproject.toml build as it pulls dependencies.
+      #:test-flags '(list "-k" "not project")))
     (native-inputs
      (list python-pytest
            python-pytest-black



reply via email to

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