[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: Add python-pprofile.
From: |
Danny Milosavljevic |
Subject: |
[PATCH] gnu: Add python-pprofile. |
Date: |
Mon, 6 Feb 2017 10:05:51 +0100 |
* gnu/packages/python.scm (python-pprofile, python2-pprofile): New variables.
---
gnu/packages/python.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d53eea189..be9ba856f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12536,3 +12536,26 @@ console.")
This implementation is slow (hence the project name) but still useful when
faster ones are not available.")
(license license:asl2.0)))
+
+(define-public python-pprofile
+ (package
+ (name "python-pprofile")
+ (version "1.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pprofile" version))
+ (sha256
+ (base32
+ "18dqwnqir0q96q5njf2n5ikk3zbyphsnxnvqxg26p7bnc5bqvpk5"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; None exist.
+ (home-page "http://github.com/vpelletier/pprofile")
+ (synopsis "Statistical pure-Python profiler")
+ (description "@code{python-pprofile} provides a line-granularity profiler
+that is thread-aware, deterministic and does statistics, for Python.")
+ (license license:gpl2+)))
+
+(define-public python2-pprofile
+ (package-with-python2 python-pprofile))
- [PATCH] gnu: Add python-pprofile.,
Danny Milosavljevic <=