[packages/python3-repomd] Rel 8

arekm arekm at pld-linux.org
Sun May 4 02:43:47 CEST 2025


commit 0fbc08f1187da82734c18910a3f48c92eb8677b4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun May 4 00:53:35 2025 +0200

    Rel 8

 python3-repomd.spec | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/python3-repomd.spec b/python3-repomd.spec
index 1d39a81..c56f53e 100644
--- a/python3-repomd.spec
+++ b/python3-repomd.spec
@@ -9,7 +9,7 @@ Summary:	Library for reading dnf/yum repositories
 Summary(pl.UTF-8):	Biblioteka do odczytu repozytoriów dnf/yum
 Name:		python3-%{pypi_name}
 Version:	0.2.1
-Release:	7
+Release:	8
 License:	MIT
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/r/repomd/%{pypi_name}-%{version}.tar.gz
@@ -38,7 +38,14 @@ pobierania informacji z repozytoriów dnf/yum.
 %setup -q -n %{pypi_name}-%{version}
 
 %build
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_cov,flake8 \
+%{__python3} -m pytest -o pythonpath="$PWD/build-3/lib" tests
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-repomd.git/commitdiff/0fbc08f1187da82734c18910a3f48c92eb8677b4



More information about the pld-cvs-commit mailing list