guix-commits
[Top][All Lists]
Advanced

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

169/474: gnu: python-tinycss: Move to pyproject-build-system.


From: guix-commits
Subject: 169/474: gnu: python-tinycss: Move to pyproject-build-system.
Date: Sat, 30 Nov 2024 18:20:13 -0500 (EST)

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

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

    gnu: python-tinycss: Move to pyproject-build-system.
    
    * gnu/packages/python-web.scm (python-tinycss):
      [build-system]: Move to pyproject-build-system.
      [arguments]<#:test-flags>: Ignore failing test.
    
    Change-Id: I972a3c6390df5f8af79c952292db8a4e24a4aa33
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/python-web.scm | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ebfe941bf9..6df5ee7a68 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6220,20 +6220,10 @@ the non-map-specific features.  It can be used to 
generate HTML + JS.")
        (uri (pypi-uri "tinycss" version))
        (sha256
         (base32 "0vkifr595h28ymkjhrswwf0bm23lhznh5f44xyp7x7jy1ssnyc0j"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'disable-flake8-isort
-           ;; Flake8 and isort tests fail.
-           (lambda _
-             (substitute* "setup.cfg" ((" --flake8 --isort") ""))
-             #t))
-         (replace 'check
-           (lambda _
-             ;; Disable failing test.
-             (invoke "python" "-m" "pytest" "-k"
-                     "not test_speedups"))))))
+     (list #:test-flags
+           '(list "-k" "not test_speedups")))
     (native-inputs
      (list python-pytest-cov python-pytest-flake8 python-pytest-isort
            python-pytest-runner))



reply via email to

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