summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2022-03-07 00:37:25 -0500
committerGuix Patches Tester <>2022-03-07 05:40:22 +0000
commit7291296dce31f70eb2ac138cd18dded468a36a59 (patch)
tree6013be44931aaa2a9237773b178e4c8d6860c455
parente7886fd6746267e26cf11628f96d8082680b496f (diff)
downloadguix-patches-7291296dce31f70eb2ac138cd18dded468a36a59.tar
guix-patches-7291296dce31f70eb2ac138cd18dded468a36a59.tar.gz
gnu: Add python-pytest-pudb.
* gnu/packages/python-xyz.scm (python-pytest-pudb): New variable. Co-authored-by: BonfaceKilz <me@bonfacemunyoki.com>
-rw-r--r--gnu/packages/python-xyz.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d3d7b7160d..ba0c8489f6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28704,6 +28704,41 @@ all the niceties of modern GUI-based debuggers in a more lightweight and
keyboard-friendly package.")
(license license:expat)))
+(define-public python-pytest-pudb
+ ;; PyPi does not include tests
+ (let ((commit "a6b3d2f4d35e558d72bccff472ecde9c9d9c69e5")
+ (revision "0"))
+ (package
+ (name "python-pytest-pudb")
+ (version "0.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wronglink/pytest-pudb")
+ (commit commit)))
+ (file-name (string-append name "-" commit))
+ (sha256
+ (base32 "1c0pypxx3y8w7s5bz9iy3w3aablnhn81rnhmb0is8hf2qpm6k3w0"))))
+ (build-system python-build-system)
+ (propagated-inputs (list pudb))
+ (native-inputs
+ (list python-pytest))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-v")))))))
+ (home-page "https://github.com/wronglink/pytest-pudb")
+ (synopsis "Pytest PuDB debugger integration")
+ (description
+ "@code{python-pytest-pudb} provides PuDB debugger integration based on
+ pytest PDB integration.")
+ (license license:expat))))
+
(define-public python-iwlib
(package
(name "python-iwlib")