14
0
forked from pool/python-PyICU

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
This commit is contained in:
2021-08-16 08:58:58 +00:00
committed by Git OBS Bridge
parent a096c94b64
commit bdbe462593
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 16 07:51:00 UTC 2021 - Axel Braun <axel.braun@gmx.de>
- %pytest_arch added to fix Leap test issues
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 13 17:36:21 UTC 2021 - Axel Braun <axel.braun@gmx.de> Fri Aug 13 17:36:21 UTC 2021 - Axel Braun <axel.braun@gmx.de>

View File

@@ -24,7 +24,7 @@ Release: 0
Summary: Python Extension Wrapping the ICU C++ API Summary: Python Extension Wrapping the ICU C++ API
License: MIT License: MIT
Group: Development/Libraries/Python 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 Source0: https://files.pythonhosted.org/packages/source/P/PyICU/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@@ -57,8 +57,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
# Running test on python3 only due to pyicu issue 61 %pytest_arch -v -k 'not (testAcceptLanguage or testAcceptLanguageFromHTTP)' -rs test
python3 setup.py test
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE