From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 2/4] gnu: Add python-oslo.context. Date: Mon, 14 Sep 2015 23:23:21 +0200 Message-ID: <1442265803-26218-3-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]:57148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbbEi-0003uO-R9 for guix-devel@gnu.org; Mon, 14 Sep 2015 17:24:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbbEb-0000Hs-HX for guix-devel@gnu.org; Mon, 14 Sep 2015 17:24:28 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:35941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbbEb-0000Dj-CZ for guix-devel@gnu.org; Mon, 14 Sep 2015 17:24:21 -0400 Received: by wicgb1 with SMTP id gb1so2322853wic.1 for ; Mon, 14 Sep 2015 14:23:31 -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.context, python2-oslo.context): New variables. --- gnu/packages/openstack.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 04ddbb3..1a2af79 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -253,6 +253,37 @@ extensions.") (define-public python2-oslo.config (package-with-python2 python-oslo.config)) +(define-public python-oslo.context + (package + (name "python-oslo.context") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/o/oslo.context/" + "oslo.context-" version ".tar.gz")) + (sha256 + (base32 + "16wr9qrkc3lb94ssb14qid4liza66x316fvzjw0izg67h1a0fm86")))) + (build-system python-build-system) + (inputs + `(("python-babel" ,python-babel) + ("python-pbr" ,python-pbr) + ("python-setuptools" ,python-setuptools) + ;; Tests. + ("python-oslotest" ,python-oslotest))) + (home-page "http://launchpad.net/oslo") + (synopsis "Oslo context library") + (description + "The Oslo context library has helpers to maintain useful information +about a request context. The request context is usually populated in the WSGI +pipeline and used by various modules such as logging.") + (license asl2.0))) + +(define-public python2-oslo.context + (package-with-python2 python-oslo.context)) + (define-public python-oslo.i18n (package (name "python-oslo.i18n") -- 2.1.4