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

commit 82bcbb08b020a205b10c0523764491e11cf568b9
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Fri May 10 00:54:25 2024 +0200

    gnu: python-cssselect2: Move to pyproject-build-system.
    
    * gnu/packages/python-web.scm (python-cssselect2):
    [build-system]: Move to pyproject-build-system.
    [arguments]<#:phases>: Remove uneeded 'check phase replacement.
    
    Change-Id: I0bdcf546d24bd738d5c547c36faa91483408d1ab
    Signed-off-by: Nicolas Goaziou <m...@nicolasgoaziou.fr>
---
 gnu/packages/python-web.scm | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4806468ae4..106ef0ec59 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5927,7 +5927,7 @@ in various CSS modules.")
        (uri (pypi-uri "cssselect2" version))
        (sha256
         (base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
@@ -5938,11 +5938,7 @@ in various CSS modules.")
                (("'pytest-flake8',") "")
                (("'pytest-isort',") "")
                (("--flake8") "")
-               (("--isort") ""))))
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (lambda _ (invoke "pytest"))))))))
+               (("--isort") "")))))))
     (propagated-inputs
      (list python-tinycss2))
     (native-inputs

Reply via email to