SHA256
1
0
forked from pool/python-stdeb
Files
python-stdeb/no-install-layout.patch
John Vandenberg 4803178f89 Accepting request 972333 from home:jayvdb:branches:devel:languages:python
- Fixed %check by adding missing $
- Update to v0.10.0
  * The default Debian compat version has been changed from 7 to 9
    as well as new
- from v0.9.1
  * A few improvements for Python 3 as well as new options.
- Updated patches

OBS-URL: https://build.opensuse.org/request/show/972333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stdeb?expand=0&rev=15
2022-04-24 13:25:33 +00:00

17 lines
1.1 KiB
Diff

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: