guix_mirror_bot pushed a commit to branch python-team in repository guix. commit 3905d3c2b28cb8d9cbf976a960d94ce21646ccc6 Author: Nicolas Graves <ngra...@ngraves.fr> AuthorDate: Sat Sep 20 23:34:58 2025 +0200
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 <sharlata...@gmail.com> --- gnu/packages/python-web.scm | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7baa725f84..9fcc54c6b1 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.")