Bug#921778: deap: FTBFS (Could not import extension sphinx.ext.pngmath)
user debian-rele...@lists.debian.org usertag 921778 + bsp-2019-02-de-berlin thank you Dear maintainers, Greetings from the BSP at the DCSO office in Berlin. I have fixed this bug and attached a patch for the issue. Cheers Sascha diff --git a/debian/changelog b/debian/changelog index b1133ac..d799f8c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,15 @@ -deap (1.0.2.post2-6) UNRELEASED; urgency=medium +deap (1.0.2.post2-6.1) UNRELEASED; urgency=medium + [ OndÅej Nový ] * d/control: Set Vcs-* to salsa.debian.org * d/watch: Use https protocol * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP - -- OndÅej Nový Tue, 13 Feb 2018 10:18:20 +0100 + [ Sascha Steinbiss ] + * Use imgmath Sphinx extension instead of deprecated pngmath. +Closes: #921778 + + -- Sascha Steinbiss Sat, 09 Feb 2019 19:28:44 +0100 deap (1.0.2.post2-5) unstable; urgency=medium diff --git a/debian/patches/0003-remove-pngmath.patch b/debian/patches/0003-remove-pngmath.patch new file mode 100644 index 000..ec000fb --- /dev/null +++ b/debian/patches/0003-remove-pngmath.patch @@ -0,0 +1,17 @@ +Description: replace pngmath with imgmath + The pngmath Sphinx extension has been deprecated in Sphinx 1.4 and + was removed for good in Sphinx 1.8. It can be replaced safely by the + imgmath extension, which is also available in 1.4 (so also in stretch). +Author: Sascha Steinbiss +Last-Update: 2019-02-09 +--- a/doc/conf.py b/doc/conf.py +@@ -27,7 +27,7 @@ + # coming with Sphinx (named 'sphinx.ext.*') or your custom ones + + extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', +- 'sphinx.ext.pngmath', 'sphinx.ext.intersphinx', 'sphinx.ext.extlinks'] ++ 'sphinx.ext.imgmath', 'sphinx.ext.intersphinx', 'sphinx.ext.extlinks'] + + try: + import matplotlib diff --git a/debian/patches/series b/debian/patches/series index 233d16a..393233d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 0001-fix-docs.patch 0002-fix-tests.patch +0003-remove-pngmath.patch
Bug#921778: deap: FTBFS (Could not import extension sphinx.ext.pngmath)
Package: src:deap Version: 1.0.2.post2-5 Severity: serious Tags: ftbfs Dear maintainer: I tried to build this package in buster but it failed: [...] debian/rules build-indep dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_autoreconf -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py config warning: pypandoc module not found, could not convert Markdown to RST running config I: pybuild base:217: python3.7 setup.py config warning: pypandoc module not found, could not convert Markdown to RST running config dh_auto_build -i -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python setup.py build warning: pypandoc module not found, could not convert Markdown to RST [... snipped ...] copying /<>/.pybuild/cpython3_3.7_deap/build/deap/__pycache__/gp.cpython-37.pyc -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/__pycache__ copying /<>/.pybuild/cpython3_3.7_deap/build/deap/__pycache__/__init__.cpython-37.pyc -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/__pycache__ copying /<>/.pybuild/cpython3_3.7_deap/build/deap/__pycache__/base.cpython-37.pyc -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/__pycache__ copying /<>/.pybuild/cpython3_3.7_deap/build/deap/__pycache__/creator.cpython-37.pyc -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/__pycache__ creating /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks copying /<>/.pybuild/cpython3_3.7_deap/build/deap/benchmarks/__init__.py -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks copying /<>/.pybuild/cpython3_3.7_deap/build/deap/benchmarks/movingpeaks.py -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks copying /<>/.pybuild/cpython3_3.7_deap/build/deap/benchmarks/binary.py -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks copying /<>/.pybuild/cpython3_3.7_deap/build/deap/benchmarks/tools.py -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks copying /<>/.pybuild/cpython3_3.7_deap/build/deap/benchmarks/gp.py -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks creating /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks/__pycache__ copying /<>/.pybuild/cpython3_3.7_deap/build/deap/benchmarks/__pycache__/__init__.cpython-37.pyc -> /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks/__pycache__ byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tools/emo.py to emo.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tools/migration.py to migration.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tools/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tools/mutation.py to mutation.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tools/selection.py to selection.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tools/crossover.py to crossover.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tools/init.py to init.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tools/support.py to support.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/base.py to base.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tests/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tests/test_logbook.py to test_logbook.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/tests/test_pickle.py to test_pickle.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/algorithms.py to algorithms.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/cma.py to cma.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/creator.py to creator.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/gp.py to gp.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/python3-deap/usr/lib/python3.7/dist-packages/deap/benchmarks/movingpeaks.py to movingpeaks.cpython-37.pyc byte-compiling