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
This commit is contained in:
Sharlatan Hellseher 2024-11-29 10:30:50 +00:00
parent 50e9ce5f22
commit 8da504bf23
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

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