[PATCH] Pass --force option to Python distutils install command.

Andrew Straw strawman at astraw.com
Sun Sep 27 00:26:01 UTC 2009


This command will prevent distutils from attempting to determine
whether a file should be installed based on the timestamp of the
to-be-overwritten file.
---
 Debian/Debhelper/Buildsystem/python_distutils.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Debian/Debhelper/Buildsystem/python_distutils.pm b/Debian/Debhelper/Buildsystem/python_distutils.pm
index bc6e71f..1744004 100644
--- a/Debian/Debhelper/Buildsystem/python_distutils.pm
+++ b/Debian/Debhelper/Buildsystem/python_distutils.pm
@@ -167,6 +167,7 @@ sub install {
 	my $this=shift;
 	my $destdir=shift;
 	$this->setup_py("install",
+                "--force",
 		"--root=$destdir",
 		"--no-compile",
 		"-O0",
-- 
1.6.2.1


--------------010207000203010509030603--





More information about the pkg-fso-maint mailing list