gnu: python-zope-schema: Update to 6.0.0.

* gnu/packages/python-web.scm (python-zope-schema): Update to 6.0.0.
[arguments]: Don't skip tests. Use custom 'check phase.
This commit is contained in:
Efraim Flashner 2020-07-20 17:37:55 +03:00
parent 6de5b0f03d
commit 9c2e651662
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1240,17 +1240,24 @@ (define-public python2-zope-i18nmessageid
(define-public python-zope-schema
(package
(name "python-zope-schema")
(version "5.0.1")
(version "6.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "zope.schema" version))
(sha256
(base32
"0q93j0x52a42khw12al90jw2bk0wly3jwghql3a25zpwwxvn24ya"))))
"09jg47bxhfg1ahr1jxb5y0cbiszyk1j6fn1r1r7s6svjl3lbryr0"))))
(build-system python-build-system)
(arguments
'(#:tests? #f)) ; FIXME: Tests can't find zope.event.
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(if tests?
(invoke "zope-testrunner" "--test-path=src")
#t))))))
(propagated-inputs
`(("python-zope-event" ,python-zope-event)
("python-zope-interface" ,python-zope-interface)))