From: Joey Hess Date: Sun, 25 Jul 2010 17:40:39 +0000 (-0400) Subject: python_distutils: Pass --force to setup.py build, to ensure that when python-dbg... X-Git-Tag: 8.0.0~3 X-Git-Url: https://git.donarmstrong.com/?p=debhelper.git;a=commitdiff_plain;h=865e6266a5eaae81004bf530bc23da1c3fdc10b1 python_distutils: Pass --force to setup.py build, to ensure that when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759 --- diff --git a/Debian/Debhelper/Buildsystem/python_distutils.pm b/Debian/Debhelper/Buildsystem/python_distutils.pm index 70307b0..5115a8a 100644 --- a/Debian/Debhelper/Buildsystem/python_distutils.pm +++ b/Debian/Debhelper/Buildsystem/python_distutils.pm @@ -163,7 +163,9 @@ sub setup_py { sub build { my $this=shift; - $this->setup_py("build", @_); + $this->setup_py("build", + "--force", + @_); } sub install { diff --git a/debian/changelog b/debian/changelog index c895d78..6a1ca77 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,13 @@ debhelper (7.9.4) UNRELEASED; urgency=low + [ Carsten Hey ] * dh_fixperms: Ensure files in /etc/sudoers.d/ are mode 440. Closes: #589574 + [ Joey Hess ] + * python_distutils: Pass --force to setup.py build, to ensure that when + python-dbg is run it does not win and result in scripts having it in + the shebang line. Closes: #589759 + -- Carsten Hey Sun, 18 Jul 2010 22:30:06 +0200 debhelper (7.9.3) unstable; urgency=low