forked from pool/python-Cython
Accepting request 690771 from home:TheBlackCat:branches:devel:languages:python
Fix building of documentation OBS-URL: https://build.opensuse.org/request/show/690771 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=122
This commit is contained in:
@@ -27,6 +27,8 @@ Group: Development/Languages/Python
|
||||
URL: http://www.cython.org
|
||||
Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz
|
||||
Source1: python-Cython-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM -- cython_use_imgmath.patch -- Don't use removed pngmath Sphinx extension -- gh#cython/cython#2818
|
||||
Patch0: cython_use_imgmath.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module xml}
|
||||
BuildRequires: fdupes
|
||||
@@ -54,6 +56,7 @@ allows the compiler to generate very efficient C code from Cython code.
|
||||
|
||||
%prep
|
||||
%setup -q -n Cython-%{version}
|
||||
%patch0 -p1
|
||||
# Fix non-executable scripts
|
||||
sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py
|
||||
|
||||
|
Reference in New Issue
Block a user