From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: Re: [PATCH 1/4] gnu: Add python-oslo.serialization. Date: Tue, 15 Sep 2015 18:34:49 +0200 Message-ID: <87h9mvabfa.fsf@openmailbox.org> References: <1442265803-26218-1-git-send-email-tipecaml@gmail.com> <1442265803-26218-2-git-send-email-tipecaml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbtKJ-0007pF-4B for guix-devel@gnu.org; Tue, 15 Sep 2015 12:43:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbtKE-00053J-Sm for guix-devel@gnu.org; Tue, 15 Sep 2015 12:43:27 -0400 Received: from smtp4.openmailbox.org ([62.4.1.38]:55838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbtKE-000530-MW for guix-devel@gnu.org; Tue, 15 Sep 2015 12:43:22 -0400 In-Reply-To: <1442265803-26218-2-git-send-email-tipecaml@gmail.com> (Cyril Roelandt's message of "Mon, 14 Sep 2015 23:23:20 +0200") 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: Cyril Roelandt Cc: guix-devel@gnu.org Cyril Roelandt 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