guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/14: gnu: python-mccabe: Update to 0.4.0.


From: Efraim Flashner
Subject: 12/14: gnu: python-mccabe: Update to 0.4.0.
Date: Thu, 25 Feb 2016 19:22:31 +0000

efraim pushed a commit to branch master
in repository guix.

commit c6ebd40da1bb9ea43f6fec295bcd8a22b978baaf
Author: Efraim Flashner <address@hidden>
Date:   Thu Feb 25 20:19:43 2016 +0200

    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.
---
 gnu/packages/python.scm |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4a7247e..ed97c70 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5108,20 +5108,19 @@ PEP 8.")
 (define-public python-mccabe
   (package
     (name "python-mccabe")
-    (version "0.3.1")
+    (version "0.4.0")
     (source
       (origin
         (method url-fetch)
-        (uri (string-append
-               "https://pypi.python.org/packages/source/m/mccabe/mccabe-";
-               version
-               ".tar.gz"))
+        (uri (pypi-uri "mccabe" version))
         (sha256
           (base32
-            "05ix3vdv5hjk4irl97n2n3c4g1vqvz7dbmkzs13f3bx97bxsczjz"))))
+            "0yr08a36h8lqlif10l4xcikbbig7q8f41gqywir7rrvnv3mi4aws"))))
     (build-system python-build-system)
     (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";)
     (synopsis "McCabe checker, plugin for flake8")
     (description
@@ -5141,7 +5140,8 @@ complexity of Python source code.")
         (uri (pypi-uri "mccabe" version))
         (sha256
           (base32
-            "0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs"))))))
+            "0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs"))))
+    (inputs `(("python-setuptools", python-setuptools)))))
 
 (define-public python2-mccabe-0.2.1
   (package-with-python2 python-mccabe-0.2.1))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]