[packages/python-pyicu] tests appear to support python3 only
atler
atler at pld-linux.org
Mon Jan 20 02:32:25 CET 2025
commit d5fca2df6e209520bd506944a378449f76c089ad
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jan 20 00:39:56 2025 +0100
tests appear to support python3 only
python-pyicu.spec | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/python-pyicu.spec b/python-pyicu.spec
index e595c1f..ea14e48 100644
--- a/python-pyicu.spec
+++ b/python-pyicu.spec
@@ -22,9 +22,6 @@ BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: python-devel >= 1:2.3
BuildRequires: python-modules >= 1:2.3
BuildRequires: python-setuptools
-%if %{with tests}
-BuildRequires: python-six
-%endif
%endif
%if %{with python3}
BuildRequires: python3-2to3 >= 1:3.2
@@ -76,9 +73,6 @@ CFLAGS="%{rpmcxxflags} %{rpmcppflags} -std=c++11"
%if %{with python2}
%py_build
-
-# tests need module already built
-%{?with_tests:PYTHONPATH=$(pwd)/$(echo build-2/lib.*) %{__python} -m unittest discover -s test}
%endif
%if %{with python3}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyicu.git/commitdiff/d5fca2df6e209520bd506944a378449f76c089ad
More information about the pld-cvs-commit
mailing list