gnu: python-argopt: Update to 0.9.1.

* gnu/packages/python-xyz.scm (python-argopt): Update to 0.9.1.
[build-system]: Switch to pyproject.
[propagated-inputs]: Remove python-toml and python-flake8.
[native-inputs]: Remove python-coverage and python-nose; add
python-pytest, python-pytest-timeout, and python-wheel.

Change-Id: I86bad8c8ebde66707ba4bbf75e115f134a106447
This commit is contained in:
Sharlatan Hellseher 2025-05-08 08:57:51 +01:00
parent a1c57d4e52
commit a7984f741f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1746,25 +1746,27 @@ transformation of the plane.")
(define-public python-argopt (define-public python-argopt
(package (package
(name "python-argopt") (name "python-argopt")
(version "0.7.0") (version "0.9.1")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "argopt" version)) (method url-fetch)
(sha256 (uri (pypi-uri "argopt" version))
(base32 (sha256
"0ybs7kkp0cpl8zn1lvf7481xhssg1bbhh5la2cjzdm5yibashyxa")))) (base32 "03kpzdz8ib3szq8dpbr63jv0za4rpwal9iwpr3xhyqpzyiwhcy19"))))
(build-system python-build-system) (build-system pyproject-build-system)
(native-inputs (native-inputs
(list python-coverage python-nose python-setuptools ; Won't build without this. (list python-pytest
python-setuptools-scm)) python-pytest-timeout
(propagated-inputs python-setuptools
(list python-toml python-flake8)) python-setuptools-scm
(home-page "https://github.com/casperdcl/argopt") python-wheel))
(synopsis "Generate a command-line interface from a docstring") (home-page "https://github.com/casperdcl/argopt")
(description "This package provides tools to define a command line interface (synopsis "Generate a command-line interface from a docstring")
(description
"This package provides tools to define a command line interface
from a docstring rather than the other way around.") from a docstring rather than the other way around.")
(license license:mpl2.0))) (license license:mpl2.0)))
(define-public python-array-api-compat (define-public python-array-api-compat
(package (package