summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2024-05-10 00:53:48 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-10-14 23:53:18 +0100
commit1981a792ebbf4a4287bae8a75577fd3a55e6d3dd (patch)
tree13af9f2aa998081c7bc991b3284b3514026c4d5a
parent652a3a6796a125e438b64314ec6d875de7604e45 (diff)
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>
-rw-r--r--gnu/packages/python-xyz.scm13
1 files changed, 3 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 231cb079b4..b4723bb00d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11961,17 +11961,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