diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-21 00:16:43 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:40 +0100 |
| commit | d21ce22f5397e19181e9edd5fd3d9fc80fe2563b (patch) | |
| tree | cc43e8fd584e34e2a7dfde3faee7052cacce51c4 /gnu | |
| parent | d63c77f27177a9366e81d8956eea6df0140f00ba (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 55 |
1 files changed, 30 insertions, 25 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a9ce765c0d9..3f9dbd3502e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4990,40 +4990,45 @@ security policies on Python objects.") (define-public python-zope-component (package (name "python-zope-component") - (version "4.6.2") + (version "7.0") (source (origin - (method url-fetch) - (uri (pypi-uri "zope.component" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/zopefoundation/zope.component") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "14iwp95hh6q5dj4k9h1iw75cbp89bs27nany4dinyglb44c8jqli")))) - (build-system python-build-system) + (base32 "1jygzhcg9rppsrd8cwvm0944naq1ldjf0vcpgsz0glwcdnr7cyfw")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (if tests? - (invoke "python" "setup.py" "test") - (format #t "test suite not run~%"))))))) + (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 - `(("python-persistent" ,python-persistent) - ("python-zope-configuration" ,python-zope-configuration-bootstrap) - ("python-zope-i18nmessageid" ,python-zope-i18nmessageid) - ("python-zope-location" ,python-zope-location-bootstrap) - ("python-zope-proxy" ,python-zope-proxy-bootstrap) - ("python-zope-security" ,python-zope-security-bootstrap) - ("python-zope-testing" ,python-zope-testing) - ("python-zope-testrunner" ,python-zope-testrunner))) + (list python-persistent + python-zope-configuration-bootstrap + python-zope-i18nmessageid + python-zope-location-bootstrap + python-zope-proxy-bootstrap + python-zope-security-bootstrap + python-zope-testing + python-zope-testrunner + python-setuptools)) (propagated-inputs (list python-zope-deferredimport python-zope-deprecation 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") - (description "Zope.component represents the core of the Zope Component -Architecture. Together with the zope.interface package, it provides -facilities for defining, registering and looking up components.") + (description + "Zope.component represents the core of the Zope Component Architecture. +Together with the zope.interface package, it provides facilities for defining, +registering and looking up components.") (license license:zpl2.1))) (define-public python-zope-component-bootstrap |
