Re: [PATCH 07/12] gnu: Add python-hacking.

2016-10-24 Thread Leo Famulari
On Mon, Oct 12, 2015 at 11:41:03PM +0200, Cyril Roelandt wrote:
> * gnu/packages/openstack.scm (python-hacking,
>   python2-hacking): New variables.

This package is failing on core-updates, because several of the
"special" old versions of its dependencies are failing to build:

https://hydra.gnu.org/build/1550461

Would anyone like to look into it?



Re: [PATCH 07/12] gnu: Add python-hacking.

2015-10-16 Thread Ludovic Courtès
Cyril Roelandt  skribis:

> * gnu/packages/openstack.scm (python-hacking,
>   python2-hacking): New variables.

[...]

> +(home-page "http://github.com/openstack-dev/hacking;)
> +(synopsis "OpenStack Hacking Guideline Enforcement")

Lowercase please, except for “OpenStack.”

> +(description
> +  "A set of flake8 plugins that test and enforce the OpenStack Style
> +  Guidelines.")

Rather:

  Python-hacking is a set of flake8 plugins that test and enforce the
  @uref{http://docs.openstack.org/developer/hacking/, OpenStack style
  guidelines}.

OK with these changes.

Thanks,
Ludo’.



[PATCH 07/12] gnu: Add python-hacking.

2015-10-12 Thread Cyril Roelandt
* 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