Accepting request 357131 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/357131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=29
This commit is contained in:
2016-02-09 12:30:56 +00:00
committed by Git OBS Bridge
parent df2529eac0
commit 53195031a7
5 changed files with 180 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Cython
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: python-Cython
Version: 0.22.1
Version: 0.23.4
Release: 0
Url: http://www.cython.org
Summary: The Cython compiler for writing C extensions for the Python language
License: Apache-2.0
Group: Development/Languages/Python
Source: http://cython.org/release/Cython-%{version}.tar.gz
Source: http://pypi.python.org/packages/source/C/Cython/Cython-%{version}.tar.gz
Source1: python-Cython-rpmlintrc
Patch1: python-Cython-c++11.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -57,6 +58,7 @@ code.
%prep
%setup -q -n Cython-%{version}
%patch1
# Fix non-executable scripts
sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py
# Fix EOL encoding