gnu: python-mccabe: Update to 0.4.0.

* gnu/packages/python.scm (python-mccabe): Update to 0.4.0.
[inputs]: Add python-pytest, python-pytest-runner.
(python-mccabe-0.2.1)[inputs]: Only use python-setuptools.
This commit is contained in:
Efraim Flashner 2016-02-25 20:19:43 +02:00
parent 43789136d2
commit c6ebd40da1
1 changed files with 8 additions and 8 deletions

View File

@ -5108,20 +5108,19 @@ PEP 8.")
(define-public python-mccabe (define-public python-mccabe
(package (package
(name "python-mccabe") (name "python-mccabe")
(version "0.3.1") (version "0.4.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (pypi-uri "mccabe" version))
"https://pypi.python.org/packages/source/m/mccabe/mccabe-"
version
".tar.gz"))
(sha256 (sha256
(base32 (base32
"05ix3vdv5hjk4irl97n2n3c4g1vqvz7dbmkzs13f3bx97bxsczjz")))) "0yr08a36h8lqlif10l4xcikbbig7q8f41gqywir7rrvnv3mi4aws"))))
(build-system python-build-system) (build-system python-build-system)
(inputs (inputs
`(("python-setuptools" ,python-setuptools))) `(("python-pytest" ,python-pytest)
("python-pytest-runner" ,python-pytest-runner)
("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/flintwork/mccabe") (home-page "https://github.com/flintwork/mccabe")
(synopsis "McCabe checker, plugin for flake8") (synopsis "McCabe checker, plugin for flake8")
(description (description
@ -5141,7 +5140,8 @@ complexity of Python source code.")
(uri (pypi-uri "mccabe" version)) (uri (pypi-uri "mccabe" version))
(sha256 (sha256
(base32 (base32
"0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs")))))) "0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs"))))
(inputs `(("python-setuptools", python-setuptools)))))
(define-public python2-mccabe-0.2.1 (define-public python2-mccabe-0.2.1
(package-with-python2 python-mccabe-0.2.1)) (package-with-python2 python-mccabe-0.2.1))