summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-20 23:34:58 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:39 +0100
commitdeb5941550e498ea38078f6e67daf8ae8b425e29 (patch)
tree3ec01f92476ad766dfc93cba63c5edacfdcb4ddd /gnu/packages/python-web.scm
parent5cff895ecdca5d57fed6fdcb0c67497cc1a6db7d (diff)
gnu: python-zope-configuration: Update to 7.0.
* gnu/packages/python-web.scm (python-zope-configuration): 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. [home-page]: Use readthedocs link. Change-Id: I7c3e3cc76abd85f45f4999f2a144390906ed8eb5 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm39
1 files changed, 25 insertions, 14 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7baa725f847..9fcc54c6b18 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4748,20 +4748,31 @@ configure engines.")
(define-public python-zope-configuration
(package
(name "python-zope-configuration")
- (version "4.4.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "zope.configuration" version))
- (sha256
- (base32
- "0g6vrl7y27z9cj5xyrww9xlzk4npj55mgmlrcd9d2nj08jn2pw79"))))
- (build-system python-build-system)
- (native-inputs
- (list python-manuel python-zope-testing python-zope-testrunner))
- (propagated-inputs
- (list python-zope-i18nmessageid python-zope-interface
- python-zope-schema))
- (home-page "https://pypi.org/project/zope.configuration/")
+ (version "7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zopefoundation/zope.configuration")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "11lr6z3jpz9835a1if89g3x7k31sviq2d0xvvic5xi4c980dbkhv"))))
+ (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-manuel python-setuptools python-zope-testing
+ python-zope-testrunner))
+ (propagated-inputs (list python-zope-i18nmessageid python-zope-interface
+ python-zope-schema))
+ (home-page "https://zopeconfiguration.readthedocs.io")
(synopsis "Zope Configuration Markup Language")
(description "Zope.configuration implements ZCML, the Zope Configuration
Markup Language.")