[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63621] [PATCH 5/6] gnu: Add python-yappi.
From: |
Vinicius Monego |
Subject: |
[bug#63621] [PATCH 5/6] gnu: Add python-yappi. |
Date: |
Sun, 21 May 2023 03:02:09 +0000 |
* gnu/packages/python-xyz.scm (python-yappi): New variable.
---
gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9ee45ab525..c7a31e40a1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3299,6 +3299,30 @@ (define-public python-openpyxl
standard.")
(license license:expat)))
+(define-public python-yappi
+ (package
+ (name "python-yappi")
+ (version "1.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "yappi" version))
+ (sha256
+ (base32
+ "1h3zl60pi57ynb3sw7sg2wcn157jwz992y95bv5kcds3qy7msjsh"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-gevent))
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "run_tests.py")))))))
+ (home-page "https://github.com/sumerc/yappi")
+ (synopsis "Yet Another Python Profiler")
+ (description "Yappi is a tracing profiler that is multithreading, asyncio
+and gevent aware.")
+ (license license:expat)))
+
(define-public python-eventlet
(package
(name "python-eventlet")
--
2.34.1