summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-21 00:14:11 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:40 +0100
commitd63c77f27177a9366e81d8956eea6df0140f00ba (patch)
treeb80a32670687211e3b99cb94e56729c5b196d11c /gnu/packages/python-web.scm
parentc8fbe1e8a87e0cee64163ec6bd6f911c35b25d50 (diff)
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>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm36
1 files changed, 24 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index dec1d1526cd..a9ce765c0d9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4937,15 +4937,26 @@ are are special objects that have a structural location.")
(define-public python-zope-security
(package
(name "python-zope-security")
- (version "5.1.1")
+ (version "7.3")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "zope.security" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zopefoundation/zope.security")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "11lfw67cigscfax9c5j63xcvz2qcj724zx5fcdqyc94am2glim0h"))))
- (build-system python-build-system)
+ (base32 "06x6qcls2mdl05xnsyy5h70mbgij8xb6ksxbawzrc23cq04nkvx7"))))
+ (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~%")))))))
(propagated-inputs
(list python-zope-component
python-zope-i18nmessageid
@@ -4959,8 +4970,9 @@ are are special objects that have a structural location.")
python-zope-configuration-bootstrap
python-zope-location-bootstrap
python-zope-testing
- python-zope-testrunner))
- (home-page "https://pypi.org/project/zope.security/")
+ python-zope-testrunner
+ python-setuptools))
+ (home-page "https://zopesecurity.readthedocs.io")
(synopsis "Zope security framework")
(description "Zope.security provides a generic mechanism to implement
security policies on Python objects.")
@@ -4970,10 +4982,10 @@ security policies on Python objects.")
(package
(inherit (python-zope-bootstrap-package python-zope-security))
(propagated-inputs
- `(("python-zope-i18nmessageid" ,python-zope-i18nmessageid)
- ("python-zope-interface" ,python-zope-interface)
- ("python-zope-proxy" ,python-zope-proxy-bootstrap)
- ("python-zope-schema" ,python-zope-schema)))))
+ (list python-zope-i18nmessageid
+ python-zope-interface
+ python-zope-proxy-bootstrap
+ python-zope-schema))))
(define-public python-zope-component
(package