From 8da504bf236ae1e45068bf1249af7db1a94be4ef Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 29 Nov 2024 10:30:50 +0000 Subject: 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]: Switch them off. [native-inputs]: Remove python-pytest-bootstrap and python-pytest-runner; add python-setuptools and python-wheel. Change-Id: I4c4023be68b17863b5b30fa5ab60fe8cd75c68a5 --- gnu/packages/python-xyz.scm | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'gnu') 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 + ;; + #: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 -- cgit v1.3