sharlatan pushed a commit to branch python-team
in repository guix.
commit 09d27082f59d098a133a3c40f6e8cc4d65faa300
Author: Nicolas Graves <[email protected]>
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 <[email protected]>
---
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 c417ee8056..df0a290806 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6085,7 +6085,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
@@ -6096,11 +6096,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