diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-21 00:19:43 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:40 +0100 |
| commit | 57a9d6917ae8e00b85b544f30721198c70c316f1 (patch) | |
| tree | f0647db542d90abed16505c1b30db852f5e8c1b1 /gnu/packages/python-web.scm | |
| parent | d21ce22f5397e19181e9edd5fd3d9fc80fe2563b (diff) | |
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>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3f9dbd3502e..a90f25a2e53 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -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 |
