From 14b67b84c1288a9092678b345cc8d7493581c57c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Oct 02 2017 09:54:48 +0000 Subject: Update to 0.27.1 * provide old name with %_isa * add missing BuildRequires: python3-setuptools * python-jedi -> python2-jedi Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 3ad48b5..711821e 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ Cython-0.12.1.tar.gz /Cython-0.23.4.tar.gz /Cython-0.24.1.tar.gz /Cython-0.25.2.tar.gz +/Cython-0.27.1.tar.gz diff --git a/0001-Check-sys.path-for-.pxi-files-too.patch b/0001-Check-sys.path-for-.pxi-files-too.patch deleted file mode 100644 index 9b50c87..0000000 --- a/0001-Check-sys.path-for-.pxi-files-too.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 97de55acf4efe3c3ae2b5a955578cae71958dfe7 Mon Sep 17 00:00:00 2001 -From: Jeroen Demeyer -Date: Sun, 7 Feb 2016 17:07:54 +0100 -Subject: [PATCH] Check sys.path for .pxi files too - ---- - Cython/Compiler/Main.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py -index 65b3cd309..d4d0f788b 100644 ---- a/Cython/Compiler/Main.py -+++ b/Cython/Compiler/Main.py -@@ -269,7 +269,7 @@ class Context(object): - # Search list of include directories for filename. - # Reports an error and returns None if not found. - path = self.search_include_directories(filename, "", pos, -- include=True) -+ include=True, sys_path=True) - if not path: - error(pos, "'%s' not found" % filename) - return path --- -2.11.0 - diff --git a/0001-fix-typo-in-Compiler-Options.py.patch b/0001-fix-typo-in-Compiler-Options.py.patch deleted file mode 100644 index 0833a0f..0000000 --- a/0001-fix-typo-in-Compiler-Options.py.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 3526e08741c05dd122ffe827d9d8b5864a3436f5 Mon Sep 17 00:00:00 2001 -From: Igor Gnatenko -Date: Wed, 21 Dec 2016 14:31:08 +0100 -Subject: [PATCH] fix typo in Compiler/Options.py - -Reported-by: Paulo Andrade -References: https://bugzilla.redhat.com/show_bug.cgi?id=1406533 -Signed-off-by: Igor Gnatenko ---- - Cython/Compiler/Options.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Cython/Compiler/Options.py b/Cython/Compiler/Options.py -index ddafa202a..893dab23f 100644 ---- a/Cython/Compiler/Options.py -+++ b/Cython/Compiler/Options.py -@@ -8,10 +8,10 @@ class ShouldBeFromDirective(object): - - known_directives = [] - -- def __init__(self, options_name, directive_name=None, dissallow=False): -+ def __init__(self, options_name, directive_name=None, disallow=False): - self.options_name = options_name - self.directive_name = directive_name or options_name -- self.dissallow = dissallow -+ self.disallow = disallow - self.known_directives.append(self) - - def __nonzero__(self): --- -2.11.0 - diff --git a/Cython.spec b/Cython.spec index 2b714c7..e55fd66 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,21 +5,14 @@ %bcond_with tests Name: Cython -Version: 0.25.2 -Release: 7%{?dist} +Version: 0.27.1 +Release: 1%{?dist} Summary: A language for writing Python extension modules License: ASL 2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/%{srcname}-%{version}.tar.gz -# https://bugzilla.redhat.com/show_bug.cgi?id=1406533 -# https://github.com/cython/cython/pull/1560 -Patch0001: 0001-fix-typo-in-Compiler-Options.py.patch -# https://bugzilla.redhat.com/show_bug.cgi?id=1406905 -# https://github.com/cython/cython/pull/483 -Patch0002: 0001-Check-sys.path-for-.pxi-files-too.patch - BuildRequires: gcc %if %{with tests} BuildRequires: gcc-c++ @@ -35,13 +28,14 @@ for writing Python extension modules. Summary: %{summary} %{?python_provide:%python_provide python2-%{srcname}} Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release} BuildRequires: python2-devel BuildRequires: python2-setuptools %if %{with tests} BuildRequires: python2-coverage BuildRequires: python2-numpy -BuildRequires: python-jedi +BuildRequires: python2-jedi %endif %description -n python2-%{srcname} %{_description} @@ -52,6 +46,7 @@ Python 2 version. Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel +BuildRequires: python3-setuptools %if %{with tests} BuildRequires: python3-coverage BuildRequires: python3-numpy @@ -112,6 +107,9 @@ rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests %{python3_sitearch}/__pycache__/%{upname}.* %changelog +* Mon Oct 02 2017 Igor Gnatenko - 0.27.1-1 +- Update to 0.27.1 + * Wed Aug 02 2017 Fedora Release Engineering - 0.25.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 41643a5..3fe544b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.25.2.tar.gz) = 65c15dd5f8af1ecc5943f557d38a122b69a4d02b41f63dfa68d7201f97eb2b4ff9684eb6cc0dd629fe8e3c9acdbeac1be9835e92fab0ba9e54768731a794d866 +SHA512 (Cython-0.27.1.tar.gz) = d414a4e9aed0450ebd1c8abde7e0965e53e30eb7c33e99078ea195d1e0fb2d465b3e79823cbc995689808ea58d89fa8e682a1898039328591ca1aa1bdb04c571