summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-20 23:27:58 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:39 +0100
commit9e296985f4877398d60544ae2623db52f3b874b1 (patch)
tree688b1a2a6acec41ea3cfc837632949d0132aff17 /gnu/packages/python-web.scm
parent6619750a8cf752c8c82abc134718bdacde62cf80 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm28
1 files changed, 18 insertions, 10 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c33a1783658..a90ca2208c7 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.")