[packages/python3-setuptools_scm] - updated to 9.2.2

qboosh qboosh at pld-linux.org
Fri Oct 31 17:20:13 CET 2025


commit 0298e05c4d22f66fc0db6f656744a23f34789931
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 31 17:20:06 2025 +0100

    - updated to 9.2.2

 python3-setuptools_scm.spec | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/python3-setuptools_scm.spec b/python3-setuptools_scm.spec
index 50a5af9..3b67189 100644
--- a/python3-setuptools_scm.spec
+++ b/python3-setuptools_scm.spec
@@ -1,18 +1,19 @@
+# TODO: docs (BR: mkdocs + extensions)
 #
 # Conditional build:
-%bcond_with	tests		# py.test tests
-%bcond_with	tests_scm	# py.test tests using SCM programs (git, hg)
+%bcond_with	tests		# pytest tests
+%bcond_with	tests_scm	# pytest tests using SCM programs (git, hg)
 
 Summary:	Python 3 package to manager versions by scm tags
 Summary(pl.UTF-8):	Pakiet Pythona 3 do zarządzania wersjami poprzez etykiety systemu kontroli wersji
 Name:		python3-setuptools_scm
-Version:	8.1.0
-Release:	3
+Version:	9.2.2
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/setuptools_scm/
 Source0:	https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-%{version}.tar.gz
-# Source0-md5:	d8046dce093a94dc382b68b45f6a6257
+# Source0-md5:	72975fc3ec40a1ae06bb2d86ca8ac48d
 URL:		https://github.com/pypa/setuptools_scm
 BuildRequires:	python3-modules >= 1:3.8
 BuildRequires:	python3-packaging >= 20.0
@@ -23,6 +24,7 @@ BuildRequires:	python3-tomli >= 1.0.0
 %if %{with tests}
 BuildRequires:	python3-build
 BuildRequires:	python3-pytest >= 3.1.0
+BuildRequires:	python3-pytest-timeout
 BuildRequires:	python3-rich
 %if "%{_ver_lt %{py3_ver} 3.11}" == "1"
 BuildRequires:	python3-typing_extensions
@@ -53,7 +55,7 @@ systemach kontroli wersji Mercurial i Git.
 %setup -q -n setuptools_scm-%{version}
 
 %if %{without tests_scm}
-%{__rm} testing/test_{file_finder,git,mercurial,regressions}.py
+%{__rm} testing/test_{cli,file_finder,git,mercurial,regressions}.py
 %endif
 
 cat > setup.py <<EOF
@@ -67,6 +69,7 @@ export PYTHONPATH=$(pwd):$(pwd)/src
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_timeout \
 %{__python3} -m pytest testing
 %endif
 
@@ -82,5 +85,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md
+%attr(755,root,root) %{_bindir}/setuptools-scm
 %{py3_sitescriptdir}/setuptools_scm
 %{py3_sitescriptdir}/setuptools_scm-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-setuptools_scm.git/commitdiff/0298e05c4d22f66fc0db6f656744a23f34789931



More information about the pld-cvs-commit mailing list