[packages/python3-tomlkit] Up to 0.13.2

arekm arekm at pld-linux.org
Mon Mar 17 20:42:07 CET 2025


commit b9933527857ac4f15b8139ab08dd4bc86bbc13a0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 17 20:29:05 2025 +0100

    Up to 0.13.2

 python3-tomlkit.spec | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/python3-tomlkit.spec b/python3-tomlkit.spec
index a3b7813..2d881df 100644
--- a/python3-tomlkit.spec
+++ b/python3-tomlkit.spec
@@ -6,16 +6,17 @@
 Summary:	Style preserving TOML library
 Summary(pl.UTF-8):	Biblioteka TOML zachowująca styl
 Name:		python3-tomlkit
-Version:	0.11.4
-Release:	3
+Version:	0.13.2
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/tomlkit/
 Source0:	https://files.pythonhosted.org/packages/source/t/tomlkit/tomlkit-%{version}.tar.gz
-# Source0-md5:	d0edd43143c7840deb88185685cea8dd
+# Source0-md5:	0db1a3750c64b141720f05430df9b433
 URL:		https://pypi.org/project/tomlkit/
 BuildRequires:	python3-modules >= 1:3.6
-BuildRequires:	python3-setuptools
+BuildRequires:	python3-build
+BuildRequires:	python3-installer
 %if %{with tests}
 BuildRequires:	python3-pytest >= 6.2.5
 %endif
@@ -59,11 +60,14 @@ Dokumentacja API modułu Pythona tomlkit.
 %setup -q -n tomlkit-%{version}
 
 %build
-%py3_build
+%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 \
-%{__python3} -m pytest tests
+PYTEST_PLUGINS= \
+%{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
 %endif
 
 %if %{with doc}
@@ -73,7 +77,7 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py3_install
+%py3_install_pyproject
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -82,7 +86,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md
 %{py3_sitescriptdir}/tomlkit
-%{py3_sitescriptdir}/tomlkit-%{version}-py*.egg-info
+%{py3_sitescriptdir}/tomlkit-%{version}.dist-info
 
 %if %{with doc}
 %files apidocs
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-tomlkit.git/commitdiff/b9933527857ac4f15b8139ab08dd4bc86bbc13a0



More information about the pld-cvs-commit mailing list