]> git.donarmstrong.com Git - debhelper.git/commitdiff
python_distutils: Pass --force to setup.py build, to ensure that when python-dbg...
authorJoey Hess <joey@kitenet.net>
Sun, 25 Jul 2010 17:40:39 +0000 (13:40 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 25 Jul 2010 17:40:39 +0000 (13:40 -0400)
Debian/Debhelper/Buildsystem/python_distutils.pm
debian/changelog

index 70307b0fa2023395af5466d0661a8bb65ef3af62..5115a8aea5854c111ecf4b8013c6fded2d7c19dc 100644 (file)
@@ -163,7 +163,9 @@ sub setup_py {
 
 sub build {
        my $this=shift;
-       $this->setup_py("build", @_);
+       $this->setup_py("build",
+               "--force",
+               @_);
 }
 
 sub install {
index c895d78039d2c27f20f7f5e9e307eb3e93a0b90b..6a1ca77fc1a5c933ecae8549802697f57bf3c546 100644 (file)
@@ -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 <carsten@debian.org>  Sun, 18 Jul 2010 22:30:06 +0200
 
 debhelper (7.9.3) unstable; urgency=low