gnu: python-zope-security: Update to 7.3.

* gnu/packages/python-web.scm (python-zope-security): Update to 7.3.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase.
[native-inputs]: Add python-setuptools.
(python-zope-security-bootstrap)[propagated-inputs]: Improve style.

Change-Id: If21113f49acec0f198ab1eca5c88767cfcab34af
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-21 00:14:11 +02:00 committed by Sharlatan Hellseher
parent d1e0e0b81d
commit 043ed251b3
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4937,15 +4937,26 @@ are are special objects that have a structural location.")
(define-public python-zope-security (define-public python-zope-security
(package (package
(name "python-zope-security") (name "python-zope-security")
(version "5.1.1") (version "7.3")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "zope.security" version)) (uri (git-reference
(url "https://github.com/zopefoundation/zope.security")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "06x6qcls2mdl05xnsyy5h70mbgij8xb6ksxbawzrc23cq04nkvx7"))))
"11lfw67cigscfax9c5j63xcvz2qcj724zx5fcdqyc94am2glim0h")))) (build-system pyproject-build-system)
(build-system python-build-system) (arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "zope-testrunner" "--test-path=src")
(format #t "test suite not run~%")))))))
(propagated-inputs (propagated-inputs
(list python-zope-component (list python-zope-component
python-zope-i18nmessageid python-zope-i18nmessageid
@ -4959,8 +4970,9 @@ are are special objects that have a structural location.")
python-zope-configuration-bootstrap python-zope-configuration-bootstrap
python-zope-location-bootstrap python-zope-location-bootstrap
python-zope-testing python-zope-testing
python-zope-testrunner)) python-zope-testrunner
(home-page "https://pypi.org/project/zope.security/") python-setuptools))
(home-page "https://zopesecurity.readthedocs.io")
(synopsis "Zope security framework") (synopsis "Zope security framework")
(description "Zope.security provides a generic mechanism to implement (description "Zope.security provides a generic mechanism to implement
security policies on Python objects.") security policies on Python objects.")
@ -4970,10 +4982,10 @@ security policies on Python objects.")
(package (package
(inherit (python-zope-bootstrap-package python-zope-security)) (inherit (python-zope-bootstrap-package python-zope-security))
(propagated-inputs (propagated-inputs
`(("python-zope-i18nmessageid" ,python-zope-i18nmessageid) (list python-zope-i18nmessageid
("python-zope-interface" ,python-zope-interface) python-zope-interface
("python-zope-proxy" ,python-zope-proxy-bootstrap) python-zope-proxy-bootstrap
("python-zope-schema" ,python-zope-schema))))) python-zope-schema))))
(define-public python-zope-component (define-public python-zope-component
(package (package