aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-29 10:30:50 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 21:01:36 +0000
commit8da504bf236ae1e45068bf1249af7db1a94be4ef (patch)
tree99d102e79bc5fa4859466d4a7d8c42044bd8437b
parent50e9ce5f223333ca0587dd61a99668b68f8f43f2 (diff)
downloadguix-8da504bf236ae1e45068bf1249af7db1a94be4ef.tar.gz
guix-8da504bf236ae1e45068bf1249af7db1a94be4ef.zip
gnu: python-mccabe: Update to 0.7.0.
* gnu/packages/python-xyz.scm (python-mccabe): Update to 0.7.0. Improve style. [build-system]: Swap to pyrpoject-build-system [arguments]<tests>: Switch them off. [native-inputs]: Remove python-pytest-bootstrap and python-pytest-runner; add python-setuptools and python-wheel. Change-Id: I4c4023be68b17863b5b30fa5ab60fe8cd75c68a5
-rw-r--r--gnu/packages/python-xyz.scm21
1 files changed, 14 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c5ea8bc7eb..640364e89b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15236,21 +15236,28 @@ use of the Meson build system.")
(define-public python-mccabe
(package
(name "python-mccabe")
- (version "0.6.1")
+ (version "0.7.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mccabe" version))
(sha256
- (base32
- "07w3p1qm44hgxf3vvwz84kswpsx6s7kvaibzrsx5dzm0hli1i3fx"))))
- (build-system python-build-system)
+ (base32 "09b34c7jj2a0yya7fp3x7lncna4zj7pr4caj9vgvnq1vqd0053il"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Test fixtures are not released yet, see
+ ;; <https://github.com/PyCQA/mccabe/issues/93>
+ #:tests? #f))
(native-inputs
- (list python-toml python-pytest-bootstrap python-pytest-runner))
+ (list python-toml
+ python-setuptools
+ python-wheel))
(home-page "https://github.com/PyCQA/mccabe")
(synopsis "McCabe checker, plugin for flake8")
- (description "This package provides a Flake8 plug-in to compute the McCabe
-cyclomatic complexity of Python source code.")
+ (description
+ "This package provides a Flake8 plug-in to compute the McCabe cyclomatic
+complexity of Python source code.")
(license license:expat)))
(define-public python-autoflake8