[packages/python-webencodings] Rel 10; disable tests since python3-nose is not available

arekm arekm at pld-linux.org
Mon Mar 17 17:08:01 CET 2025


commit dc9c44eb79a91835beb71e61f84426303e8eac40
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 17 16:35:24 2025 +0100

    Rel 10; disable tests since python3-nose is not available

 python-webencodings.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-webencodings.spec b/python-webencodings.spec
index b14aa62..7f75a64 100644
--- a/python-webencodings.spec
+++ b/python-webencodings.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	tests	# unit tests
+%bcond_with	tests	# unit tests
 %bcond_without	python2 # CPython 2.x module
 %bcond_without	python3 # CPython 3.x module
 
@@ -8,7 +8,7 @@ Summary:	Character encoding aliases for legacy web content
 Summary(pl.UTF-8):	Aliasy kodowania znaków dla zastanych treści WWW
 Name:		python-webencodings
 Version:	0.5.1
-Release:	9
+Release:	10
 License:	BSD
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/webencodings/
@@ -100,7 +100,7 @@ implementacja kodowania i dekodowania pochodzi z Pythona.
 
 %build
 %if %{with python2}
-%py_build
+%py_build %{?with_tests:test}
 
 %{?with_tests:nosetests-%{py_ver}}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-webencodings.git/commitdiff/dc9c44eb79a91835beb71e61f84426303e8eac40



More information about the pld-cvs-commit mailing list