14
0
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:
Todd R
2019-04-02 18:58:30 +00:00
committed by Git OBS Bridge
parent 9a978ca19a
commit 6c016720d7
5 changed files with 57 additions and 0 deletions

View File

@@ -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