[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/5] gnu: Add python-mccabe-0.2.1
From: |
Cyril Roelandt |
Subject: |
[PATCH 4/5] gnu: Add python-mccabe-0.2.1 |
Date: |
Thu, 17 Sep 2015 16:23:48 +0200 |
* gnu/packages/python.scm (python-mccabe-0.2.1,
python2-mccabe-0.2.1): New variables.
---
gnu/packages/python.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0117eb7..cecd750 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4464,6 +4464,24 @@ complexity of Python source code.")
(define-public python2-mccabe
(package-with-python2 python-mccabe))
+;; XXX Hacking requires this specific version of mccabe.
+;; This should be removed ASAP.
+(define-public python-mccabe-0.2.1
+ (package (inherit python-mccabe)
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/m/mccabe/mccabe-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs"))))))
+
+(define-public python2-mccabe-0.2.1
+ (package-with-python2 python-mccabe-0.2.1))
+
;; Flake8 2.4.1 requires an older version of pep8.
;; This should be removed ASAP.
(define-public python-pep8-1.5.7
--
2.1.4
- [PATCH 0/5] New packages, simple fixes for openstack/python, Cyril Roelandt, 2015/09/17
- [PATCH 2/5] gnu: Fix the definition of python2-pyflakes-0.8.1., Cyril Roelandt, 2015/09/17
- [PATCH 3/5] gnu: Add python2-pyflakes., Cyril Roelandt, 2015/09/17
- [PATCH 1/5] gnu: Add python-prettytable, Cyril Roelandt, 2015/09/17
- [PATCH 5/5] gnu: Add python2-keyring., Cyril Roelandt, 2015/09/17
- [PATCH 4/5] gnu: Add python-mccabe-0.2.1,
Cyril Roelandt <=
- Re: [PATCH 0/5] New packages, simple fixes for openstack/python, Cyril Roelandt, 2015/09/19