[packages/python-simplegeneric] - updated tests not to use obsolete setuptools test command
qboosh
qboosh at pld-linux.org
Thu Nov 13 22:10:51 CET 2025
commit d10855d65970522d06f4d0db36327a5a5448445e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Nov 13 22:10:45 2025 +0100
- updated tests not to use obsolete setuptools test command
python-simplegeneric.spec | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/python-simplegeneric.spec b/python-simplegeneric.spec
index 4577c30..e33816e 100644
--- a/python-simplegeneric.spec
+++ b/python-simplegeneric.spec
@@ -75,11 +75,19 @@ Pythona.
%build
%if %{with python2}
-%py_build %{?with_tests:test}
+%py_build
+
+%if %{with tests}
+%{__python} simplegeneric.py
+%endif
%endif
%if %{with python3}
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+%{__python3} simplegeneric.py
+%endif
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-simplegeneric.git/commitdiff/d10855d65970522d06f4d0db36327a5a5448445e
More information about the pld-cvs-commit
mailing list