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>
This commit is contained in:
Nicolas Graves 2025-09-21 00:11:56 +02:00 committed by Sharlatan Hellseher
parent 633ce9bc8d
commit c8fbe1e8a8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4901,25 +4901,34 @@ imported it, will see the change.")
(define-public python-zope-location (define-public python-zope-location
(package (package
(name "python-zope-location") (name "python-zope-location")
(version "4.2") (version "6.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "zope.location" version)) (uri (git-reference
(url "https://github.com/zopefoundation/zope.location")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1jfsmbxj6hz7kmk5b0351b63ssm7qfkgqmz9v7xb7wwlmxsxkcdk"))))
"1b40pzl8v00d583d3gsxv1qjdw2dhghlgkbgxl3m07d5r3izj857")))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments (arguments
'(#:tests? #f)) ; FIXME: Tests can't find zope.interface. (list
(native-inputs #:phases
(list python-zope-testrunner)) #~(modify-phases %standard-phases
(propagated-inputs (replace 'check
(list python-zope-interface python-zope-proxy python-zope-schema)) (lambda* (#:key tests? #:allow-other-keys)
(home-page "https://pypi.org/project/zope.location/") (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") (synopsis "Zope location library")
(description "Zope.location implements the concept of \"locations\" in (description
Zope3, which are are special objects that have a structural location.") "Zope.location implements the concept of \"locations\" in Zope3, which
are are special objects that have a structural location.")
(license license:zpl2.1))) (license license:zpl2.1)))
(define-public python-zope-location-bootstrap (define-public python-zope-location-bootstrap