gnu: python-zope-exceptions: Enable tests.
* gnu/packages/python-web.scm (python-zope-exceptions)[arguments]: Use custom 'check phase. [native-inputs]: Add python-zope-testrunner-bootstrap.
This commit is contained in:
parent
2f938b634e
commit
6ae5d5da65
1 changed files with 7 additions and 1 deletions
|
@ -1122,7 +1122,13 @@ conforming to a given API or contract.")
|
||||||
"1nkgfwawswmyc6i0b8g3ymvja4mb507m8yhid8s4rbxq3dmqhwhd"))))
|
"1nkgfwawswmyc6i0b8g3ymvja4mb507m8yhid8s4rbxq3dmqhwhd"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f)) ; circular dependency with zope.testrunner
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "zope-testrunner" "--test-path=src"))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-zope-testrunner" ,python-zope-testrunner-bootstrap)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-zope-interface" ,python-zope-interface)))
|
`(("python-zope-interface" ,python-zope-interface)))
|
||||||
(home-page "https://pypi.org/project/zope.exceptions/")
|
(home-page "https://pypi.org/project/zope.exceptions/")
|
||||||
|
|
Reference in a new issue