]> git.pld-linux.org Git - packages/python-Cython.git/commitdiff
- updated to 0.29.21 auto/th/python-Cython-0.29.21-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 12 Dec 2020 16:29:37 +0000 (17:29 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 12 Dec 2020 16:29:37 +0000 (17:29 +0100)
- added sphinx patch (adjust to use sphinx.ext.imgmath instead of sphinx.ext.pngmath removed in Sphinx 1.8+)

python-Cython-sphinx.patch [new file with mode: 0644]
python-Cython.spec

diff --git a/python-Cython-sphinx.patch b/python-Cython-sphinx.patch
new file mode 100644 (file)
index 0000000..2e0b839
--- /dev/null
@@ -0,0 +1,11 @@
+--- Cython-0.29.21/docs/conf.py.orig   2020-05-19 10:45:14.000000000 +0200
++++ Cython-0.29.21/docs/conf.py        2020-12-12 17:15:58.359720178 +0100
+@@ -41,7 +41,7 @@
+ extensions = [
+     'ipython_console_highlighting',
+     'cython_highlighting',
+-    'sphinx.ext.pngmath',
++    'sphinx.ext.imgmath',
+     'sphinx.ext.todo',
+     'sphinx.ext.intersphinx',
+     'sphinx.ext.autodoc'
index da9439e7538cc84d69e3ad841a05cac532ae9239..c189c5bdb31b081792d39467cd825949794827b3 100644 (file)
 Summary:       Language for writing Python Extension Modules (Python 2.x version)
 Summary(pl.UTF-8):     Język służący do pisania modułów rozszerzających Pythona (wersja dla Pythona 2.x)
 Name:          python-%{module}
-Version:       0.29.14
+Version:       0.29.21
 Release:       1
 License:       Apache v2.0
 Group:         Libraries/Python
 #Source0Download: https://pypi.org/simple/cython/
 Source0:       https://files.pythonhosted.org/packages/source/c/cython/%{module}-%{version}.tar.gz
-# Source0-md5: 6e2f139e30bb08d68366f9370d87964c
+# Source0-md5: 12c5e45af71dcc6dff28cdcbcbef6f39
+Patch0:                %{name}-sphinx.patch
 URL:           http://cython.org/
 BuildRequires: rpmbuild(macros) >= 1.714
 %if %{with python2}
@@ -30,7 +31,7 @@ BuildRequires:        python3-devel >= 1:3.3
 BuildRequires: python3-setuptools
 %endif
 BuildRequires: rpm-pythonprov
-%{?with_apidocs:BuildRequires: sphinx-pdg}
+%{?with_apidocs:BuildRequires: sphinx-pdg-3 >= 1.8}
 Requires:      python-devel >= 1:2.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -95,6 +96,7 @@ Pakiet zawierający przykładowe programy napisane w języku Cython.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
@@ -109,7 +111,8 @@ Pakiet zawierający przykładowe programy napisane w języku Cython.
 %py3_build
 
 %if %{with tests}
-%{__python3} runtests.py
+%{__python3} runtests.py \
+       SPHINXBUILD=sphinx-build-3
 %endif
 %endif
 
This page took 0.093261 seconds and 4 git commands to generate.