[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 4/6] gnu: Add python-reno.
From: |
Marius Bakke |
Subject: |
Re: [PATCH v2 4/6] gnu: Add python-reno. |
Date: |
Wed, 18 Jan 2017 18:51:07 +0100 |
User-agent: |
Notmuch/0.23.5 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) |
Danny Milosavljevic <address@hidden> writes:
> * gnu/packages/openstack.scm (python-reno, python-reno2): New variables.
> ---
> gnu/packages/openstack.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index b3e3f08c2..0e50236af 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -19,6 +19,7 @@
> ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
>
> (define-module (gnu packages openstack)
> + #:use-module (gnu packages gnupg)
> #:use-module (gnu packages python)
> #:use-module (gnu packages ssh)
> #:use-module (gnu packages tls)
> @@ -550,6 +551,47 @@ 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)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (add-before 'check 'init-git
> + (lambda _
> + ;; reno expects a git repo
> + (zero? (system* "git" "init")))))))
Heh. Why doesn't reno init on its own, then. Oh well.
LGTM!
> + (propagated-inputs
> + `(("python-babel" ,python-babel)
> + ("python-dulwich" ,python-dulwich)
> + ("python-pyyaml" ,python-pyyaml)
> + ("python-six" ,python-six)))
> + (native-inputs
> + `(("python-testtools" ,python-testtools)
> + ("python-pbr" ,python-pbr)
> + ("python-testscenarios" ,python-testscenarios)
> + ("python-testrepository" ,python-testrepository)
> + ("python-mock" ,python-mock)
> + ("python-oslotest" ,python-oslotest)
> + ("gnupg" ,gnupg)
> + ("git" ,git)))
> + (home-page "http://docs.openstack.org/developer/reno/")
> + (synopsis "Release notes manager")
> + (description "Reno is a tool for storing release notes in a git
> repository
> +and building documentation from them.")
> + (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 v2 3/6] gnu: Add python-dulwich., (continued)
- Re: [PATCH v2 3/6] gnu: Add python-dulwich., Danny Milosavljevic, 2017/01/19
- Re: [PATCH v2 3/6] gnu: Add python-dulwich., Danny Milosavljevic, 2017/01/19
- [PATCH v2 6/6] gnu: python-sphinx: Update to 1.5.1 and enable tests., Danny Milosavljevic, 2017/01/18
- Re: [PATCH v2 6/6] gnu: python-sphinx: Update to 1.5.1 and enable tests., Marius Bakke, 2017/01/18
- Re: [PATCH v2 6/6] gnu: python-sphinx: Update to 1.5.1 and enable tests., Danny Milosavljevic, 2017/01/18
- [PATCH v2 4/6] gnu: Add python-reno., Danny Milosavljevic, 2017/01/18
- Re: [PATCH v2 4/6] gnu: Add python-reno.,
Marius Bakke <=
- Re: [PATCH v2 4/6] gnu: Add python-reno., Danny Milosavljevic, 2017/01/19
- Re: [PATCH v2 4/6] gnu: Add python-reno., Danny Milosavljevic, 2017/01/19
- [PATCH v2 5/6] gnu: python-mox3: Remove python-oslosphinx dependency (since the tests don't run anyway)., Danny Milosavljevic, 2017/01/18
- Re: [PATCH v2 5/6] gnu: python-mox3: Remove python-oslosphinx dependency (since the tests don't run anyway)., Marius Bakke, 2017/01/18
- Re: [PATCH v2 5/6] gnu: python-mox3: Remove python-oslosphinx dependency (since the tests don't run anyway)., Danny Milosavljevic, 2017/01/18