diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-09-04 18:05:28 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-07-14 01:27:53 +0200 |
commit | 89f6a3cadaa6fc7da4866a6d8e54678bb81c2294 (patch) | |
tree | c29aa8ea2cdc8b55989c98c2636be189834a6bf6 /debian/lenny/applications/kde-guidance | |
parent | 969208d92e57960ab67adf648474c3d8905ac0a6 (diff) | |
download | tde-packaging-89f6a3cadaa6fc7da4866a6d8e54678bb81c2294.tar.gz tde-packaging-89f6a3cadaa6fc7da4866a6d8e54678bb81c2294.zip |
Switch remaining packages to dh_python2 on Debian and Ubuntu
(cherry picked from commit 424e979d8a2e10edd215b055c3fcbf89369e4c4e)
Diffstat (limited to 'debian/lenny/applications/kde-guidance')
-rw-r--r-- | debian/lenny/applications/kde-guidance/debian/python-distutils-jaunty.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/lenny/applications/kde-guidance/debian/python-distutils-jaunty.mk b/debian/lenny/applications/kde-guidance/debian/python-distutils-jaunty.mk index 9c5e5211f..db329306c 100644 --- a/debian/lenny/applications/kde-guidance/debian/python-distutils-jaunty.mk +++ b/debian/lenny/applications/kde-guidance/debian/python-distutils-jaunty.mk @@ -161,9 +161,10 @@ endif ifdef _cdbs_rules_debhelper DEB_DH_PYTHON_ARGS = $(addprefix -V ,$(DEB_PYTHON_COMPILE_VERSION)) $(DEB_DH_PYTHON_ARGS_ALL) $(DEB_DH_PYTHON_ARGS_$(cdbs_curpkg)) +DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_python) $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: - dh_python -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS) + ${DH_PYTHON2} -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS) endif @@ -256,6 +257,7 @@ endif # archall detection ifdef _cdbs_rules_debhelper DEB_DH_PYTHON_ARGS = $(DEB_DH_PYTHON_ARGS_ALL) $(DEB_DH_PYTHON_ARGS_$(cdbs_curpkg)) $(DEB_PYTHON_PRIVATE_MODULES_DIRS) +DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_python) $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) @@ -263,7 +265,7 @@ ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) else dh_pycentral -p$(cdbs_curpkg) endif - dh_python -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS) + ${DH_PYTHON2} -p$(cdbs_curpkg) $(DEB_DH_PYTHON_ARGS) endif |