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