From 9c2e6516622d19ca2e484e2c168a1f94f2c96f76 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jul 2020 17:37:55 +0300 Subject: 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. --- gnu/packages/python-web.scm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 02bd3fe58f..8a21895228 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1240,17 +1240,24 @@ internationalized messages within program source text.") (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))) -- cgit v1.2.3