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

commit e81b10b5ea9bdae8daeebd1d3daea7ad833799c5
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Sep 20 23:27:58 2025 +0200

    gnu: python-zope-i18nmessageid: Update to 7.0.
    
    * gnu/packages/python-web.scm (python-zope-i18nmessageid): Update to 7.0.
    [source]: Switch to git-fetch.
    [arguments]<#:phases>: Replace 'check phase.
    [native-inputs]: Remove python-coverage, python-wheel.
    [home-page]: Replace with the readthedocs link.
    
    Change-Id: I27bcd2411b3fbd5c486dcd85acdd252cde359203
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c33a178365..a90ca2208c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4649,20 +4649,28 @@ servers, regular expressions, and more.")
 (define-public python-zope-i18nmessageid
   (package
     (name "python-zope-i18nmessageid")
-    (version "5.1.1")
+    (version "7.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "zope.i18nmessageid" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/zopefoundation/zope.i18nmessageid";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "14mx62khys82p2gmmf3m40x4jmvcz3rndvl6qik2n2qfp13n7ds7"))))
+        (base32 "192ixj8r9n467avbxrmhakmqiaflc1vw37k08z096ajcjgbfrm5d"))))
     (build-system pyproject-build-system)
-    (native-inputs
-     (list python-coverage python-setuptools
-           python-wheel python-zope-testrunner))
-    (propagated-inputs
-     (list python-six))
-    (home-page "https://pypi.org/project/zope.i18nmessageid/";)
+    (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~%")))))))
+    (native-inputs (list python-setuptools python-zope-testrunner))
+    (home-page "https://zopei18nmessageid.readthedocs.io";)
     (synopsis "Message identifiers for internationalization")
     (description "Zope.i18nmessageid provides facilities for declaring
 internationalized messages within program source text.")

Reply via email to