me
/
guix
Archived
1
0
Fork 0

gnu: python-zope-component: Respect '--without-tests'.

* gnu/packages/python-web.scm (python-zope-component)[arguments]: Honor TESTS?
in the check phase.
master
Marius Bakke 2021-10-13 00:06:00 +02:00
parent 6c1724f6cd
commit 115352b545
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 4 additions and 3 deletions

View File

@ -2293,9 +2293,10 @@ security policies on Python objects.")
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "python" "setup.py" "test"))))))
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "python" "setup.py" "test")
(format #t "test suite not run~%")))))))
(native-inputs
`(("python-persistent" ,python-persistent)
("python-zope-configuration" ,python-zope-configuration-bootstrap)