~ruther/guix-local

ed80b51de2186579929bb5a7e2f62cdd41ba235a — Nicolas Graves 7 months ago 973dea1
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>
1 files changed, 9 insertions(+), 10 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +9 -10
@@ 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