summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch')
-rw-r--r--meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch28
1 files changed, 14 insertions, 14 deletions
diff --git a/meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch b/meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch
index f09bfbca5d..f8334a7212 100644
--- a/meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch
+++ b/meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch
@@ -5,20 +5,20 @@ Upstream-Status: Inappropriate [embedded specific]
5 pyc files by automake. 5 pyc files by automake.
6 6
7Signed-off-by: Andreas Oberritter <obi@opendreambox.org> 7Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
8---
9 lib/py-compile | 17 -----------------
10 1 files changed, 0 insertions(+), 17 deletions(-)
11 8
12diff --git a/lib/py-compile b/lib/py-compile 9Updated for automake-1.12.6
13index 3f9d05b..101c814 100755 10
14--- a/lib/py-compile 11Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
15+++ b/lib/py-compile 12
16@@ -101,23 +101,6 @@ else 13diff -Nurd automake-1.12.6/lib/py-compile automake-1.12.6/lib/py-compile
14--- automake-1.12.6/lib/py-compile 2012-12-13 21:57:31.000000000 +0200
15+++ automake-1.12.6/lib/py-compile 2012-12-27 19:34:01.426015140 +0200
16@@ -115,26 +115,6 @@
17 filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" 17 filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
18 fi 18 fi
19 19
20-$PYTHON -c " 20-$PYTHON -c "
21-import sys, os, py_compile 21-import sys, os, py_compile, imp
22- 22-
23-files = '''$files''' 23-files = '''$files'''
24- 24-
@@ -31,12 +31,12 @@ index 3f9d05b..101c814 100755
31- continue 31- continue
32- sys.stdout.write(file) 32- sys.stdout.write(file)
33- sys.stdout.flush() 33- sys.stdout.flush()
34- py_compile.compile(filepath, filepath + 'c', path) 34- if hasattr(imp, 'get_tag'):
35- py_compile.compile(filepath, imp.cache_from_source(filepath), path)
36- else:
37- py_compile.compile(filepath, filepath + 'c', path)
35-sys.stdout.write('\n')" || exit $? 38-sys.stdout.write('\n')" || exit $?
36- 39-
37 # this will fail for python < 1.5, but that doesn't matter ... 40 # this will fail for python < 1.5, but that doesn't matter ...
38 $PYTHON -O -c " 41 $PYTHON -O -c "
39 import sys, os, py_compile 42 import sys, os, py_compile, imp
40--
411.7.0.4
42