diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-21 00:11:56 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:39 +0100 |
| commit | c8fbe1e8a87e0cee64163ec6bd6f911c35b25d50 (patch) | |
| tree | e94545b41c2b73c6ababc4b3e73d5c7ea1b8139c /gnu | |
| parent | 633ce9bc8de77a4a709fff36c46ed3c37b2db6c3 (diff) | |
gnu: python-zope-location: Update to 6.0.
* gnu/packages/python-web.scm (python-zope-location): Update to 6.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 the readthedocs link.
[description]: Improve style.
Change-Id: I1e4e6bce660dfa1cd5345b522ad4e8fe4950bbbd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index cdc0a871395..dec1d1526cd 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4901,25 +4901,34 @@ imported it, will see the change.") (define-public python-zope-location (package (name "python-zope-location") - (version "4.2") + (version "6.0") (source (origin - (method url-fetch) - (uri (pypi-uri "zope.location" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/zopefoundation/zope.location") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1b40pzl8v00d583d3gsxv1qjdw2dhghlgkbgxl3m07d5r3izj857")))) - (build-system python-build-system) + (base32 "1jfsmbxj6hz7kmk5b0351b63ssm7qfkgqmz9v7xb7wwlmxsxkcdk")))) + (build-system pyproject-build-system) (arguments - '(#:tests? #f)) ; FIXME: Tests can't find zope.interface. - (native-inputs - (list python-zope-testrunner)) - (propagated-inputs - (list python-zope-interface python-zope-proxy python-zope-schema)) - (home-page "https://pypi.org/project/zope.location/") + (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-zope-testrunner python-setuptools)) + (propagated-inputs (list python-zope-interface python-zope-proxy + python-zope-schema)) + (home-page "https://zopelocation.readthedocs.io") (synopsis "Zope location library") - (description "Zope.location implements the concept of \"locations\" in -Zope3, which are are special objects that have a structural location.") + (description + "Zope.location implements the concept of \"locations\" in Zope3, which +are are special objects that have a structural location.") (license license:zpl2.1))) (define-public python-zope-location-bootstrap |
