update version 0.29.21

This commit is contained in:
Aleksandr Proklov 2020-10-27 21:38:05 +09:00
parent 6ab81d028f
commit 1848925bba
2 changed files with 27 additions and 23 deletions

View file

@ -1,2 +1,2 @@
sources:
0.29.16.tar.gz: d61ec184c284eaf91595587427c65b32ba90a316
cython-0.29.21.tar.gz: 718dcfee83132421e2df4eb6fa0ef7f3917bf7b9

View file

@ -10,12 +10,12 @@
Summary: Language for writing C extensions to Python
Name: python-cython
Version: 0.29.16
Version: 0.29.21
Release: 1
License: Python
Group: Development/Python
Url: http://www.cython.org
Source0: https://github.com/cython/cython/archive/%{version}.tar.gz
Source0: https://github.com/cython/cython/archive/%{version}.tar.gz?/cython-%{version}.tar.gz
Source1: %{name}.rpmlintrc
BuildRequires: dos2unix
%if %{with check}
@ -29,6 +29,7 @@ Cython is a language that facilitates the writing of C extensions for
the Python language. It is based on Pyrex, but provides more cutting
edge functionality and optimizations.
#--------------------------------------------------------------------
%package -n python3-cython
Summary: Language for writing C extensions to Python
Group: Development/Python
@ -41,6 +42,18 @@ Cython is a language that facilitates the writing of C extensions for
the Python language. It is based on Pyrex, but provides more cutting
edge functionality and optimizations.
%files -n python3-cython
%{_bindir}/cython
%{_bindir}/cythonize
%{_bindir}/cygdb
%{py3_platsitedir}/Cython
%{py3_platsitedir}/Cython-%{version}-*.egg-info
%{py3_platsitedir}/cython*
%{py3_platsitedir}/pyximport
%{py3_platsitedir}/__pycache__/*.py?
#--------------------------------------------------------------------
%if %{with python2}
%package -n python2-cython
Summary: Language for writing C extensions to Python
@ -51,8 +64,19 @@ BuildRequires: python2-setuptools
Cython is a language that facilitates the writing of C extensions for
the Python language. It is based on Pyrex, but provides more cutting
edge functionality and optimizations.
%files -n python2-cython
%{_bindir}/cython2
%{_bindir}/cygdb2
%{py2_platsitedir}/Cython
%{py2_platsitedir}/Cython-%{version}-*.egg-info
%{py2_platsitedir}/cython*
%{py2_platsitedir}/pyximport
%endif
#--------------------------------------------------------------------
%prep
%autosetup -p1 -n %{tarname}-%{version}
@ -100,23 +124,3 @@ python2 setup.py test
cd -
%endif # with_python2
%endif
%files -n python3-cython
%{_bindir}/cython
%{_bindir}/cythonize
%{_bindir}/cygdb
%{py3_platsitedir}/Cython
%{py3_platsitedir}/Cython-%{version}-*.egg-info
%{py3_platsitedir}/cython*
%{py3_platsitedir}/pyximport
%{py3_platsitedir}/__pycache__/*.py?
%if %{with python2}
%files -n python2-cython
%{_bindir}/cython2
%{_bindir}/cygdb2
%{py2_platsitedir}/Cython
%{py2_platsitedir}/Cython-%{version}-*.egg-info
%{py2_platsitedir}/cython*
%{py2_platsitedir}/pyximport
%endif