[packages/python3-propcache] - updated to 0.3.2

qboosh qboosh at pld-linux.org
Thu Jul 10 22:43:03 CEST 2025


commit 89f2ac0371dec0e2c9f9102a02e250e7374be10f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 10 22:44:38 2025 +0200

    - updated to 0.3.2

 python3-propcache.spec | 37 ++++++++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 13 deletions(-)
---
diff --git a/python3-propcache.spec b/python3-propcache.spec
index eead3a0..4c13f7d 100644
--- a/python3-propcache.spec
+++ b/python3-propcache.spec
@@ -1,42 +1,55 @@
+#
 # Conditional build:
 %bcond_without	doc	# API documentation
 %bcond_without	tests	# unit tests
 
 %define		module	propcache
 Summary:	Accelerated property cache
+Summary(pl.UTF-8):	Akcelerowana pamięć podręczna własności
 Name:		python3-%{module}
-Version:	0.2.1
-Release:	6
-License:	Apache
+Version:	0.3.2
+Release:	1
+License:	Apache v2.0
 Group:		Libraries/Python
-Source0:	https://pypi.debian.net/%{module}/%{module}-%{version}.tar.gz
-# Source0-md5:	c642caac1415818205011277008142ea
+#Source0Download: https://pypi.org/simple/propcache/
+Source0:	https://files.pythonhosted.org/packages/source/p/propcache/%{module}-%{version}.tar.gz
+# Source0-md5:	1c073b491620a9f6d568276d61f80277
 URL:		https://pypi.org/project/propcache/
-BuildRequires:	python3-Cython
+BuildRequires:	python3-Cython >= 3.1.2
 BuildRequires:	python3-build
 BuildRequires:	python3-expandvars
 BuildRequires:	python3-installer
 BuildRequires:	python3-modules >= 1:3.9
+BuildRequires:	python3-setuptools >= 1:47
+%if "%{_ver_lt %{py3_ver} 3.11}" == "1"
+BuildRequires:	python3-tomli
+%endif
 %if %{with tests}
 BuildRequires:	python3-covdefaults
 BuildRequires:	python3-mdit-py-plugins
+BuildRequires:	python3-pytest >= 8.3.5
 BuildRequires:	python3-pytest-benchmark
-BuildRequires:	python3-pytest_codspeed
+BuildRequires:	python3-pytest_codspeed >= 3.2.0
 BuildRequires:	python3-pytest-xdist
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 2.044
 %if %{with doc}
+BuildRequires:	python3-myst_parser >= 0.10.0
 BuildRequires:	python3-sphinxcontrib-towncrier
-BuildRequires:	sphinx-pdg-3
+BuildRequires:	sphinx-pdg-3 >= 8.2.3
 %endif
-Requires:	python3-modules >= 1:3.2
+Requires:	python3-modules >= 1:3.9
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The module provides a fast implementation of cached properties for
 Python 3.9+.
 
+%description -l pl.UTF-8
+Ten moduł dostarcza szybką implementację własności z pamięcią
+podręczną dla Pythona 3.9+.
+
 %package apidocs
 Summary:	API documentation for Python %{module} module
 Summary(pl.UTF-8):	Dokumentacja API modułu Pythona %{module}
@@ -59,7 +72,6 @@ sed -i -e 's#build_inplace: bool = False,#build_inplace: bool = True,#g' -e 's#b
 
 %if %{with tests}
 %{__python} -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=pytest_codspeed,xdist,benchmark \
 %{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
@@ -67,10 +79,9 @@ PYTEST_PLUGINS=pytest_codspeed,xdist,benchmark \
 
 %if %{with doc}
 %{__python} -m zipfile -e build-3/*.whl build-3-doc
-export PYTHONPATH="$PWD/build-3-doc"
+PYTHONPATH="$PWD/build-3-doc" \
 %{__make} -C docs html \
 	SPHINXBUILD=sphinx-build-3
-rm -rf docs/_build/html/_sources
 %endif
 
 %install
@@ -95,5 +106,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidocs
 %defattr(644,root,root,755)
-%doc docs/_build/html/*
+%doc docs/_build/html/{_modules,_static,contributing,*.html,*.js}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-propcache.git/commitdiff/89f2ac0371dec0e2c9f9102a02e250e7374be10f



More information about the pld-cvs-commit mailing list