diff -Nru sphinx-gallery-0.1.13/debian/changelog sphinx-gallery-0.1.13/debian/changelog --- sphinx-gallery-0.1.13/debian/changelog 2017-11-26 21:08:30.000000000 +0000 +++ sphinx-gallery-0.1.13/debian/changelog 2018-01-25 08:30:22.000000000 +0000 @@ -1,3 +1,11 @@ +sphinx-gallery (0.1.13-1ubuntu1) bionic; urgency=medium + + * Override dh_auto_clean and fix FTBFSx2 + * Skip test plot_seaborn_notebook which + requires network access (Closes: #888412) + + -- Graham Inggs Thu, 25 Jan 2018 08:30:22 +0000 + sphinx-gallery (0.1.13-1) unstable; urgency=medium * Initial release; Closes: #882800 diff -Nru sphinx-gallery-0.1.13/debian/control sphinx-gallery-0.1.13/debian/control --- sphinx-gallery-0.1.13/debian/control 2017-11-26 21:08:30.000000000 +0000 +++ sphinx-gallery-0.1.13/debian/control 2018-01-25 08:30:22.000000000 +0000 @@ -1,7 +1,8 @@ Source: sphinx-gallery Section: python Priority: optional -Maintainer: Sandro Tosi +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Sandro Tosi Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 9), dh-python, python-all, python3-all, python-sphinx, python3-sphinx, python-matplotlib, python3-matplotlib, python-pil, python3-pil, python-seaborn, python3-seaborn, python-setuptools, python3-setuptools, python-pytest-runner, python3-pytest-runner Standards-Version: 4.1.1 diff -Nru sphinx-gallery-0.1.13/debian/patches/series sphinx-gallery-0.1.13/debian/patches/series --- sphinx-gallery-0.1.13/debian/patches/series 2017-11-26 21:08:30.000000000 +0000 +++ sphinx-gallery-0.1.13/debian/patches/series 2018-01-25 08:30:22.000000000 +0000 @@ -1 +1,2 @@ seaborn_test_no_cache.patch +skip_seaborn_test.patch diff -Nru sphinx-gallery-0.1.13/debian/patches/skip_seaborn_test.patch sphinx-gallery-0.1.13/debian/patches/skip_seaborn_test.patch --- sphinx-gallery-0.1.13/debian/patches/skip_seaborn_test.patch 1970-01-01 00:00:00.000000000 +0000 +++ sphinx-gallery-0.1.13/debian/patches/skip_seaborn_test.patch 2018-01-25 08:30:22.000000000 +0000 @@ -0,0 +1,15 @@ +Description: Skip test plot_seaborn_notebook which requires network access +Bug-Debian: https://bugs.debian.org/888412 +Author: Graham Inggs +Last-update: 2018-01-25 + +--- a/doc/conf.py ++++ b/doc/conf.py +@@ -339,6 +339,7 @@ + '../tutorials/seaborn']), + 'within_subsection_order': NumberOfCodeLinesSortKey, + 'find_mayavi_figures': find_mayavi_figures, ++ 'filename_pattern': '/plot_(?!seaborn_notebook)', + 'expected_failing_examples': ['../examples/no_output/plot_raise.py', + '../examples/no_output/plot_syntaxerror.py'] + } diff -Nru sphinx-gallery-0.1.13/debian/rules sphinx-gallery-0.1.13/debian/rules --- sphinx-gallery-0.1.13/debian/rules 2017-11-26 21:08:30.000000000 +0000 +++ sphinx-gallery-0.1.13/debian/rules 2018-01-25 08:11:51.000000000 +0000 @@ -33,3 +33,12 @@ override_dh_installdocs: dh_installdocs dh_installdocs -ppython-sphinx-gallery-doc examples/ mayavi_examples/ tutorials/ doc/_build/html/ + +override_dh_auto_clean: + dh_auto_clean + rm -rf $(CURDIR)/build/ + rm -rf $(CURDIR)/doc/_build/ + rm -rf $(CURDIR)/doc/auto_examples/ + rm -rf $(CURDIR)/doc/gen_modules/ + rm -rf $(CURDIR)/doc/tutorials/ + rm -rf $(CURDIR)/sphinx_gallery.egg-info/