guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

229/242: gnu: python-pudb: Update to 2022.1.1 and rename from pudb.


From: guix-commits
Subject: 229/242: gnu: python-pudb: Update to 2022.1.1 and rename from pudb.
Date: Wed, 11 May 2022 18:03:31 -0400 (EDT)

apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.

commit 697791aeecba78ea3861d09acaf82139a6c9002d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Apr 22 21:55:47 2022 -0400

    gnu: python-pudb: Update to 2022.1.1 and rename from pudb.
    
    Renaming rationale: pudb can also be used as a Python library (like pdb).
    
    * gnu/packages/python-xyz.scm (python-pudb): Update to 2022.1.1.
    [phases]{check}: Remove obsolete 'add-installed-pythonpath' call.  Invoke
    pytest verbosely.
    [native-inputs]: Remove python-numpy.
    [propagated-inputs]: Apply guix style.
    (pudb): Define as a deprecated alias to python-pudb.
---
 gnu/packages/python-xyz.scm | 46 ++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index aa6bb16dbe..93c6886109 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30216,32 +30216,29 @@ development, testing, production]};
 @end itemize")
     (license license:expat)))
 
-(define-public pudb
+(define-public python-pudb
   (package
-    (name "pudb")
-    (version "2021.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "pudb" version))
-       (sha256
-        (base32 "0p16pvzfa3w02ybg3n0iy5rs23z4rz4a42lb8wh3mcq62y9ik2w7"))))
+    (name "python-pudb")
+    (version "2022.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pudb" version))
+              (sha256
+               (base32
+                "0gq82hwnibby9qdyv7ri11phvg94nby4jb0w9h3jk79w89kdsfyv"))))
     (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
-     (list python-numpy python-pytest python-pytest-mock))
-    (propagated-inputs
-     (list python-jedi python-pygments python-urwid python-urwid-readline))
+     `(#:phases (modify-phases %standard-phases
+                  (add-before 'check 'fix-read-only-home
+                    (lambda _
+                      (setenv "HOME" "/tmp")))
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (when tests?
+                        (invoke "pytest" "-vv")))))))
+    (native-inputs (list python-pytest python-pytest-mock))
+    (propagated-inputs (list python-jedi python-pygments python-urwid
+                             python-urwid-readline))
     (home-page "https://documen.tician.de/pudb/";)
     (synopsis "Console-based Python debugger")
     (description
@@ -30250,6 +30247,9 @@ all the niceties of modern GUI-based debuggers in a 
more lightweight and
 keyboard-friendly package.")
     (license license:expat)))
 
+(define-public pudb
+  (deprecated-package "pudb" python-pudb))
+
 (define-public python-iwlib
   (package
     (name "python-iwlib")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]