From ed80b51de2186579929bb5a7e2f62cdd41ba235a Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 19 Aug 2025 00:34:54 +0200 Subject: [PATCH] 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 --- gnu/packages/python-web.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4f05adde741..bb4b8119569 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