From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 52177@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#52177] [PATCH v2] gnu: Add pudb.
Date: Fri, 3 Dec 2021 02:44:50 -0500 [thread overview]
Message-ID: <20211203074449.21071-1-jgart@dismail.de> (raw)
In-Reply-To: <20211129110750.539-1-jgart@dismail.de>
This patch version just updates the python-pygments propagated-input to
not use the fixed variable.
all best,
jgart
* gnu/packages/python-xyz.scm (pudb): New variable.
---
gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b7fff3cd89..0c9e28c2da 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28088,6 +28088,45 @@ (define-public python-sgmllib3k
Mark-up Language}.")
(license license:bsd-3)))
+(define-public pudb
+ (package
+ (name "pudb")
+ (version "2021.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pudb" version))
+ (sha256
+ (base32 "0p16pvzfa3w02ybg3n0iy5rs23z4rz4a42lb8wh3mcq62y9ik2w7"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'fix-read-only-home
+ (lambda _
+ (setenv "HOME" "/tmp")))
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest")))))))
+ (native-inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-mock" ,python-pytest-mock)))
+ (propagated-inputs
+ `(("python-jedi" ,python-jedi)
+ ("python-pygments" ,python-pygments)
+ ("python-urwid" ,python-urwid)
+ ("python-urwid-readline" ,python-urwid-readline)))
+ (home-page "https://documen.tician.de/pudb/")
+ (synopsis "Console-based Python debugger")
+ (description
+"@command{pudb} is a full-screen, console-based Python debugger
+providing all the niceties of modern GUI-based debuggers in a more
+lightweight and keyboard-friendly package.")
+ (license license:expat)))
+
(define-public python-iwlib
(package
(name "python-iwlib")
--
2.34.0
next prev parent reply other threads:[~2021-12-03 7:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-29 11:07 [bug#52177] [PATCH] gnu: Add pudb jgart via Guix-patches via
2021-12-03 7:44 ` jgart via Guix-patches via [this message]
2021-12-05 11:19 ` [bug#52177] [PATCH v2] " Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211203074449.21071-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=52177@debbugs.gnu.org \
--cc=jgart@dismail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.