From bdbe462593ae35d2a48efa05c4207f76785446a6902e8b3f4d61ac15441ca2a8 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 16 Aug 2021 08:58:58 +0000 Subject: [PATCH] Accepting request 912360 from home:DocB:branches:devel:languages:python - %pytest_arch added to fix Leap test issues OBS-URL: https://build.opensuse.org/request/show/912360 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=20 --- python-PyICU.changes | 5 +++++ python-PyICU.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-PyICU.changes b/python-PyICU.changes index c982b45..147485d 100644 --- a/python-PyICU.changes +++ b/python-PyICU.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 16 07:51:00 UTC 2021 - Axel Braun + +- %pytest_arch added to fix Leap test issues + ------------------------------------------------------------------- Fri Aug 13 17:36:21 UTC 2021 - Axel Braun diff --git a/python-PyICU.spec b/python-PyICU.spec index ddaf54d..773e64d 100644 --- a/python-PyICU.spec +++ b/python-PyICU.spec @@ -24,7 +24,7 @@ Release: 0 Summary: Python Extension Wrapping the ICU C++ API License: MIT Group: Development/Libraries/Python -URL: https://github.com/ovalhub/pyicu +URL: https://gitlab.pyicu.org Source0: https://files.pythonhosted.org/packages/source/P/PyICU/%{modname}-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} @@ -57,8 +57,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -# Running test on python3 only due to pyicu issue 61 -python3 setup.py test +%pytest_arch -v -k 'not (testAcceptLanguage or testAcceptLanguageFromHTTP)' -rs test %files %{python_files} %license LICENSE