File no-install-layout.patch of Package python-stdeb
Index: stdeb-0.8.5/stdeb/util.py
===================================================================
--- stdeb-0.8.5.orig/stdeb/util.py
+++ stdeb-0.8.5/stdeb/util.py
@@ -1480,9 +1480,9 @@ override_dh_auto_build:
%(rules_override_build_target_pythons)s
"""
-RULES_OVERRIDE_INSTALL_TARGET_PY2 = " python setup.py install --force --root=debian/%(package)s --no-compile -O0 --install-layout=deb %(install_prefix)s %(no_python2_scripts_cli_args)s"
+RULES_OVERRIDE_INSTALL_TARGET_PY2 = " python setup.py install --force --root=debian/%(package)s --no-compile -O0 %(install_prefix)s %(no_python2_scripts_cli_args)s"
-RULES_OVERRIDE_INSTALL_TARGET_PY3 = " python3 setup.py install --force --root=debian/%(package3)s --no-compile -O0 --install-layout=deb %(install_prefix)s %(no_python3_scripts_cli_args)s"
+RULES_OVERRIDE_INSTALL_TARGET_PY3 = " python3 setup.py install --force --root=debian/%(package3)s --no-compile -O0 %(install_prefix)s %(no_python3_scripts_cli_args)s"
RULES_OVERRIDE_INSTALL_TARGET = """
override_dh_auto_install: