unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: guix-devel@gnu.org
Subject: [PATCH 3/5] gnu: Add python2-tracing.
Date: Wed,  8 Mar 2017 23:28:33 +0530	[thread overview]
Message-ID: <20170308175835.19402-3-arunisaac@systemreboot.net> (raw)
In-Reply-To: <20170308175835.19402-1-arunisaac@systemreboot.net>

* 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 443958548..70833773f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13489,3 +13489,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 `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

  parent reply	other threads:[~2017-03-08 19:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08 17:58 [PATCH 1/5] gnu: Add python2-cliapp Arun Isaac
2017-03-08 17:58 ` [PATCH 2/5] gnu: Add python2-ttystatus Arun Isaac
2017-03-08 17:58 ` Arun Isaac [this message]
2017-03-08 17:58 ` [PATCH 4/5] gnu: Add python2-larch Arun Isaac
2017-03-08 17:58 ` [PATCH 5/5] gnu: Add obnam Arun Isaac
2017-03-09 16:23   ` Marius Bakke
2017-03-09 17:29     ` Arun Isaac
  -- strict thread matches above, loose matches on Subject: below --
2017-03-08 10:12 [PATCH 1/5] gnu: Add python2-cliapp Arun Isaac
2017-03-08 10:12 ` [PATCH 3/5] gnu: Add python2-tracing Arun Isaac

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=20170308175835.19402-3-arunisaac@systemreboot.net \
    --to=arunisaac@systemreboot.net \
    --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).