~ruther/guix-local

8da504bf236ae1e45068bf1249af7db1a94be4ef — Sharlatan Hellseher 1 year, 11 months ago 50e9ce5
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
1 files changed, 14 insertions(+), 7 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +14 -7
@@ 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