Hello community,

here is the log from the commit of package python-Cython for openSUSE:Factory 
checked in at 2019-04-04 12:05:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Cython (Old)
 and      /work/SRC/openSUSE:Factory/.python-Cython.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Cython"

Thu Apr  4 12:05:47 2019 rev:47 rq:690772 version:0.29.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Cython/python-Cython-doc.changes  
2019-03-04 09:10:00.708711574 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-Cython.new.3908/python-Cython-doc.changes    
    2019-04-04 12:05:56.585438669 +0200
@@ -1,0 +2,7 @@
+Tue Apr  2 16:08:29 UTC 2019 - Todd R <[email protected]>
+
+- Add cython_use_imgmath.patch
+  The pngmath Sphinx extension has been removed.  Use imgmath instead.
+  See: gh#cython/cython#2818
+
+-------------------------------------------------------------------
python-Cython.changes: same change

New:
----
  cython_use_imgmath.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Cython-doc.spec ++++++
--- /var/tmp/diff_new_pack.jnoVAc/_old  2019-04-04 12:05:59.765439511 +0200
+++ /var/tmp/diff_new_pack.jnoVAc/_new  2019-04-04 12:05:59.765439511 +0200
@@ -28,9 +28,14 @@
 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:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-Sphinx
+BuildRequires:  python3-Sphinx-latex
+BuildRequires:  texlive-dvipng
+BuildRequires:  texlive-latex
 BuildArch:      noarch
 %if %{with test}
 BuildRequires:  %{python_module Cython = %{version}}
@@ -49,6 +54,7 @@
 
 %prep
 %setup -q -n Cython-%{version}
+%patch0 -p1
 # Fix EOL encoding
 sed -i "s|\r||" Demos/callback/{README.rst,cheesefinder.h} 
Demos/embed/Makefile.{unix,msc.static}
 # Remove tests broken with new gcc
@@ -60,6 +66,7 @@
 %install
 mkdir -p %{buildroot}%{_docdir}/python-Cython
 cp -r build/sphinx/html %{buildroot}%{_docdir}/python-Cython
+sed -i 's/\r$//' 
%{buildroot}%{_docdir}/python-Cython/html/_sources/examples/README.rst.txt
 %fdupes %{buildroot}%{_docdir}/python-Cython
 
 %if %{with test}

++++++ python-Cython.spec ++++++
--- /var/tmp/diff_new_pack.jnoVAc/_old  2019-04-04 12:05:59.785439516 +0200
+++ /var/tmp/diff_new_pack.jnoVAc/_new  2019-04-04 12:05:59.785439516 +0200
@@ -27,6 +27,8 @@
 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 @@
 
 %prep
 %setup -q -n Cython-%{version}
+%patch0 -p1
 # Fix non-executable scripts
 sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py
 

++++++ cython_use_imgmath.patch ++++++
>From 452627ce99f3fa180f85838b8208a3cb3fcf0b71 Mon Sep 17 00:00:00 2001
From: Stefan Behnel <[email protected]>
Date: Sun, 27 Jan 2019 16:43:41 +0100
Subject: [PATCH] Docs: switch from outdated "pngmath" sphinx package to
 "imgmath", and use "svg" as output format. See #2818.

---
 docs/conf.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index 10662e28ca..c20a57574e 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -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'
@@ -132,6 +132,9 @@
 # If true, keep warnings as "system message" paragraphs in the built documents.
 #keep_warnings = False
 
+# The output image format. The default is 'png'. It should be either 'png' or 
'svg'.
+imgmath_image_format = "svg"
+
 
 # -- Options for HTML output 
---------------------------------------------------
 

Reply via email to