mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-green: Adjust inputs.
* gnu/packages/python-check.scm (python-green): [arguments]<phases>: Add custom 'check. [native-inputs]: Remove python-black and python-django; add python-setuptools and python-wheel. Change-Id: I3fd3aa1d3e73956d08b1691d6a1d43b6d8d2d019
This commit is contained in:
parent
8e7c4d8df9
commit
4fc85e9a6b
1 changed files with 13 additions and 6 deletions
|
@ -3167,13 +3167,20 @@ unused.")
|
|||
(sha256
|
||||
(base32 "1cd62nbn5dvlpnsyplp6cb24wd230san8dpm6pnl99n2kwzpq1m4"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags #~(list "-vr" "green")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||
(when tests?
|
||||
(apply invoke "python" "-m" "green" test-flags)))))))
|
||||
(native-inputs
|
||||
(list python-black
|
||||
python-django
|
||||
python-mypy
|
||||
python-testtools))
|
||||
;; The python-coverage dependency appears both in requirements.txt and
|
||||
;; requirements-dev.txt.
|
||||
(list python-mypy
|
||||
python-setuptools
|
||||
python-testtools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-colorama
|
||||
python-coverage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue