GNU bug report logs - #52177
[PATCH] gnu: Add pudb.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Mon, 29 Nov 2021 11:17:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52177 in the body.
You can then email your comments to 52177 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52177; Package guix-patches. (Mon, 29 Nov 2021 11:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 29 Nov 2021 11:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add pudb.
Date: Mon, 29 Nov 2021 06:07:51 -0500
Hi Guixers,

This is a patch for pudb, probably the nicest debugger for python ;)

This is dependent on the python-jedi upgrade in 52160:

https://issues.guix.gnu.org/52160#1

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..1693221ff0 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/fixed)
+        ("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





Information forwarded to guix-patches <at> gnu.org:
bug#52177; Package guix-patches. (Fri, 03 Dec 2021 07:47:01 GMT) Full text and rfc822 format available.

Message #8 received at 52177 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 52177 <at> debbugs.gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH v2] gnu: Add pudb.
Date: Fri,  3 Dec 2021 02:44:50 -0500
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





Information forwarded to guix-patches <at> gnu.org:
bug#52177; Package guix-patches. (Sun, 05 Dec 2021 11:20:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: jgart via Guix-patches via <guix-patches <at> gnu.org>
Cc: 52177-done <at> debbugs.gnu.org, jgart <jgart <at> dismail.de>
Subject: Re: [bug#52177] [PATCH v2] gnu: Add pudb.
Date: Sun, 05 Dec 2021 12:19:11 +0100
Hello,

jgart via Guix-patches via <guix-patches <at> gnu.org> writes:

> This patch version just updates the python-pygments propagated-input to
> not use the fixed variable.

I fixed indentation and pushed. Thank you.

Regards,
-- 
Nicolas Goaziou




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sun, 05 Dec 2021 11:20:03 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Sun, 05 Dec 2021 11:20:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 02 Jan 2022 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.