summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-18 15:13:01 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:20 +0100
commit3d34d500345c281445c408588f82149e1e379790 (patch)
treed75a717f9749138b561db659007b5e010b75d8f5 /gnu/packages/python-web.scm
parentb3e549582b595f30194ad432f7dad56d2b9e96b2 (diff)
gnu: python-translation-finder: Update to 2.22.
* gnu/packages/python-web.scm (python-translation-finder): Update to 2.22. [propagated-inputs]: Remove python-chardet; add python-charset-normalizer-3 and python-weblate-language-data. [native-inputs]: Remove python-wheel. Change-Id: I92a6c70a144a659f188388fb3184aa7f2da399b3
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm30
1 files changed, 15 insertions, 15 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2386753c977..1d433664b1e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8355,26 +8355,26 @@ for HTTP/2 is planned.")
(define-public python-translation-finder
(package
(name "python-translation-finder")
- (version "1.7")
+ (version "2.22")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "translation-finder" version))
- (sha256
- (base32
- "1pcy9z8gmb8x41gjhw9x0lkr0d2mv5mdxcs2hwg6q8mxs857j589"))))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "translation_finder" version))
+ (sha256
+ (base32 "1hav99ccijvk2w8wpvba2pc7ba1z150vja2wvaimd069mc08pjd2"))))
(build-system pyproject-build-system)
(arguments
(list
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'build 'remove-failing-test
- (lambda _
- (delete-file "translation_finder/test_api.py"))))))
- (propagated-inputs
- (list python-chardet python-ruamel.yaml))
+ #:test-flags
+ ;; AssertionError: 31 != 30 : Mismatched count of results
+ #~(list "--deselect=translation_finder/test_api.py::APITest::test_discover_file")))
(native-inputs
- (list python-pytest python-setuptools python-wheel))
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-charset-normalizer-3
+ python-ruamel.yaml
+ python-weblate-language-data))
(home-page "https://weblate.org/")
(synopsis "Translation file finder for Weblate")
(description "This package provides a function to find translation file in