diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-07-12 19:44:58 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-07-12 19:44:58 +0000 |
commit | 65f0fadb206c6210df221a9151708531fd603a7d (patch) | |
tree | a68852a82d24afe4de593a25324ff4ed1cce23e7 /multimedia/tunapie/files/patch-src-compile | |
parent | EXML is an abstracted, generalized interface to an xml parser/writer, using (diff) |
Update to 1.0.r2
PR: ports/99805
Submitted by: maintainer
Diffstat (limited to 'multimedia/tunapie/files/patch-src-compile')
-rw-r--r-- | multimedia/tunapie/files/patch-src-compile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/tunapie/files/patch-src-compile b/multimedia/tunapie/files/patch-src-compile new file mode 100644 index 000000000000..3e627617891b --- /dev/null +++ b/multimedia/tunapie/files/patch-src-compile @@ -0,0 +1,17 @@ +$FreeBSD$ +--- src/compile Sun Jul 2 10:49:31 2006 ++++ src/compile.port Tue Jul 11 21:30:59 2006 +@@ -1 +1,12 @@ +-import Tunapie ++import os, os.path, re ++from compiler import compileFile ++ ++def compile_tunapie(arg, dir, files): ++ for file in files: ++ path = os.path.join(dir, file) ++ path = os.path.normcase(path) ++ if re.search(r".*\.py$", path): ++ print " ==> Generating bytecode for " + path ++ compileFile(path) ++ ++os.path.walk('.', compile_tunapie, 0) |