SHA256
1
0
forked from pool/python-stdeb
Files
python-stdeb/no-install-layout.patch

17 lines
1.1 KiB
Diff
Raw Permalink Normal View History

Index: stdeb-0.10.0/stdeb/util.py
===================================================================
--- stdeb-0.10.0.orig/stdeb/util.py
+++ stdeb-0.10.0/stdeb/util.py
@@ -1620,9 +1620,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" # noqa: E501
+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" # noqa: E501
-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" # noqa: E501
+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" # noqa: E501
RULES_OVERRIDE_INSTALL_TARGET = """
override_dh_auto_install: