aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-27 00:18:35 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:28:39 +0000
commit4fc85e9a6b37c0b5e74803317da89865c071f0c8 (patch)
tree825e0e71d022357be1c9212b89ce60e024edf5a9 /gnu
parent8e7c4d8df91b56807ccf7940a42c7fc1438de6e8 (diff)
downloadguix-4fc85e9a6b37c0b5e74803317da89865c071f0c8.tar.gz
guix-4fc85e9a6b37c0b5e74803317da89865c071f0c8.zip
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-check.scm19
1 files changed, 13 insertions, 6 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 1e859d5d16..1fd4e58b56 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -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