diff -Nru python-fabio-0.5.0+dfsg/debian/changelog python-fabio-0.5.0+dfsg/debian/changelog --- python-fabio-0.5.0+dfsg/debian/changelog 2017-09-20 18:17:29.000000000 +0000 +++ python-fabio-0.5.0+dfsg/debian/changelog 2017-11-04 02:05:52.000000000 +0000 @@ -1,3 +1,12 @@ +python-fabio (0.5.0+dfsg-2+rpi1) buster-staging; urgency=medium + + * Rebuild with new python. + * Don't fail the build if manpage generation fails (this is an horrible hack + but it's less horrible IMO than the current linker breakage) + * Disable documenation build, even after the hack above building the doc is failing. + + -- Peter Michael Green Sat, 04 Nov 2017 02:05:52 +0000 + python-fabio (0.5.0+dfsg-2) unstable; urgency=medium * d/control diff -Nru python-fabio-0.5.0+dfsg/debian/patches/dont-fail-build-on-manpage-failure,patch python-fabio-0.5.0+dfsg/debian/patches/dont-fail-build-on-manpage-failure,patch --- python-fabio-0.5.0+dfsg/debian/patches/dont-fail-build-on-manpage-failure,patch 1970-01-01 00:00:00.000000000 +0000 +++ python-fabio-0.5.0+dfsg/debian/patches/dont-fail-build-on-manpage-failure,patch 2017-11-04 02:05:52.000000000 +0000 @@ -0,0 +1,32 @@ +Description: Don't fail the build if manpage generation fails + (this is an horrible hack but it's less horrible IMO than the current linker breakage) +Author: Peter Michael Green + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: 2017-11-04 + +Index: python-fabio-0.5.0+dfsg/setup.py +=================================================================== +--- python-fabio-0.5.0+dfsg.orig/setup.py ++++ python-fabio-0.5.0+dfsg/setup.py +@@ -217,8 +217,8 @@ class BuildMan(Command): + + p = subprocess.Popen(command_line, env=env) + status = p.wait() +- if status != 0: +- raise RuntimeError("Fail to generate '%s' man documentation" % target_name) ++ #if status != 0: ++ # raise RuntimeError("Fail to generate '%s' man documentation" % target_name) + finally: + # clean up the script + if script_name is not None: diff -Nru python-fabio-0.5.0+dfsg/debian/patches/series python-fabio-0.5.0+dfsg/debian/patches/series --- python-fabio-0.5.0+dfsg/debian/patches/series 2017-09-20 17:47:01.000000000 +0000 +++ python-fabio-0.5.0+dfsg/debian/patches/series 2017-11-04 02:05:52.000000000 +0000 @@ -1,2 +1,3 @@ 0001-do-not-touch-PYTHONPATH.patch 0002-fix-the-install_requires-depends.patch +dont-fail-build-on-manpage-failure,patch diff -Nru python-fabio-0.5.0+dfsg/debian/rules python-fabio-0.5.0+dfsg/debian/rules --- python-fabio-0.5.0+dfsg/debian/rules 2017-09-20 17:47:01.000000000 +0000 +++ python-fabio-0.5.0+dfsg/debian/rules 2017-11-04 02:05:52.000000000 +0000 @@ -40,7 +40,7 @@ dh_installman -p fabio-viewer build/man/*.1 override_dh_sphinxdoc: -ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) +ifeq (docsdisabled,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) PYBUILD_SYSTEM=custom \ PYBUILD_BUILD_ARGS="cd doc && PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' {interpreter} -m sphinx -N -bhtml source build/html" dh_auto_build # HTML generator dh_installdocs "doc/build/html" -p python-fabio-doc