mirror of
https://abf.rosa.ru/djam/python-cython.git
synced 2025-02-23 13:52:47 +00:00
Merge pull request #2 from import/python-cython:auto_update
Updated to 0.22.1 (by updates_builder)
This commit is contained in:
commit
9f85857f35
2 changed files with 10 additions and 9 deletions
3
.abf.yml
3
.abf.yml
|
@ -1,5 +1,6 @@
|
|||
removed_sources:
|
||||
Cython-0.20.1.tar.gz: e0f2c2094722bada54f24c33f5c792411778ba4f
|
||||
Cython-0.20.2.tar.gz: e3fd4c32bdfa4a388cce9538417237172c656d55
|
||||
sources:
|
||||
Cython-0.21.tar.gz: f5784539870715e33b51374e9c4451ff6ff21c7f
|
||||
sources:
|
||||
Cython-0.22.1.tar.gz: 85c0494968e49f4aa3d20c58c314b5dffed47886
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
Summary: Language for writing C extensions to Python
|
||||
Name: python-cython
|
||||
Version: 0.21
|
||||
Release: 3
|
||||
Source0: http://www.cython.org/release/Cython-%{version}.tar.gz
|
||||
Version: 0.22.1
|
||||
Release: 1
|
||||
Source0: https://pypi.python.org/packages/source/C/Cython/Cython-%{version}.tar.gz
|
||||
Source100: %{name}.rpmlintrc
|
||||
License: Apache License
|
||||
Group: Development/Python
|
||||
|
@ -52,14 +52,14 @@ python setup.py build
|
|||
popd
|
||||
%if %{with python3}
|
||||
pushd python3
|
||||
%{__python3} setup.py build
|
||||
python3 setup.py build
|
||||
popd
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{with python3}
|
||||
pushd python3
|
||||
PYTHONDONTWRITEBYTECODE= %__python3 setup.py install --root %{buildroot}
|
||||
PYTHONDONTWRITEBYTECODE= python3 setup.py install --root %{buildroot}
|
||||
mv %{buildroot}/usr/bin/cython %{buildroot}/usr/bin/cython3
|
||||
mv %{buildroot}/usr/bin/cygdb %{buildroot}/usr/bin/cygdb3
|
||||
mv %{buildroot}/usr/bin/cythonize %{buildroot}/usr/bin/cythonize3
|
||||
|
@ -69,11 +69,11 @@ popd
|
|||
pushd python2
|
||||
find -name .*DS_Store* | xargs rm -rf
|
||||
|
||||
PYTHONDONTWRITEBYTECODE= %__python setup.py install --root %{buildroot}
|
||||
PYTHONDONTWRITEBYTECODE= python setup.py install --root %{buildroot}
|
||||
pushd Tools
|
||||
dos2unix cython-mode.el
|
||||
%__install -m 755 -d %{buildroot}%{_sysconfdir}/emacs/site-start.d
|
||||
%__install -m 644 *.el* %{buildroot}%{_sysconfdir}/emacs/site-start.d
|
||||
install -m 755 -d %{buildroot}%{_sysconfdir}/emacs/site-start.d
|
||||
install -m 644 *.el* %{buildroot}%{_sysconfdir}/emacs/site-start.d
|
||||
popd
|
||||
popd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue