gnu: python-argparse-manpage: Update to 4.7.

* gnu/packages/python-xyz.scm (python-argparse-manpage): Update to 4.7.
[source]: Fix uri name as seen in PyPI archive.
[arguments] <test-flags>: Skip tests requiring pip.
[native-inputs]: Remove python-pip, python-tomli, and python-wheel.

Fixes: guix/guix#3015
Change-Id: I10b31aa295bd97673071ecaaecb9895cd4d8a6b0
This commit is contained in:
Sharlatan Hellseher 2025-09-26 17:16:00 +01:00
parent 771659666d
commit d4c1dc6df5
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -20156,18 +20156,22 @@ and dataclasses.")
(define-public python-argparse-manpage (define-public python-argparse-manpage
(package (package
(name "python-argparse-manpage") (name "python-argparse-manpage")
(version "4.5") (version "4.7")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "argparse-manpage" version)) (uri (pypi-uri "argparse_manpage" version))
(sha256 (sha256
(base32 (base32 "0clb20scp408gxac675v731vnj89pk9d5fb7pcy7bj1a45mvgshx"))))
"1nq4sq1zk1xzdsqq61hd27jhj978ys136aba1zjg02x1g0c0cg11"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; Tests require PIP.
#~(list "--ignore=tests/test_examples.py")))
(native-inputs (native-inputs
(list python-pip python-pytest python-setuptools python-tomli (list python-pytest
python-wheel)) python-setuptools))
(home-page "https://github.com/praiskup/argparse-manpage") (home-page "https://github.com/praiskup/argparse-manpage")
(synopsis "Build manual page from Python's ArgumentParser object") (synopsis "Build manual page from Python's ArgumentParser object")
(description (description