From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 3/3] gnu: Add python-oslo.config. Date: Tue, 8 Sep 2015 00:35:35 +0200 Message-ID: <1441665335-31855-4-git-send-email-tipecaml@gmail.com> References: <1441665335-31855-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ50u-00034M-M2 for guix-devel@gnu.org; Mon, 07 Sep 2015 18:35:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZ50s-0007Lp-N6 for guix-devel@gnu.org; Mon, 07 Sep 2015 18:35:48 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:35875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ50s-0007Lj-Gz for guix-devel@gnu.org; Mon, 07 Sep 2015 18:35:46 -0400 Received: by wicgb1 with SMTP id gb1so58107754wic.1 for ; Mon, 07 Sep 2015 15:35:46 -0700 (PDT) In-Reply-To: <1441665335-31855-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.config, python2-oslo.config): New variables. --- gnu/packages/openstack.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index e5ba867..dc30207 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -183,6 +183,43 @@ extensions.") (package-with-python2 python-stevedore)) ;; Packages from the Oslo library +(define-public python-oslo.config + (package + (name "python-oslo.config") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/o/oslo.config/oslo.config-" + version + ".tar.gz")) + (sha256 + (base32 + "13r778jfb0fhna37c2pd1f2xipnsbd7zli7qhn96acrzymrwj5k1")))) + (build-system python-build-system) + (propagated-inputs + `(("python-netaddr" ,python-netaddr) + ("python-six" ,python-six) + ("python-stevedore" ,python-stevedore))) + (inputs + `(("python-pbr" ,python-pbr) + ("python-setuptools" ,python-setuptools) + ;; Tests + ("python-oslo.i18n" ,python-oslo.i18n) + ("python-mock" ,python-mock) + ("python-oslotest" ,python-oslotest) + ("python-testscenarios" ,python-testscenarios))) + (home-page "https://launchpad.net/oslo") + (synopsis "Oslo Configuration API") + (description + "The Oslo configuration API supports parsing command line arguments and +.ini style configuration files.") + (license asl2.0))) + +(define-public python2-oslo.config + (package-with-python2 python-oslo.config)) + (define-public python-oslo.i18n (package (name "python-oslo.i18n") -- 2.1.4