From 682270ac546977649131169e0d0712337ed8ba25 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 5 Sep 2025 21:16:41 +0100 Subject: [PATCH] gnu: python-coveralls: Improve package. * gnu/packages/python-check.scm (python-coveralls): Re order fields, fix indentation. [source] : Use direct URL string instead of HOME-PAGE. [native-inputs]: Remove poetry; add python-poetry-core. Apply list style and place above PROPAGATED-INPUTS. Change-Id: Id573137527b104a85aa6ed881feb72ede92d6f7e --- gnu/packages/python-check.scm | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index f0ee561690e0420a43bda8600720281b69f12aa6..b8e2eba103d45471d28cbfca98ba542e15606ef9 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -429,12 +429,12 @@ code quality.") (package (name "python-coveralls") (version "4.0.1") - (home-page "https://github.com/coveralls-clients/coveralls-python") (source (origin - ;; The PyPI release lacks tests, so we pull from git instead. - (method git-fetch) - (uri (git-reference (url home-page) (commit version))) + (method git-fetch) ;no tests in PyPI archive + (uri (git-reference + (url "https://github.com/coveralls-clients/coveralls-python") + (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "1411h7rwxgp9ag26bmlpy7g7sdh39f56dc1mrd1n74bjsgvwzj6l")))) @@ -446,10 +446,17 @@ code quality.") ;; XXX: Unable to find coverage package. "--ignore=tests/api/reporter_test.py" "--ignore=tests/integration_test.py"))) - (propagated-inputs - (list python-coverage python-docopt python-pyyaml python-requests)) (native-inputs - (list poetry python-mock python-pytest python-responses)) + (list python-poetry-core + python-mock + python-pytest + python-responses)) + (propagated-inputs + (list python-coverage + python-docopt + python-pyyaml + python-requests)) + (home-page "https://github.com/coveralls-clients/coveralls-python") (synopsis "Show coverage stats online via coveralls.io") (description "Coveralls.io is a service for publishing code coverage statistics online.