summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-19 00:34:54 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-17 21:03:24 +0100
commited80b51de2186579929bb5a7e2f62cdd41ba235a (patch)
tree2e6f59a7e21859a29cc4cddbc9945a59b1b1f5b7
parent973dea10e254b576ae64ec8a3d01e6aa2f6e6186 (diff)
gnu: python-translation-finder: Switch to pyproject.
* gnu/packages/python-web.scm (python-translation-finder): [build-system]: Switch to pyproject-build-system. [arguments]: Improve style. [propagated-inputs]: Remove python-pathlib2, python-six. [native-inputs]: Add python-pytest, python-setuptools, python-wheel. Remove python-codecov, python-codacy-coverage, python-pytest-cov, python-pytest-runner, python-twine. Change-Id: I6e6cc082a9c055280a95e7e31274d5874bc056bb Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-web.scm19
1 files changed, 9 insertions, 10 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4f05adde74..bb4b811956 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8285,19 +8285,18 @@ for HTTP/2 is planned.")
(sha256
(base32
"1pcy9z8gmb8x41gjhw9x0lkr0d2mv5mdxcs2hwg6q8mxs857j589"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'remove-failing-test
- (lambda _
- (delete-file "translation_finder/test_api.py")
- #t)))))
+ (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-pathlib2 python-ruamel.yaml python-six))
+ (list python-chardet python-ruamel.yaml))
(native-inputs
- (list python-codecov python-codacy-coverage python-pytest-cov
- python-pytest-runner python-twine))
+ (list python-pytest python-setuptools python-wheel))
(home-page "https://weblate.org/")
(synopsis "Translation file finder for Weblate")
(description "This package provides a function to find translation file in