unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add python-pprofile.
@ 2017-02-06  9:05 Danny Milosavljevic
  2017-02-06 10:51 ` Ben Woodcroft
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2017-02-06  9:05 UTC (permalink / raw)
  To: guix-devel

* 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))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add python-pprofile.
  2017-02-06  9:05 [PATCH] gnu: Add python-pprofile Danny Milosavljevic
@ 2017-02-06 10:51 ` Ben Woodcroft
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Woodcroft @ 2017-02-06 10:51 UTC (permalink / raw)
  To: Danny Milosavljevic, guix-devel

Hi Danny,

On 06/02/17 19:05, Danny Milosavljevic wrote:
> * gnu/packages/python.scm (python-pprofile, python2-pprofile): New variables.
LGTM, thanks.
ben

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-06 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-06  9:05 [PATCH] gnu: Add python-pprofile Danny Milosavljevic
2017-02-06 10:51 ` Ben Woodcroft

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).