[packages/python-mistune] - updated tests for newer setuptools

qboosh qboosh at pld-linux.org
Wed May 28 20:08:04 CEST 2025


commit d83d4a60d2a9c4d927aa47799d993e6cb2a4a9f3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed May 28 19:53:47 2025 +0200

    - updated tests for newer setuptools

 python-mistune.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/python-mistune.spec b/python-mistune.spec
index a381b3c..173a397 100644
--- a/python-mistune.spec
+++ b/python-mistune.spec
@@ -60,11 +60,19 @@ zainspirowany modułem marked.
 
 %build
 %if %{with python2}
-%py_build %{?with_tests:test}
+%py_build
+
+%if %{with tests}
+nosetests-%{py_ver} tests
+%endif
 %endif
 
 %if %{with python3}
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+nosetests-%{py3_ver} tests
+%endif
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-mistune.git/commitdiff/5e7e8ddeb605c9020d193408872566489533f962



More information about the pld-cvs-commit mailing list