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

* gnu/packages/python-web.scm (python-zope-component): 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, improve style.
[home-page]: Use readthedocs link.
[description]: Improve style.

Change-Id: I706ea7c5d49a4b5b97e89508e3abef33b6c9e520
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-21 00:16:43 +02:00 committed by Sharlatan Hellseher
parent d63c77f271
commit d21ce22f53
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4990,40 +4990,45 @@ security policies on Python objects.")
(define-public python-zope-component (define-public python-zope-component
(package (package
(name "python-zope-component") (name "python-zope-component")
(version "4.6.2") (version "7.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "zope.component" version)) (uri (git-reference
(url "https://github.com/zopefoundation/zope.component")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1jygzhcg9rppsrd8cwvm0944naq1ldjf0vcpgsz0glwcdnr7cyfw"))))
"14iwp95hh6q5dj4k9h1iw75cbp89bs27nany4dinyglb44c8jqli")))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments (arguments
'(#:phases (list
(modify-phases %standard-phases #:phases
(replace 'check #~(modify-phases %standard-phases
(lambda* (#:key tests? #:allow-other-keys) (replace 'check
(if tests? (lambda* (#:key tests? #:allow-other-keys)
(invoke "python" "setup.py" "test") (if tests?
(format #t "test suite not run~%"))))))) (invoke "zope-testrunner" "--test-path=src")
(format #t "test suite not run~%")))))))
(native-inputs (native-inputs
`(("python-persistent" ,python-persistent) (list python-persistent
("python-zope-configuration" ,python-zope-configuration-bootstrap) python-zope-configuration-bootstrap
("python-zope-i18nmessageid" ,python-zope-i18nmessageid) python-zope-i18nmessageid
("python-zope-location" ,python-zope-location-bootstrap) python-zope-location-bootstrap
("python-zope-proxy" ,python-zope-proxy-bootstrap) python-zope-proxy-bootstrap
("python-zope-security" ,python-zope-security-bootstrap) python-zope-security-bootstrap
("python-zope-testing" ,python-zope-testing) python-zope-testing
("python-zope-testrunner" ,python-zope-testrunner))) python-zope-testrunner
python-setuptools))
(propagated-inputs (propagated-inputs
(list python-zope-deferredimport python-zope-deprecation (list python-zope-deferredimport python-zope-deprecation
python-zope-event python-zope-hookable python-zope-interface)) python-zope-event python-zope-hookable python-zope-interface))
(home-page "https://github.com/zopefoundation/zope.component") (home-page "https://zopecomponent.readthedocs.io")
(synopsis "Zope Component Architecture") (synopsis "Zope Component Architecture")
(description "Zope.component represents the core of the Zope Component (description
Architecture. Together with the zope.interface package, it provides "Zope.component represents the core of the Zope Component Architecture.
facilities for defining, registering and looking up components.") Together with the zope.interface package, it provides facilities for defining,
registering and looking up components.")
(license license:zpl2.1))) (license license:zpl2.1)))
(define-public python-zope-component-bootstrap (define-public python-zope-component-bootstrap