gnu: python-zope-component: Update to 4.6.2.

* gnu/packages/python-web.scm (python-zope-component): Update to 4.6.2.
[arguments]: Run test suite. Use custom 'check phase.
[native-inputs]: Add python-persistent,
python-zope-configuration-bootstrap, python-zope-i18nmessageid,
python-zope-location-bootstrap, python-zope-proxy-bootstrap,
python-zope-testrunner.
[propagated-inputs]: Move python-i18nmessageid to native-inputs. Add
python-zope-deferredimport, python-zope-deprecation, python-zope-event,
python-zope-hookable.
This commit is contained in:
Efraim Flashner 2020-07-21 11:14:08 +03:00
parent 2ed6491f9c
commit 256e8a82fa
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 21 additions and 9 deletions

View File

@ -1456,25 +1456,37 @@ security policies on Python objects.")
(define-public python-zope-component
(package
(name "python-zope-component")
(version "4.3.0")
(version "4.6.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "zope.component" version))
(sha256
(base32
"1hlvzwj1kcfz1qms1dzhwsshpsf38z9clmyksb1gh41n8k3kchdv"))))
"14iwp95hh6q5dj4k9h1iw75cbp89bs27nany4dinyglb44c8jqli"))))
(build-system python-build-system)
(arguments
;; Skip tests due to circular dependency with python-zope-security.
'(#:tests? #f))
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "python" "setup.py" "test"))))))
(native-inputs
`(("python-zope-testing" ,python-zope-testing)))
(propagated-inputs
`(("python-zope-event" ,python-zope-event)
("python-zope-interface" ,python-zope-interface)
`(("python-persistent" ,python-persistent)
("python-zope-configuration" ,python-zope-configuration-bootstrap)
("python-zope-i18nmessageid" ,python-zope-i18nmessageid)
("python-zope-configuration" ,python-zope-configuration)))
("python-zope-location" ,python-zope-location-bootstrap)
("python-zope-proxy" ,python-zope-proxy-bootstrap)
("python-zope-security" ,python-zope-security-bootstrap)
("python-zope-testing" ,python-zope-testing)
("python-zope-testrunner" ,python-zope-testrunner)))
(propagated-inputs
`(("python-zope-deferredimport" ,python-zope-deferredimport)
("python-zope-deprecation" ,python-zope-deprecation)
("python-zope-event" ,python-zope-event)
("python-zope-hookable" ,python-zope-hookable)
("python-zope-interface" ,python-zope-interface)))
(home-page "https://github.com/zopefoundation/zope.component")
(synopsis "Zope Component Architecture")
(description "Zope.component represents the core of the Zope Component