From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 07/12] gnu: Add python-hacking. Date: Mon, 12 Oct 2015 23:41:03 +0200 Message-ID: <1444686068-7668-8-git-send-email-tipecaml@gmail.com> References: <1444686068-7668-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkqV-0003fc-Da for guix-devel@gnu.org; Mon, 12 Oct 2015 17:41:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlkqU-00072A-FQ for guix-devel@gnu.org; Mon, 12 Oct 2015 17:41:27 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:36387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkqU-00071o-9S for guix-devel@gnu.org; Mon, 12 Oct 2015 17:41:26 -0400 Received: by wicgb1 with SMTP id gb1so164669169wic.1 for ; Mon, 12 Oct 2015 14:41:25 -0700 (PDT) In-Reply-To: <1444686068-7668-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/openstack.scm (python-hacking, python2-hacking): New variables. --- gnu/packages/openstack.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 4fd1c80..d6f9ec4 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -100,6 +100,39 @@ manner.") (define-public python2-debtcollector (package-with-python2 python-debtcollector)) +(define-public python-hacking + (package + (name "python-hacking") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hacking" version)) + (sha256 + (base32 + "1a310k3dv04jg7zvmk37h2ql7y9kf4hvdxb74bjlwdxgmy6h4wap")))) + (build-system python-build-system) + (propagated-inputs + `(("python-flake8-2.2.4" ,python-flake8-2.2.4) + ("python-mccabe-0.2.1" ,python-mccabe-0.2.1) + ("python-pbr" ,python-pbr) + ("python-pep8-1.5.7" ,python-pep8-1.5.7) + ("python-pyflakes-0.8.1" ,python-pyflakes-0.8.1) + ("python-six" ,python-six))) + (inputs + `(("python-setuptools" ,python-setuptools) + ;; Tests + ("python-testscenarios" ,python-testscenarios))) + (home-page "http://github.com/openstack-dev/hacking") + (synopsis "OpenStack Hacking Guideline Enforcement") + (description + "A set of flake8 plugins that test and enforce the OpenStack Style + Guidelines.") + (license asl2.0))) + +(define-public python2-hacking + (package-with-python2 python-hacking)) + (define-public python-mox3 (package (name "python-mox3") -- 2.1.4