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>
This commit is contained in:
Nicolas Graves 2025-08-19 00:34:54 +02:00 committed by Sharlatan Hellseher
parent 973dea10e2
commit ed80b51de2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -8285,19 +8285,18 @@ for HTTP/2 is planned.")
(sha256 (sha256
(base32 (base32
"1pcy9z8gmb8x41gjhw9x0lkr0d2mv5mdxcs2hwg6q8mxs857j589")))) "1pcy9z8gmb8x41gjhw9x0lkr0d2mv5mdxcs2hwg6q8mxs857j589"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
(add-before 'build 'remove-failing-test #~(modify-phases %standard-phases
(lambda _ (add-before 'build 'remove-failing-test
(delete-file "translation_finder/test_api.py") (lambda _
#t))))) (delete-file "translation_finder/test_api.py"))))))
(propagated-inputs (propagated-inputs
(list python-chardet python-pathlib2 python-ruamel.yaml python-six)) (list python-chardet python-ruamel.yaml))
(native-inputs (native-inputs
(list python-codecov python-codacy-coverage python-pytest-cov (list python-pytest python-setuptools python-wheel))
python-pytest-runner python-twine))
(home-page "https://weblate.org/") (home-page "https://weblate.org/")
(synopsis "Translation file finder for Weblate") (synopsis "Translation file finder for Weblate")
(description "This package provides a function to find translation file in (description "This package provides a function to find translation file in