summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-25 19:52:57 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-02 21:13:14 +0100
commit194312d630775e83be74018519450b318dc0f70b (patch)
treeba6547b6387594c167082cda54a1f4632e876428 /gnu/packages/python-check.scm
parent96fdd95d2057bd30020d9987adf82245b4da3ecc (diff)
gnu: python-codacy-coverage: Switch to pyproject.
* gnu/packages/python-check.scm (python-codacy-coverage): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools, python-wheel. [description]: Run guix style. Change-Id: I0d47d6bc793e70753df3b59a8b97eb739074627c Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm32
1 files changed, 19 insertions, 13 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 216d82da593..877e8a21186 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -370,22 +370,28 @@ written in pure Python.")
(name "python-codacy-coverage")
(version "1.3.11")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "codacy-coverage" version))
- (sha256
- (base32
- "1g0c0w56xdkmqb8slacyw5qhzrkp814ng3ddh2lkiij58y9m2imr"))))
- (build-system python-build-system)
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/codacy/python-codacy-coverage")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1cxq2c6wyzynqjvc5szyhwvzdz4g3a4dv6bx80w4k4d9p40699hv"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #f)); no tests
- (propagated-inputs
- (list python-check-manifest python-requests))
+ (list
+ ;; XXX: Pytest is unable to find tests, even with common tricks.
+ ;; TODO: Run tox.ini unittests after next python-team merge.
+ #:tests? #f))
+ (native-inputs (list python-setuptools python-wheel))
+ (propagated-inputs (list python-check-manifest python-requests))
(home-page "https://github.com/codacy/python-codacy-coverage")
(synopsis "Codacy coverage reporter for Python")
- (description "This package analyses Python test suites and reports how much
-of the code is covered by them. This tool is part of the Codacy suite for
-analysing code quality.")
+ (description
+ "This package analyses Python test suites and reports how much of the
+code is covered by them. This tool is part of the Codacy suite for analysing
+code quality.")
(license license:expat)))
(define-public python-covdefaults