gnu: python-coveralls: Improve package.

* gnu/packages/python-check.scm (python-coveralls): Re order fields, fix
indentation.
[source] <uri>: 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
This commit is contained in:
Sharlatan Hellseher 2025-09-05 21:16:41 +01:00
parent e16bf08b56
commit 682270ac54
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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.