]> git.pld-linux.org Git - packages/python3.git/blobdiff - python3-pythonpath.patch
-fno-semantic-interposition is upstream now
[packages/python3.git] / python3-pythonpath.patch
index fe5e48ebfbf956b1cca7e61d733d1c0ec8081447..1342158f730472849f471c6d6738c799066bb84c 100644 (file)
  # intentionally NOT "/usr/bin/env python".  On many systems
  # (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI
  # scripts, and /usr/local/bin is the default directory where Python is
---- Python-3.0.1/Tools/pybench/pybench.py.wiget        2009-02-07 18:28:46.000000000 +0100
-+++ Python-3.0.1/Tools/pybench/pybench.py      2009-03-14 18:12:32.000000000 +0100
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/python -O
-+#!/usr/bin/python3 -O
- """ A Python Benchmark Suite
---- Python-3.0.1/Tools/scripts/fixps.py.wiget  2007-08-03 19:06:41.000000000 +0200
-+++ Python-3.0.1/Tools/scripts/fixps.py        2009-03-14 18:12:32.000000000 +0100
-@@ -15,13 +15,13 @@ def main():
-             print(filename, ': can\'t open :', msg)
-             continue
-         line = f.readline()
--        if not re.match('^#! */usr/local/bin/python', line):
--            print(filename, ': not a /usr/local/bin/python script')
-+        if not re.match('^#! */usr/bin/python3', line):
-+            print(filename, ': not a /usr/bin/python3 script')
-             f.close()
-             continue
-         rest = f.read()
-         f.close()
--        line = re.sub('/usr/local/bin/python',
-+        line = re.sub('/usr/bin/python3',
-                       '/usr/bin/env python', line)
-         print(filename, ':', repr(line))
-         f = open(filename, "w")
---- Python-3.0.1/Doc/README.txt.wiget  2009-02-13 00:46:00.000000000 +0100
-+++ Python-3.0.1/Doc/README.txt        2009-03-14 18:12:32.000000000 +0100
-@@ -37,7 +37,7 @@ the top-level index `build/html/index.ht
- To use a Python interpreter that's not called ``python``, use the standard
- way to set Makefile variables, using e.g. ::
--   make html PYTHON=/usr/bin/python2.5
-+   make html PYTHON=/usr/bin/python3
- Available make targets are:
+
This page took 0.03293 seconds and 4 git commands to generate.