gnu: python-zope-proxy: Update to 7.0.

* gnu/packages/python-web.scm (python-zope-proxy): Update to 7.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
[home-page]: Use the readthedocs link.

Change-Id: Ic92689e765e7fcc6ce5ce9156e18c33aebe5ff30
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-20 23:41:22 +02:00 committed by Sharlatan Hellseher
parent 0f4077c2a0
commit 15252cc2f5
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4823,26 +4823,40 @@ Markup Language.")
(define-public python-zope-proxy (define-public python-zope-proxy
(package (package
(name "python-zope-proxy") (name "python-zope-proxy")
(version "4.3.5") (version "7.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "zope.proxy" version)) (uri (git-reference
(url "https://github.com/zopefoundation/zope.proxy")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "00r9f4n0cl3fyc5gyf5l43zh95cmzx1gz6wr04k17d7wm2gmivyn"))))
"14h7nyfbl5vpfk0rbviy4ygdfx0yx5kncvg6jpbdb0dhwna0ssm6")))) (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~%")))))))
(native-inputs (native-inputs
(list python-zope-security-bootstrap python-zope-testrunner)) (list python-zope-location-bootstrap
(propagated-inputs python-zope-security-bootstrap
(list python-zope-interface)) python-zope-testrunner
(home-page "https://pypi.org/project/zope.proxy/") python-setuptools))
(propagated-inputs (list python-zope-interface))
(home-page "https://zopeproxy.readthedocs.io")
(synopsis "Generic, transparent proxies") (synopsis "Generic, transparent proxies")
(description "Zope.proxy provides generic, transparent proxies for Python. (description
Proxies are special objects which serve as mostly-transparent wrappers around "Zope.proxy provides generic, transparent proxies for Python. Proxies are
another object, intervening in the apparent behavior of the wrapped object special objects which serve as mostly-transparent wrappers around another
only when necessary to apply the policy (e.g., access checking, location object, intervening in the apparent behavior of the wrapped object only when
brokering, etc.) for which the proxy is responsible.") necessary to apply the policy (e.g., access checking, location brokering,
etc.) for which the proxy is responsible.")
(license license:zpl2.1))) (license license:zpl2.1)))
(define-public python-zope-proxy-bootstrap (define-public python-zope-proxy-bootstrap