distcc/distcc-3.2_rc1-python.patch

217 lines
6.6 KiB
Diff
Raw Normal View History

--- a/bench/statistics.py 2008-12-03 06:50:21.000000000 +0900
+++ b/bench/statistics.py 2011-10-27 17:05:08.418023081 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python2.2
+#! /usr/bin/env python
# benchmark -- automated system for testing distcc correctness
# and performance on various source trees.
--- a/include_server/basics.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/basics.py 2011-10-27 17:05:08.421023097 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
#
# Copyright 2007 Google Inc.
#
--- a/include_server/basics_test.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/basics_test.py 2011-10-27 17:05:08.421023097 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/c_extensions_test.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/c_extensions_test.py 2011-10-27 17:05:08.421023097 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/cache_basics.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/cache_basics.py 2011-10-27 17:05:08.422023101 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/compiler_defaults.py 2011-04-06 03:58:59.000000000 +0900
+++ b/include_server/compiler_defaults.py 2011-10-27 17:05:08.422023101 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/compress_files.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/compress_files.py 2011-10-27 17:05:08.422023101 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/include_analyzer.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/include_analyzer.py 2011-10-27 17:05:08.422023101 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/include_analyzer_memoizing_node.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/include_analyzer_memoizing_node.py 2011-10-27 17:05:08.422023101 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/include_analyzer_memoizing_node_test.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/include_analyzer_memoizing_node_test.py 2011-10-27 17:05:08.423023105 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/include_analyzer_test.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/include_analyzer_test.py 2011-10-27 17:05:08.423023105 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/include_server.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/include_server.py 2011-10-27 17:05:08.423023105 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/include_server_test.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/include_server_test.py 2011-10-27 17:05:08.423023105 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/macro_eval.py 2011-04-06 03:58:59.000000000 +0900
+++ b/include_server/macro_eval.py 2011-10-27 17:05:08.423023105 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/macro_eval_test.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/macro_eval_test.py 2011-10-27 17:05:08.423023105 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/mirror_path.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/mirror_path.py 2011-10-27 17:05:08.424023109 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/mirror_path_test.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/mirror_path_test.py 2011-10-27 17:05:08.424023109 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/parse_command.py 2011-04-06 03:58:59.000000000 +0900
+++ b/include_server/parse_command.py 2011-10-27 17:05:08.424023109 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/parse_command_test.py 2011-04-06 03:58:59.000000000 +0900
+++ b/include_server/parse_command_test.py 2011-10-27 17:05:08.424023109 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/parse_file.py 2011-04-06 03:58:59.000000000 +0900
+++ b/include_server/parse_file.py 2011-10-27 17:05:08.424023109 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/parse_file_test.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/parse_file_test.py 2011-10-27 17:05:08.424023109 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/run.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/run.py 2011-10-27 17:05:08.424023109 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/setup.py 2011-04-06 03:58:59.000000000 +0900
+++ b/include_server/setup.py 2011-10-27 17:05:08.425023113 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
# Copyright 2007 Google Inc.
#
--- a/include_server/statistics.py 2008-12-03 06:50:31.000000000 +0900
+++ b/include_server/statistics.py 2011-10-27 17:05:08.425023113 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3
#
# Copyright 2007 Google Inc.
#
--- a/test/onetest.py 2008-12-03 06:50:22.000000000 +0900
+++ b/test/onetest.py 2011-10-27 17:05:08.432023140 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
#
# Copyright 2007 Google Inc.
#
--- a/test/testdistcc.py 2011-10-21 11:40:49.000000000 +0900
+++ b/test/testdistcc.py 2011-10-27 17:05:08.432023140 +0900
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python
# Copyright (C) 2002, 2003, 2004 by Martin Pool <mbp@samba.org>
# Copyright 2007 Google Inc.
--- a/update-distcc-symlinks.py 2018-03-12 21:05:56.325853740 -0400
+++ b/update-distcc-symlinks.py 2018-03-12 21:06:03.205684850 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
import subprocess, string, os, stat, re