From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: [PATCH 3/5] gnu: Add python2-tracing. Date: Wed, 8 Mar 2017 23:28:33 +0530 Message-ID: <20170308175835.19402-3-arunisaac@systemreboot.net> References: <20170308175835.19402-1-arunisaac@systemreboot.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clh8O-0006Ww-VE for guix-devel@gnu.org; Wed, 08 Mar 2017 14:20:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clh8N-0001YH-Be for guix-devel@gnu.org; Wed, 08 Mar 2017 14:20:28 -0500 Received: from [117.218.232.8] (port=60212 helo=systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clh8M-0001Vp-SP for guix-devel@gnu.org; Wed, 08 Mar 2017 14:20:27 -0500 Received: from [117.192.110.183] (helo=systemreboot.net) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88) (envelope-from ) id 1clfrI-0000NY-6J for guix-devel@gnu.org; Wed, 08 Mar 2017 23:28:44 +0530 In-Reply-To: <20170308175835.19402-1-arunisaac@systemreboot.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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