[packages/python3-sphinx_autodoc_typehints] - up to 3.1.0

baggins baggins at pld-linux.org
Sun Apr 6 01:54:44 CEST 2025


commit 67f8f438747b190728accdd076a951506edac32e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 6 00:59:54 2025 +0200

    - up to 3.1.0

 python3-sphinx_autodoc_typehints.spec | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/python3-sphinx_autodoc_typehints.spec b/python3-sphinx_autodoc_typehints.spec
index 1a0e201..5671c2c 100644
--- a/python3-sphinx_autodoc_typehints.spec
+++ b/python3-sphinx_autodoc_typehints.spec
@@ -5,19 +5,19 @@
 Summary:	Type hints (PEP 484) support for the Sphinx autodoc extension
 Summary(pl.UTF-8):	Obsługa podpowiedzi o typach (PEP 484) do rozszerzenia Sphinksa autodoc
 Name:		python3-sphinx_autodoc_typehints
-# 1.19.3+ uses hatchling instead of setuptools
-# 1.19.2 requires Sphinx>=5.1.1
-Version:	1.19.1
-Release:	3
+Version:	3.1.0
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/sphinx_autodoc_typehints/
 Source0:	https://files.pythonhosted.org/packages/source/s/sphinx_autodoc_typehints/sphinx_autodoc_typehints-%{version}.tar.gz
-# Source0-md5:	410e410577be2a41bab152c1b0709ff2
+# Source0-md5:	f6fcbf2df25198d6d0597a15550a9768
 URL:		https://pypi.org/project/sphinx_autodoc_typehints/
 BuildRequires:	python3-modules >= 1:3.7
-BuildRequires:	python3-setuptools >= 1:50
-BuildRequires:	python3-setuptools_scm >= 6
+BuildRequires:	python3-build
+BuildRequires:	python3-installer
+BuildRequires:	python3-hatchling
+BuildRequires:	python3-hatch-vcs >= 0.4
 %if %{with tests}
 BuildRequires:	python3-Sphinx >= 4.5
 BuildRequires:	python3-nptyping >= 2.1.2
@@ -44,7 +44,7 @@ przez funkcje.
 %setup -q -n sphinx_autodoc_typehints-%{version}
 
 %build
-%py3_build
+%py3_build_pyproject
 
 %if %{with tests}
 # test_format_annotation fails on some NDArray types
@@ -57,13 +57,13 @@ PYTHONPATH=$(pwd)/src \
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py3_install
+%py3_install_pyproject
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGELOG.md LICENSE README.md
+%doc LICENSE README.md
 %{py3_sitescriptdir}/sphinx_autodoc_typehints
-%{py3_sitescriptdir}/sphinx_autodoc_typehints-%{version}-py*.egg-info
+%{py3_sitescriptdir}/sphinx_autodoc_typehints-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinx_autodoc_typehints.git/commitdiff/67f8f438747b190728accdd076a951506edac32e



More information about the pld-cvs-commit mailing list