From 13baf12e324dacfd80111824e69bd1fbbfd0de24 Mon Sep 17 00:00:00 2001 From: Mikhail Terekhov Date: Thu, 9 Mar 2017 22:30:16 -0500 Subject: [PATCH] Update to 0.25.2 --- .abf.yml | 6 +----- python-cython.spec | 33 ++++++++++++++++----------------- 2 files changed, 17 insertions(+), 22 deletions(-) diff --git a/.abf.yml b/.abf.yml index 2b5b46f..51c54fa 100644 --- a/.abf.yml +++ b/.abf.yml @@ -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 diff --git a/python-cython.spec b/python-cython.spec index 1e95035..a65d19a 100644 --- a/python-cython.spec +++ b/python-cython.spec @@ -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