From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 1/4] gnu: Add python-oslo.serialization. Date: Mon, 14 Sep 2015 23:23:20 +0200 Message-ID: <1442265803-26218-2-git-send-email-tipecaml@gmail.com> References: <1442265803-26218-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbbEf-0003pD-0H for guix-devel@gnu.org; Mon, 14 Sep 2015 17:24:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbbEa-0000Gp-Jt for guix-devel@gnu.org; Mon, 14 Sep 2015 17:24:25 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:33977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbbEa-0000D7-CJ for guix-devel@gnu.org; Mon, 14 Sep 2015 17:24:20 -0400 Received: by wicfx3 with SMTP id fx3so3199024wic.1 for ; Mon, 14 Sep 2015 14:23:30 -0700 (PDT) In-Reply-To: <1442265803-26218-1-git-send-email-tipecaml@gmail.com> 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: guix-devel@gnu.org * 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")))) + (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") -- 2.1.4