- Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=174
This commit is contained in:
parent
14ebf6b4b9
commit
45716b9fbb
@ -1,4 +1,4 @@
|
|||||||
addFilter('devel-file-in-non-devel-package .*/Cython/.*')
|
addFilter('devel-file-in-non-devel-package .*/Cython/.*')
|
||||||
addFilter('devel-dependency python38-devel')
|
|
||||||
addFilter('devel-dependency python39-devel')
|
addFilter('devel-dependency python39-devel')
|
||||||
addFilter('devel-dependency python310-devel')
|
addFilter('devel-dependency python310-devel')
|
||||||
|
addFilter('devel-dependency python311-devel')
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 10 19:03:16 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Clean up SPEC file.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 8 20:26:51 UTC 2023 - Arun Persaud <arun@gmx.de>
|
Sat Jul 8 20:26:51 UTC 2023 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
Name: python-Cython
|
Name: python-Cython
|
||||||
Version: 0.29.36
|
Version: 0.29.36
|
||||||
@ -26,6 +27,8 @@ URL: https://cython.org/
|
|||||||
Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz
|
||||||
Source1: python-Cython-rpmlintrc
|
Source1: python-Cython-rpmlintrc
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module xml}
|
BuildRequires: %{python_module xml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -34,7 +37,6 @@ Requires: python-devel
|
|||||||
Requires: python-xml
|
Requires: python-xml
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
%{?sle15_python_module_pythons}
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -54,10 +56,10 @@ sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
for p in cython cythonize cygdb ; do
|
for p in cython cythonize cygdb ; do
|
||||||
%python_clone -a %{buildroot}%{_bindir}/$p
|
%python_clone -a %{buildroot}%{_bindir}/$p
|
||||||
done
|
done
|
||||||
@ -89,7 +91,7 @@ $python runtests.py -v
|
|||||||
%python_alternative %{_bindir}/cython
|
%python_alternative %{_bindir}/cython
|
||||||
%python_alternative %{_bindir}/cythonize
|
%python_alternative %{_bindir}/cythonize
|
||||||
%{python_sitearch}/Cython/
|
%{python_sitearch}/Cython/
|
||||||
%{python_sitearch}/Cython-%{version}-py*.egg-info
|
%{python_sitearch}/Cython-%{version}*-info
|
||||||
%{python_sitearch}/cython.py*
|
%{python_sitearch}/cython.py*
|
||||||
%pycache_only %{python_sitearch}/__pycache__/cython*.py*
|
%pycache_only %{python_sitearch}/__pycache__/cython*.py*
|
||||||
%{python_sitearch}/pyximport/
|
%{python_sitearch}/pyximport/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user