guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/5] gnu: Add python2-tracing.


From: Arun Isaac
Subject: [PATCH 3/5] gnu: Add python2-tracing.
Date: Wed, 8 Mar 2017 15:42:30 +0530

* gnu/packages/python.scm (python2-tracing): New variable.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b90e52341..5bb5ccf50 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13489,3 +13489,29 @@ programs.  Output is automatically adapted to the 
width of the
 terminal: truncated if it does not fit, and resized if the terminal
 size changes.")
     (license license:gpl3+)))
+
+(define-public python2-tracing
+  (package
+    (name "python2-tracing")
+    (version "0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             
"http://git.liw.fi/cgi-bin/cgit/cgit.cgi/python-tracing/snapshot/tracing-";
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "06cw4zg42fsvqy372vi2whj26w56vzg5axhzwdjc2bgwf03garbw"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (home-page "https://liw.fi/tracing/";)
+    (synopsis "Python debug logging helper")
+    (description "Tracing is a python library for logging debug
+messages.  It provides a way to turn debugging messages on and off,
+based on the filename they occur in.  It is much faster than using
+`logging.Filter` to accomplish the same thing, which matters when code
+is run in production mode.  The actual logging still happens using the
+`logging` library.")
+    (license license:gpl3+)))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]