forked from pool/python-PyICU
- Add remove_six.patch which removes the need to use six.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=29
This commit is contained in:
@@ -25,10 +25,13 @@ License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://gitlab.pyicu.org
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/PyICU/PyICU-2.11.tar.gz
|
||||
# PATCH-FEATURE-UPSTREAM remove_six.patch mcepl@suse.com
|
||||
# Remove dependency on six
|
||||
Patch0: remove_six.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
@@ -46,15 +49,15 @@ Python extension wrapping IBM's International Components for Unicode C++
|
||||
library (ICU).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%autosetup -p1 -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
|
Reference in New Issue
Block a user