Re: [PATCH 2/8] gnu: Add python-reno.

2017-01-17 Thread Hartmut Goebel
Am 17.01.2017 um 23:25 schrieb Danny Milosavljevic:
> +("python-pbr" ,python-pbr)

AFAIK this is a "library that injects some useful and sensible default
behaviors into your setuptools run." So I assume this should be a native
import. If it is indeed needed as run-time, I suggest adding a short
comment for what, otherwise others may stumble on this, too.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel  | h.goe...@crazy-compilers.com   |
| www.crazy-compilers.com | compilers which you thought are impossible |




Re: [PATCH 2/8] gnu: Add python-reno.

2017-01-17 Thread Marius Bakke
Danny Milosavljevic  writes:

> * gnu/packages/openstack.scm (python-reno, python2-reno): New variables.
> ---
>  gnu/packages/openstack.scm | 25 +
>  1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index da5b5f7c8..338d35d13 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -550,6 +550,31 @@ in transmittable and storable formats, such as JSON and 
> MessagePack.")
>  (define-public python2-oslo.serialization
>(package-with-python2 python-oslo.serialization))
>  
> +(define-public python-reno
> +  (package
> +(name "python-reno")
> +(version "2.0.3")
> +(source
> +  (origin
> +(method url-fetch)
> +(uri (pypi-uri "reno" version))
> +(sha256
> +  (base32 "1i2wnn5fnm3jm5774pahg000q0lma5i913hml91bbbm2mybphndd"
> +(build-system python-build-system)
> +(propagated-inputs
> +  `(("python-babel" ,python-babel)
> +("python-dulwich" ,python-dulwich)
> +("python-pbr" ,python-pbr)
> +("python-pyyaml" ,python-pyyaml)
> +("python-six" ,python-six)))
> +(home-page "http://docs.openstack.org/developer/reno/";)
> +(synopsis "Release notes manager")
> +(description "This package provides a release notes manager for Python.")

I would (well, did) mention that this is for a particular usage of
"release notes":

(description
 "Reno is a tool for storing release notes in a git repository and
building documentation from them.")

I think that is better, so users know up front if this is something they
are interested in.

> +(license asl2.0)))
> +
> +(define-public python2-reno
> +  (package-with-python2 python-reno))
> +
>  (define-public python-oslosphinx
>(package
>  (name "python-oslosphinx")


signature.asc
Description: PGP signature


[PATCH 2/8] gnu: Add python-reno.

2017-01-17 Thread Danny Milosavljevic
* gnu/packages/openstack.scm (python-reno, python2-reno): New variables.
---
 gnu/packages/openstack.scm | 25 +
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index da5b5f7c8..338d35d13 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -550,6 +550,31 @@ in transmittable and storable formats, such as JSON and 
MessagePack.")
 (define-public python2-oslo.serialization
   (package-with-python2 python-oslo.serialization))
 
+(define-public python-reno
+  (package
+(name "python-reno")
+(version "2.0.3")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "reno" version))
+(sha256
+  (base32 "1i2wnn5fnm3jm5774pahg000q0lma5i913hml91bbbm2mybphndd"
+(build-system python-build-system)
+(propagated-inputs
+  `(("python-babel" ,python-babel)
+("python-dulwich" ,python-dulwich)
+("python-pbr" ,python-pbr)
+("python-pyyaml" ,python-pyyaml)
+("python-six" ,python-six)))
+(home-page "http://docs.openstack.org/developer/reno/";)
+(synopsis "Release notes manager")
+(description "This package provides a release notes manager for Python.")
+(license asl2.0)))
+
+(define-public python2-reno
+  (package-with-python2 python-reno))
+
 (define-public python-oslosphinx
   (package
 (name "python-oslosphinx")