mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
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>
This commit is contained in:
parent
170f4a3125
commit
bf76343e89
1 changed files with 3 additions and 10 deletions
|
@ -12123,17 +12123,10 @@ (define-public python-jaraco-classes
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue