guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 15252cc2f5eef5951dceabc303e883f646fe6707
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Sep 20 23:41:22 2025 +0200
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 <[email protected]>
---
gnu/packages/python-web.scm | 44 +++++++++++++++++++++++++++++---------------
1 file changed, 29 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 254a9752fa..9d2adb4c3c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4823,26 +4823,40 @@ Markup Language.")
(define-public python-zope-proxy
(package
(name "python-zope-proxy")
- (version "4.3.5")
+ (version "7.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "zope.proxy" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zopefoundation/zope.proxy")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "14h7nyfbl5vpfk0rbviy4ygdfx0yx5kncvg6jpbdb0dhwna0ssm6"))))
- (build-system python-build-system)
+ (base32 "00r9f4n0cl3fyc5gyf5l43zh95cmzx1gz6wr04k17d7wm2gmivyn"))))
+ (build-system pyproject-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
- (list python-zope-security-bootstrap python-zope-testrunner))
- (propagated-inputs
- (list python-zope-interface))
- (home-page "https://pypi.org/project/zope.proxy/")
+ (list python-zope-location-bootstrap
+ python-zope-security-bootstrap
+ python-zope-testrunner
+ python-setuptools))
+ (propagated-inputs (list python-zope-interface))
+ (home-page "https://zopeproxy.readthedocs.io")
(synopsis "Generic, transparent proxies")
- (description "Zope.proxy provides generic, transparent proxies for Python.
-Proxies are special objects which serve as mostly-transparent wrappers around
-another object, intervening in the apparent behavior of the wrapped object
-only when necessary to apply the policy (e.g., access checking, location
-brokering, etc.) for which the proxy is responsible.")
+ (description
+ "Zope.proxy provides generic, transparent proxies for Python. Proxies are
+special objects which serve as mostly-transparent wrappers around another
+object, intervening in the apparent behavior of the wrapped object only when
+necessary to apply the policy (e.g., access checking, location brokering,
+etc.) for which the proxy is responsible.")
(license license:zpl2.1)))
(define-public python-zope-proxy-bootstrap