From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 2/3] gnu: Add python-stevedore. Date: Tue, 8 Sep 2015 00:35:34 +0200 Message-ID: <1441665335-31855-3-git-send-email-tipecaml@gmail.com> References: <1441665335-31855-1-git-send-email-tipecaml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ50u-00034L-Lz 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 1ZZ50r-0007Le-GP for guix-devel@gnu.org; Mon, 07 Sep 2015 18:35:48 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:35370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ50r-0007LY-AS for guix-devel@gnu.org; Mon, 07 Sep 2015 18:35:45 -0400 Received: by wicge5 with SMTP id ge5so96446971wic.0 for ; Mon, 07 Sep 2015 15:35:44 -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-stevedore, python2-stevedore): New variables. --- gnu/packages/openstack.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 1641476..e5ba867 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -139,6 +139,49 @@ and sensible default behaviors into your setuptools run.") (define-public python2-pbr (package-with-python2 python-pbr)) +(define-public python-stevedore + (package + (name "python-stevedore") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/s/stevedore/stevedore-" + version + ".tar.gz")) + (sha256 + (base32 + "149pjc0c3z6khjisn4yil3f94qjnzwafz093wc8rrzbw828qdkv8")))) + (build-system python-build-system) + (propagated-inputs + `(("python-six" ,python-six))) + (inputs + `(("python-pbr" ,python-pbr) + ("python-setuptools" ,python-setuptools) + ;; Tests + ("python-docutils" ,python-docutils) + ("python-mock" ,python-mock) + ("python-oslotest" ,python-oslotest) + ("python-sphinx" ,python-sphinx))) + (home-page + "https://github.com/dreamhost/stevedore") + (synopsis + "Manage dynamic plugins for Python applications") + (description + "Python makes loading code dynamically easy, allowing you to configure +and extend your application by discovering and loading extensions (“plugins”) +at runtime. Many applications implement their own library for doing this, +using __import__ or importlib. stevedore avoids creating yet another extension +mechanism by building on top of setuptools entry points. The code for managing +entry points tends to be repetitive, though, so stevedore provides manager +classes for implementing common patterns for using dynamically loaded +extensions.") + (license asl2.0))) + +(define-public python2-stevedore + (package-with-python2 python-stevedore)) + ;; Packages from the Oslo library (define-public python-oslo.i18n (package -- 2.1.4