From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 2/2] gnu: Add oslo.i18n. Date: Wed, 2 Sep 2015 01:04:16 +0200 Message-ID: <1441148656-303-3-git-send-email-tipecaml@gmail.com> References: <1441148656-303-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWubU-0007Ba-8w for guix-devel@gnu.org; Tue, 01 Sep 2015 19:04:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWubT-0003YI-64 for guix-devel@gnu.org; Tue, 01 Sep 2015 19:04:36 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:38837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWubT-0003YC-0v for guix-devel@gnu.org; Tue, 01 Sep 2015 19:04:35 -0400 Received: by wiclp12 with SMTP id lp12so803694wic.1 for ; Tue, 01 Sep 2015 16:04:34 -0700 (PDT) In-Reply-To: <1441148656-303-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.i18n, python2-oslo.i18n): New variables. --- gnu/packages/openstack.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index ddd2f50..8e96455 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -140,6 +140,40 @@ and sensible default behaviors into your setuptools run.") (package-with-python2 python-pbr)) ;; Packages from the Oslo library +(define-public python-oslo.i18n + (package + (name "python-oslo.i18n") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/o/oslo.i18n/oslo.i18n-" + version + ".tar.gz")) + (sha256 + (base32 + "0762dwhaswqqkg5qff11cd4y4b8vbh4qrqh9bd24cv8h75ay2f0s")))) + (build-system python-build-system) + (propagated-inputs + `(("python-babel" ,python-babel) + ("python-six" ,python-six))) + (inputs + `(("python-pbr" ,python-pbr) + ("python-setuptools" ,python-setuptools) + ;; Tests + ("python-mock" ,python-mock) + ("python-mox3" ,python-mox3) + ("python-oslotest" ,python-oslotest) + ("python-testscenarios" ,python-testscenarios))) + (home-page "http://launchpad.net/oslo") + (synopsis "Oslo i18n library") + (description "Oslo i18n library") + (license asl2.0))) + +(define-public python2-oslo.i18n + (package-with-python2 python-oslo.i18n)) + (define-public python-oslotest (package (name "python-oslotest") -- 2.1.4