diff options
author | Cyril Roelandt <tipecaml@gmail.com> | 2015-09-02 00:59:42 +0200 |
---|---|---|
committer | Cyril Roelandt <tipecaml@gmail.com> | 2015-09-08 00:14:11 +0200 |
commit | 8531b326f166403298f238817db728c2d8df6bb9 (patch) | |
tree | 793895f1fe309a1118df5c0e20596be0aae1867d /gnu | |
parent | 05de40c5d342232fae86e7839baec1ebffeac022 (diff) | |
download | patches-8531b326f166403298f238817db728c2d8df6bb9.tar patches-8531b326f166403298f238817db728c2d8df6bb9.tar.gz |
gnu: Add oslo.i18n.
* gnu/packages/openstack.scm (python-oslo.i18n, python2-oslo.i18n): New
variables.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/openstack.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index a534147992..164147641c 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -140,6 +140,43 @@ and sensible default behaviors into your setuptools run.") (package-with-python2 python-pbr)) ;; Packages from the Oslo library +(define-public python-oslo.i18n + (package + (name "python-oslo.i18n") + (version "2.5.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/o/oslo.i18n/oslo.i18n-" + version + ".tar.gz")) + (sha256 + (base32 + "1kg72mqldlri3x0bhxai7j979czrd7mf8s3iflvvv0x9kn9ah4cw")))) + (build-system python-build-system) + (propagated-inputs + `(("python-babel" ,python-babel) + ("python-six" ,python-six))) + (inputs + `(("python-pbr" ,python-pbr) + ("python-setuptools" ,python-setuptools) + ;; Tests + ("python-mock" ,python-mock) + ("python-mox3" ,python-mox3) + ("python-oslotest" ,python-oslotest) + ("python-testscenarios" ,python-testscenarios))) + (home-page "http://launchpad.net/oslo") + (synopsis "Oslo internationalization (i18n) library") + (description + "The oslo.i18n library contain utilities for working with +internationalization (i18n) features, especially translation for text strings +in an application or library.") + (license asl2.0))) + +(define-public python2-oslo.i18n + (package-with-python2 python-oslo.i18n)) + (define-public python-oslotest (package (name "python-oslotest") |