guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: Add python2-tracing.


From: Marius Bakke
Subject: 03/04: gnu: Add python2-tracing.
Date: Thu, 9 Mar 2017 11:24:15 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit c220f0b4740fb95e1b8e27d1a6fca00b68dd6df0
Author: Arun Isaac <address@hidden>
Date:   Wed Mar 8 23:28:33 2017 +0530

    gnu: Add python2-tracing.
    
    * gnu/packages/python.scm (python2-tracing): New variable.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7783cf9..2e68db7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13541,3 +13541,29 @@ command line 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 "@code{python2-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 @code{logging.Filter} to accomplish the same thing, which
+matters when code is run in production mode.  The actual logging still
+happens using the @code{logging} library.")
+    (license license:gpl3+)))



reply via email to

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