From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 4/5] gnu: Add python-mccabe-0.2.1 Date: Thu, 17 Sep 2015 16:23:48 +0200 Message-ID: <1442499829-13894-5-git-send-email-tipecaml@gmail.com> References: <1442499829-13894-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zca6X-0000rd-3M for guix-devel@gnu.org; Thu, 17 Sep 2015 10:24:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zca6T-0003TW-55 for guix-devel@gnu.org; Thu, 17 Sep 2015 10:24:05 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:35102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zca6S-0003TE-Tk for guix-devel@gnu.org; Thu, 17 Sep 2015 10:24:01 -0400 Received: by wicge5 with SMTP id ge5so121215171wic.0 for ; Thu, 17 Sep 2015 07:24:00 -0700 (PDT) In-Reply-To: <1442499829-13894-1-git-send-email-tipecaml@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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