From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 06/11] gnu: Add oslo.context. Date: Thu, 16 Jul 2015 01:32:26 +0200 Message-ID: <1437003151-23838-7-git-send-email-tipecaml@gmail.com> References: <1437003151-23838-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFWAW-0003Tv-J1 for guix-devel@gnu.org; Wed, 15 Jul 2015 19:32:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFWAU-0001OV-63 for guix-devel@gnu.org; Wed, 15 Jul 2015 19:32:52 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:37901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFWAT-0001O2-VV for guix-devel@gnu.org; Wed, 15 Jul 2015 19:32:50 -0400 Received: by wicmv11 with SMTP id mv11so1292581wic.1 for ; Wed, 15 Jul 2015 16:32:49 -0700 (PDT) In-Reply-To: <1437003151-23838-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 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 3a3b129..584a530 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -257,6 +257,38 @@ extensions.") (define-public python2-oslo.config (package-with-python2 python-oslo.config)) +(define-public python-oslo.context + (package + (name "python-oslo.context") + (version "0.4.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 + "131cn2vh4z2iggzcsqnfyi93g08x6pnsk77qilzbikp5g8x4d069")))) + (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