me
/
guix
Archived
1
0
Fork 0

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.
master
Maxim Cournoyer 2022-04-22 21:55:47 -04:00
parent dfe81d0f81
commit 09fccde9c0
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 23 additions and 23 deletions

View File

@ -30228,32 +30228,29 @@ development, testing, production]};
@end itemize") @end itemize")
(license license:expat))) (license license:expat)))
(define-public pudb (define-public python-pudb
(package (package
(name "pudb") (name "python-pudb")
(version "2021.2") (version "2022.1.1")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (pypi-uri "pudb" version))
(uri (pypi-uri "pudb" version)) (sha256
(sha256 (base32
(base32 "0p16pvzfa3w02ybg3n0iy5rs23z4rz4a42lb8wh3mcq62y9ik2w7")))) "0gq82hwnibby9qdyv7ri11phvg94nby4jb0w9h3jk79w89kdsfyv"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases (modify-phases %standard-phases
(modify-phases %standard-phases (add-before 'check 'fix-read-only-home
(add-before 'check 'fix-read-only-home (lambda _
(lambda _ (setenv "HOME" "/tmp")))
(setenv "HOME" "/tmp"))) (replace 'check
(replace 'check (lambda* (#:key tests? #:allow-other-keys)
(lambda* (#:key inputs outputs tests? #:allow-other-keys) (when tests?
(when tests? (invoke "pytest" "-vv")))))))
(add-installed-pythonpath inputs outputs) (native-inputs (list python-pytest python-pytest-mock))
(invoke "pytest"))))))) (propagated-inputs (list python-jedi python-pygments python-urwid
(native-inputs python-urwid-readline))
(list python-numpy python-pytest python-pytest-mock))
(propagated-inputs
(list python-jedi python-pygments python-urwid python-urwid-readline))
(home-page "https://documen.tician.de/pudb/") (home-page "https://documen.tician.de/pudb/")
(synopsis "Console-based Python debugger") (synopsis "Console-based Python debugger")
(description (description
@ -30262,6 +30259,9 @@ all the niceties of modern GUI-based debuggers in a more lightweight and
keyboard-friendly package.") keyboard-friendly package.")
(license license:expat))) (license license:expat)))
(define-public pudb
(deprecated-package "pudb" python-pudb))
(define-public python-iwlib (define-public python-iwlib
(package (package
(name "python-iwlib") (name "python-iwlib")