mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 05:39:41 -05:00
gnu: Add python-stevedore.
* gnu/packages/openstack.scm (python-stevedore, python2-stevedore): New variables.
This commit is contained in:
parent
6e5e39f406
commit
673d1a9deb
1 changed files with 41 additions and 0 deletions
|
@ -139,6 +139,47 @@ (define-public python-pbr
|
||||||
(define-public python2-pbr
|
(define-public python2-pbr
|
||||||
(package-with-python2 python-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
|
;; Packages from the Oslo library
|
||||||
(define-public python-oslo.i18n
|
(define-public python-oslo.i18n
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue