aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2015-10-12 23:27:16 +0200
committerCyril Roelandt <tipecaml@gmail.com>2015-11-03 21:38:13 +0100
commitaee6412ad8525f25b7dabe02ef5af23485f1e196 (patch)
treefe9e8ec1fe14b241af44bc04989218ae217ac855
parenta3fc12daa7ee35d78180c21fa5d62616108fef53 (diff)
downloadguix-aee6412ad8525f25b7dabe02ef5af23485f1e196.tar.gz
guix-aee6412ad8525f25b7dabe02ef5af23485f1e196.zip
gnu: Add python-oslo.log.
* gnu/packages/openstack.scm (python-oslo.log, python2-oslo.log): New variables.
-rw-r--r--gnu/packages/openstack.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index d8f3bd364b..7581e6a5e7 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -460,6 +460,47 @@ in an application or library.")
(define-public python2-oslo.i18n
(package-with-python2 python-oslo.i18n))
+(define-public python-oslo.log
+ (package
+ (name "python-oslo.log")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/o/oslo.log/oslo.log-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1fhy6yvbd565nv4x4i3ppyrlbmz3yy9d0xsvw5nkqsa7g43nmf8z"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-debtcollector" ,python-debtcollector)
+ ("python-oslo.config" ,python-oslo.config)
+ ("python-oslo.context" ,python-oslo.context)
+ ("python-oslo.i18n" ,python-oslo.i18n)
+ ("python-oslo.utils" ,python-oslo.utils)
+ ("python-oslo.serialization" ,python-oslo.serialization)
+ ("python-six" ,python-six)))
+ (inputs
+ `(("python-babel" ,python-babel)
+ ("python-iso8601" ,python-iso8601)
+ ("python-mock" ,python-mock)
+ ("python-oslotest" ,python-oslotest)
+ ("python-pbr" ,python-pbr)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "http://launchpad.net/oslo")
+ (synopsis "Python logging library of the Oslo project")
+ (description
+ "The oslo.log (logging) configuration library provides standardized
+configuration for all OpenStack projects. It also provides custom formatters,
+handlers and support for context specific logging (like resource id’s etc).")
+ (license asl2.0)))
+
+(define-public python2-oslo.log
+ (package-with-python2 python-oslo.log))
+
(define-public python-oslo.serialization
(package
(name "python-oslo.serialization")