gnu: python-pudb: Update to 2025.1.1.

* gnu/packages/python-xyz.scm (python-pudb): Update to 2025.1.1.
[build-system]: Switch to pyproejct-build-system.
[arguments] <phases>: Remove 'fix-read-only-home; add 'pre-check; use
default 'check.
[propagated-inputs]: Add python-packaging.
[native-inputs]: Add python-hatchling.

Change-Id: I6b5b290646a9a3595530fe989c6df1326e4cb687
This commit is contained in:
Sharlatan Hellseher 2025-10-12 23:28:01 +01:00
parent 8e9e7b623a
commit 5c65e4ce96
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -36377,28 +36377,35 @@ development, testing, production]};
(license license:expat)))
(define-public python-pudb
;; TODO: Rename to pudb as it's a final program.
(package
(name "python-pudb")
(version "2023.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "pudb" version))
(sha256
(base32
"00rgx80inpvsbcydp29mrhw44xizyqdqxvv6lqcak1xs79h3rpqm"))))
(build-system python-build-system)
(version "2025.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pudb" version))
(sha256
(base32 "0wjbvj94cww49pg7prnh5yi81v4m5f0sl816c51jcy8wag3lbhmp"))))
(build-system pyproject-build-system)
(arguments
`(#: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 python-numpy))
(propagated-inputs (list python-jedi python-pygments python-urwid
python-urwid-readline))
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
(setenv "HOME" "/tmp"))))))
(native-inputs
(list python-hatchling
python-pytest
python-pytest-mock
python-numpy))
(propagated-inputs
(list python-jedi
python-packaging
python-pygments
python-urwid
python-urwid-readline))
(home-page "https://documen.tician.de/pudb/")
(synopsis "Console-based Python debugger")
(description