From: Cyril Roelandt <tipecaml@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 5/5] gnu: Add python-oslo.utils.
Date: Wed, 9 Sep 2015 01:34:24 +0200 [thread overview]
Message-ID: <1441755264-6790-5-git-send-email-tipecaml@gmail.com> (raw)
In-Reply-To: <1441755264-6790-1-git-send-email-tipecaml@gmail.com>
* gnu/packages/openstack.scm (python-oslo.utils, python2-oslo.utils): New variables.
---
gnu/packages/openstack.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index b73e0d9..ed87904 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -328,3 +328,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 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))
--
2.1.4
next prev parent reply other threads:[~2015-09-08 23:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 23:34 [PATCH 1/5] gnu: Add python-wrapt Cyril Roelandt
2015-09-08 23:34 ` [PATCH 2/5] gnu: Add python-iso8601 Cyril Roelandt
2015-09-13 9:45 ` Ludovic Courtès
2015-09-08 23:34 ` [PATCH 3/5] gnu: Add python-monotonic Cyril Roelandt
2015-09-13 9:46 ` Ludovic Courtès
2015-09-08 23:34 ` [PATCH 4/5] gnu: Add python-debtcollector Cyril Roelandt
2015-09-13 9:49 ` Ludovic Courtès
2015-09-08 23:34 ` Cyril Roelandt [this message]
2015-09-13 9:50 ` [PATCH 5/5] gnu: Add python-oslo.utils Ludovic Courtès
2015-09-13 9:44 ` [PATCH 1/5] gnu: Add python-wrapt Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441755264-6790-5-git-send-email-tipecaml@gmail.com \
--to=tipecaml@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).