guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit a463457dab8cce8f201875dc8af4f2048ffb484f
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Sep 5 21:16:41 2025 +0100

    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
---
 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 107c4af435..65df809b45 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -423,12 +423,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"))))
@@ -440,10 +440,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.

Reply via email to