mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-jaraco-context: Move to pyproject-build-system.
* gnu/packages/python-xyz.scm: (python-jaraco-context)[build-system]: Move to pyproject-build-system. (python-jaraco)[arguments]: Convert <#:phases> to <#:test-flags>. Change-Id: Ifc9b8fc4a9a6c1c2f37fd014eeee1205cd2eb2c4 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
bf76343e89
commit
68ecdc47b2
1 changed files with 4 additions and 9 deletions
|
@ -12219,7 +12219,7 @@ WeightedLookup: A specialized RangeMap for selecting an item by weights.
|
||||||
(uri (pypi-uri "jaraco.context" version))
|
(uri (pypi-uri "jaraco.context" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0hbjm1rpxf4pzmbdp9rh3ali4zqnlcr8m97bhh1nizxvzcpxim7h"))))
|
(base32 "0hbjm1rpxf4pzmbdp9rh3ali4zqnlcr8m97bhh1nizxvzcpxim7h"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments (list #:tests? #f))
|
(arguments (list #:tests? #f))
|
||||||
(native-inputs (list python-setuptools-scm))
|
(native-inputs (list python-setuptools-scm))
|
||||||
(home-page "https://github.com/jaraco/jaraco.context")
|
(home-page "https://github.com/jaraco/jaraco.context")
|
||||||
|
@ -12236,14 +12236,9 @@ procedures.")
|
||||||
(package-arguments python-jaraco-context-bootstrap)
|
(package-arguments python-jaraco-context-bootstrap)
|
||||||
((#:tests? _ #f)
|
((#:tests? _ #f)
|
||||||
(not (%current-target-system)))
|
(not (%current-target-system)))
|
||||||
((#:phases phases #~%standard-phases)
|
;; Do not test the myproject.toml build as it pulls dependencies.
|
||||||
#~(modify-phases #$phases
|
((#:test-flags test-flags '())
|
||||||
(replace 'check
|
'(list "-k" "not project"))))
|
||||||
(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"))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(modify-inputs
|
(modify-inputs
|
||||||
(package-native-inputs python-jaraco-context-bootstrap)
|
(package-native-inputs python-jaraco-context-bootstrap)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue