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 15:42:30 +0530 Message-ID: <20170308101232.4038-3-arunisaac@systemreboot.net> References: <20170308101232.4038-1-arunisaac@systemreboot.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clenD-0007gn-Qq for guix-devel@gnu.org; Wed, 08 Mar 2017 11:50:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clenC-0001do-Gi for guix-devel@gnu.org; Wed, 08 Mar 2017 11:50:27 -0500 Received: from [117.218.232.8] (port=59624 helo=systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clenC-0001aM-1M for guix-devel@gnu.org; Wed, 08 Mar 2017 11:50:26 -0500 Received: from [117.192.109.75] (helo=systemreboot.net) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88) (envelope-from ) id 1cldce-0000Cl-UO for guix-devel@gnu.org; Wed, 08 Mar 2017 21:05:29 +0530 In-Reply-To: <20170308101232.4038-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 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