guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 33f413deed784ff96f921976bae73dfa8d35b754
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Sun Sep 21 00:19:43 2025 +0200

    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 <sharlata...@gmail.com>
---
 gnu/packages/python-web.scm | 35 ++++++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3f9dbd3502..a90f25a2e5 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

Reply via email to