[packages/python3-sphinx_argparse_cli] - updated to 1.20.1

qboosh qboosh at pld-linux.org
Sun Dec 7 08:19:24 CET 2025


commit 25ab1bedcfabb32160aa3111b987d756a9f2086e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 7 08:19:37 2025 +0100

    - updated to 1.20.1

 python3-sphinx_argparse_cli.spec | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/python3-sphinx_argparse_cli.spec b/python3-sphinx_argparse_cli.spec
index 8b03567..df4afc2 100644
--- a/python3-sphinx_argparse_cli.spec
+++ b/python3-sphinx_argparse_cli.spec
@@ -3,25 +3,28 @@
 %bcond_with	tests	# unit tests
 
 Summary:	Render CLI arguments (sub-commands friendly) defined by argparse module
+Summary(pl.UTF-8):	Renderowanie argumentów CLI (z obsługą podpoleceń) definiowanych przez moduł argparse
 Name:		python3-sphinx_argparse_cli
-Version:	1.19.0
-Release:	4
+Version:	1.20.1
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/s/sphinx-argparse-cli/sphinx_argparse_cli-%{version}.tar.gz
-# Source0-md5:	c7c642b6e709d25b376773903d0df71a
+# Source0-md5:	fa87c89aacf32b654e0bf5a6b79b6c16
 URL:		https://pypi.org/project/sphinx-argparse-cli/
 BuildRequires:	python3-build
+BuildRequires:	python3-hatch-vcs >= 0.5
+BuildRequires:	python3-hatchling >= 1.27
 BuildRequires:	python3-installer
-BuildRequires:	python3-modules >= 1:3.7
+BuildRequires:	python3-modules >= 1:3.11
 %if %{with tests}
-BuildRequires:	python3-Sphinx >= 1.2.0
-BuildRequires:	python3-pytest
+BuildRequires:	python3-Sphinx >= 8.2.3
+BuildRequires:	python3-defusedxml >= 0.7.1
+BuildRequires:	python3-pytest >= 8.4.2
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 2.044
-Requires:	python3-modules >= 1:3.7
-Conflicts:	python3-commonmark < 0.5.6
+Requires:	python3-modules >= 1:3.11
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -30,6 +33,11 @@ Render CLI arguments (sub-commands friendly) defined by the argparse
 module. For live demo checkout the documentation of tox, pypa-build
 and mdpo.
 
+%description -l pl.UTF-8
+Renderowanie argumentów CLI (z obsługą podpoleceń) definiowanych przez
+moduł argparse. Na żywo efekt można zobaczyć w dokumentacji pakietów
+tox, pypa-build i mdpo.
+
 %prep
 %setup -q -n sphinx_argparse_cli-%{version}
 
@@ -37,11 +45,9 @@ and mdpo.
 %py3_build_pyproject
 
 %if %{with tests}
-%{__python3} -m zipfile -e build-3/*.whl build-3-test
-# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS= \
-%{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m pytest tests
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinx_argparse_cli.git/commitdiff/25ab1bedcfabb32160aa3111b987d756a9f2086e



More information about the pld-cvs-commit mailing list