From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 3/4] gnu: Add python-mccabe. Date: Sat, 27 Jun 2015 00:58:57 +0200 Message-ID: <1435359538-4149-4-git-send-email-tipecaml@gmail.com> References: <1435359538-4149-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8ccz-0002n7-BL for guix-devel@gnu.org; Fri, 26 Jun 2015 19:01:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8ccx-00087L-Lh for guix-devel@gnu.org; Fri, 26 Jun 2015 19:01:45 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:33002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8ccx-00087H-F5 for guix-devel@gnu.org; Fri, 26 Jun 2015 19:01:43 -0400 Received: by wiwl6 with SMTP id l6so56519151wiw.0 for ; Fri, 26 Jun 2015 16:01:42 -0700 (PDT) In-Reply-To: <1435359538-4149-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, python2-mccabe): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 12eabab..b35af55 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3953,3 +3953,28 @@ PEP 8.") (description "A simple program which checks Python source files for errors.") (license license:expat))) + +(define-public python-mccabe + (package + (name "python-mccabe") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/m/mccabe/mccabe-" + version + ".tar.gz")) + (sha256 + (base32 + "05ix3vdv5hjk4irl97n2n3c4g1vqvz7dbmkzs13f3bx97bxsczjz")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/flintwork/mccabe") + (synopsis "McCabe checker, plugin for flake8") + (description "McCabe checker, plugin for flake8") + (license expat))) + +(define-public python2-mccabe + (package-with-python2 python-mccabe)) -- 1.8.4.rc3