gnu: python-zope-deferredimport: Update to 6.0.

* gnu/packages/python-web.scm (python-zope-deferredimport): 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-next.
[home-page]: Use the readthedocs link.

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

View file

@ -5037,20 +5037,29 @@ registering and looking up components.")
(define-public python-zope-deferredimport
(package
(name "python-zope-deferredimport")
(version "4.3.1")
(version "6.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "zope.deferredimport" version))
(sha256
(base32
"1q89v54dwniiqypjbwywwdfjdr4kdkqlyqsgrpplgvsygdg39cjp"))))
(build-system python-build-system)
(propagated-inputs
(list python-zope-proxy))
(native-inputs
(list python-zope-testrunner))
(home-page "https://github.com/zopefoundation/zope.deferredimport")
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/zopefoundation/zope.deferredimport")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "08j728nn1la570nny1xz1xvxcm9hf2mcc3im1bzcxxrrxh4kw3zd"))))
(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~%")))))))
(propagated-inputs (list python-zope-proxy))
(native-inputs (list python-zope-testrunner python-setuptools))
(home-page "https://zopedeferredimport.readthedocs.io")
(synopsis "Defer imports until used by code")
(description
"Often, especially for package modules, you want to import names for