Merge pull request #3 from termim/python-cython:rosa2016.1

python-cython
This commit is contained in:
dsilakov 2017-03-13 11:49:50 +03:00
commit 9d835210a8
2 changed files with 17 additions and 22 deletions

View file

@ -1,6 +1,2 @@
removed_sources:
Cython-0.20.1.tar.gz: e0f2c2094722bada54f24c33f5c792411778ba4f
Cython-0.20.2.tar.gz: e3fd4c32bdfa4a388cce9538417237172c656d55
Cython-0.21.tar.gz: f5784539870715e33b51374e9c4451ff6ff21c7f
sources:
Cython-0.22.1.tar.gz: 85c0494968e49f4aa3d20c58c314b5dffed47886
cython-0.25.2.tar.gz: 3ddd844d06f8e8df46058e0d8fdf8056dcbd3116

View file

@ -1,20 +1,20 @@
%define tarname Cython
%define tarname cython
# Force python3 build - required by new hplip
# % {?build_python3}%{?!build_python3:%bcond_without python3}
%bcond_without python3
Summary: Language for writing C extensions to Python
Name: python-cython
Version: 0.22.1
Release: 3
Source0: https://pypi.python.org/packages/source/C/Cython/Cython-%{version}.tar.gz
Source100: %{name}.rpmlintrc
License: Apache License
Group: Development/Python
Url: http://www.cython.org
BuildRequires: python-devel
BuildRequires: dos2unix
Summary: Language for writing C extensions to Python
Name: python-cython
License: Apache License
Group: Development/Python
Url: http://www.cython.org
Version: 0.25.2
Release: 1
Source0: https://github.com/cython/cython/archive/%{version}%{?rctag:%{rctag}}/%{tarname}-%{version}%{?rctag:%{rctag}}.tar.gz
Source100: %{name}.rpmlintrc
BuildRequires: python-devel
BuildRequires: dos2unix
BuildRequires: python-distribute
%if %{with python3}
BuildRequires: python3-distribute
@ -27,9 +27,8 @@ edge functionality and optimizations.
%if %{with python3}
%package -n python3-cython
Summary: Language for writing C extensions to Python
Group: Development/Python
Summary: Language for writing C extensions to Python
Group: Development/Python
BuildRequires: python3-devel
%description -n python3-cython
@ -46,7 +45,7 @@ mv %{tarname}-%{version} python2
cp -r python2 python3
%endif
%build
%build
pushd python2
python setup.py build
popd
@ -80,7 +79,7 @@ popd
#%%check
#PYTHONPATH=`pwd`/../build/lib make test clean
%files
%files
%{_sysconfdir}/emacs/site-start.d/*.el*
%{_bindir}/cython
%{_bindir}/cygdb