[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/4] gnu: Add python-oslo.serialization.
From: |
Mathieu Lirzin |
Subject: |
Re: [PATCH 1/4] gnu: Add python-oslo.serialization. |
Date: |
Tue, 15 Sep 2015 18:34:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Cyril Roelandt <address@hidden> writes:
> * gnu/packages/openstack.scm (python-oslo.serialization,
> python2-oslo.serialization): New variables.
> ---
> gnu/packages/openstack.scm | 39 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 39 insertions(+)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index a9db3f2..04ddbb3 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -290,6 +290,45 @@ in an application or library.")
> (define-public python2-oslo.i18n
> (package-with-python2 python-oslo.i18n))
>
> +(define-public python-oslo.serialization
> + (package
> + (name "python-oslo.serialization")
> + (version "1.9.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://pypi.python.org/packages/source/o/oslo.serialization/"
> + "oslo.serialization-" version ".tar.gz"))
> + (sha256
> + (base32
> + "00qaxg155s61ylh4fqc7m5fh0gijf33khhai9xvcsc9k106i3c9c"))))
(sha256
(base32
"..."))
> + (build-system python-build-system)
> + (propagated-inputs
> + `(("python-iso8601" ,python-iso8601)
> + ("python-netaddr" ,python-netaddr)
> + ("python-oslo.utils" ,python-oslo.utils)
> + ("python-simplejson" ,python-simplejson)
> + ("python-six" ,python-six)
> + ("python-pytz" ,python-pytz)))
> + (inputs
> + `(("python-babel" ,python-babel)
> + ("python-pbr" ,python-pbr)
> + ("python-setuptools" ,python-setuptools)
> + ;; Tests.
> + ("python-mock" ,python-mock)
> + ("python-oslo.i18n" ,python-oslo.i18n)
> + ("python-oslotest" ,python-oslotest)))
> + (home-page "http://launchpad.net/oslo")
> + (synopsis "Oslo serialization library")
> + (description
> + "The oslo.serialization library provides support for representing
> objects
> +in transmittable and storable formats, such as JSON and MessagePack.")
> + (license asl2.0)))
> +
> +(define-public python2-oslo.serialization
> + (package-with-python2 python-oslo.serialization))
> +
> (define-public python-oslotest
> (package
> (name "python-oslotest")
Otherwise, LGTM.
--
Mathieu Lirzin
[PATCH 2/4] gnu: Add python-oslo.context., Cyril Roelandt, 2015/09/14
Re: [PATCH 0/4] Add more dependencies of OpenStack., Cyril Roelandt, 2015/09/16