sharlatan pushed a commit to branch python-team
in repository guix.
commit 1bb9adb6256b184dc65a59d0c371d5b05a70a3ed
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 9f023e36ad..52591cd7ef 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6269,7 +6269,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
@@ -6280,11 +6280,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