[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: Add python-oslo.utils.
From: |
Cyril Roelandt |
Subject: |
08/08: gnu: Add python-oslo.utils. |
Date: |
Sun, 13 Sep 2015 22:51:45 +0000 |
steap pushed a commit to branch master
in repository guix.
commit 27cc9f2544295659fd6cca0572841cd3aa5e9456
Author: Cyril Roelandt <address@hidden>
Date: Wed Sep 9 01:33:40 2015 +0200
gnu: Add python-oslo.utils.
* gnu/packages/openstack.scm (python-oslo.utils, python2-oslo.utils): New
variables.
---
gnu/packages/openstack.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 49 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index c099846..a9db3f2 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -327,3 +327,52 @@ and better support for mocking results.")
(define-public python2-oslotest
(package-with-python2 python-oslotest))
+
+(define-public python-oslo.utils
+ (package
+ (name "python-oslo.utils")
+ (version "2.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://pypi.python.org/packages/source/o/oslo.utils/oslo.utils-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "11b073gblhzkxhi1j6sqk3apq2ll8xhi9h9g9kxzx9dycqdq0qp0"))
+ (snippet
+ '(begin
+ ;; FIXME: setuptools fails to import this file during the test
+ ;; phase.
+ (delete-file "oslo_utils/tests/test_netutils.py")))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-debtcollector" ,python-debtcollector)
+ ("python-oslo.i18n" ,python-oslo.i18n)
+ ("python-iso8601" ,python-iso8601)
+ ("python-monotonic" ,python-monotonic)
+ ("python-netaddr" ,python-netaddr)
+ ("python-netifaces" ,python-netifaces)
+ ("python-pytz" ,python-pytz)
+ ("python-six" ,python-six)))
+ (inputs
+ `(("python-babel" ,python-babel)
+ ("python-pbr" ,python-pbr)
+ ("python-setuptools" ,python-setuptools)
+ ;; Tests.
+ ("python-oslotest" ,python-oslotest)
+ ("python-mock" ,python-mock)
+ ("python-mox3" ,python-mox3)
+ ("python-testscenarios" ,python-testscenarios)))
+ (home-page "http://launchpad.net/oslo")
+ (synopsis "Oslo utility library")
+ (description
+ "The @code{oslo.utils} library provides support for common utility type
+functions, such as encoding, exception handling, string manipulation, and time
+handling.")
+ (license asl2.0)))
+
+(define-public python2-oslo.utils
+ (package-with-python2 python-oslo.utils))
- branch master updated (59ef203 -> 27cc9f2), Cyril Roelandt, 2015/09/13
- 01/08: gnu: Add python-netaddr., Cyril Roelandt, 2015/09/13
- 02/08: gnu: Add python-stevedore., Cyril Roelandt, 2015/09/13
- 03/08: gnu: Add python-oslo.config., Cyril Roelandt, 2015/09/13
- 04/08: gnu: Add python-wrapt, Cyril Roelandt, 2015/09/13
- 05/08: gnu: Add python-iso8601., Cyril Roelandt, 2015/09/13
- 06/08: gnu: Add python-monotonic., Cyril Roelandt, 2015/09/13
- 07/08: gnu: Add python-debtcollector., Cyril Roelandt, 2015/09/13
- 08/08: gnu: Add python-oslo.utils.,
Cyril Roelandt <=