user debian-rele...@lists.debian.org
tag 918827 patch
usertag 918827 bsp-2019-02-de-berlin
thank you

Hello, the attached patch replaces pngmath with imgmath in conf.py and
fixes the FTBFS bug.

Micha Rosenbaum
diff -Nru atheist-0.20110402/debian/changelog atheist-0.20110402/debian/changelog
--- atheist-0.20110402/debian/changelog	2015-08-20 00:16:42.000000000 +0200
+++ atheist-0.20110402/debian/changelog	2019-02-10 12:01:28.000000000 +0100
@@ -1,3 +1,10 @@
+atheist (0.20110402-2.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Replaced pngmath module with imgmath (Closes: #918827)
+
+ -- Micha David Rosenbaum <mi...@rosetree.de>  Sun, 10 Feb 2019 12:01:28 +0100
+
 atheist (0.20110402-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru atheist-0.20110402/debian/patches/replace-pngmath.patch atheist-0.20110402/debian/patches/replace-pngmath.patch
--- atheist-0.20110402/debian/patches/replace-pngmath.patch	1970-01-01 01:00:00.000000000 +0100
+++ atheist-0.20110402/debian/patches/replace-pngmath.patch	2019-02-10 12:01:28.000000000 +0100
@@ -0,0 +1,18 @@
+Description: Replace pngmath sphinx module with imgmath
+ This package used the deprecated and later removed Sphinx extension
+ pngmath. This caused in FTBFS with newer Sphinx versions. pngmath can
+ be replaced with imgmath.
+Author: Micha David Rosenbaum <mi...@rosetree.de>
+Bug-Debian: https://bugs.debian.org/918827
+Last-Update: 2019-02-10
+--- atheist-0.20110402.orig/doc/conf.py
++++ atheist-0.20110402/doc/conf.py
+@@ -22,7 +22,7 @@ import sys, os
+
+ # Add any Sphinx extension module names here, as strings. They can be extensions
+ # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.ifconfig']
++extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.imgmath', 'sphinx.ext.ifconfig']
+
+ # Add any paths that contain templates here, relative to this directory.
+ templates_path = ['_templates']
diff -Nru atheist-0.20110402/debian/patches/series atheist-0.20110402/debian/patches/series
--- atheist-0.20110402/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ atheist-0.20110402/debian/patches/series	2019-02-10 12:01:28.000000000 +0100
@@ -0,0 +1 @@
+replace-pngmath.patch

Reply via email to