[Lunar-commits] <moonbase> Python: pull out the compiled files for other Python based installed modules.
Florin Braescu
florin at lunar-linux.org
Wed Feb 18 16:21:25 CET 2009
commit 7bdb14d598807bcdd30d7491c8c0f9457f13c75b
Author: Florin Braescu <florin at lunar-linux.org>
Date: Wed Feb 18 17:21:25 2009 +0200
Python: pull out the compiled files for other Python based installed modules.
This avoids the loop compile of Python during lunar fix.
---
python/Python/BUILD | 21 +++++++++++++--------
python/Python/DETAILS | 3 +++
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/python/Python/BUILD b/python/Python/BUILD
index 5df7e7c..6beec01 100644
--- a/python/Python/BUILD
+++ b/python/Python/BUILD
@@ -1,15 +1,20 @@
(
- sedit "s:-O3:$CFLAGS -Os:g" configure &&
+ sedit "s:-O3:$CFLAGS -Os:g" configure &&
- OPTS="$OPTS --enable-shared" &&
+ OPTS="$OPTS --enable-shared" &&
+
+ patch_it $SOURCE_CACHE/$SOURCE2 1 &&
+
+ default_build &&
+
+ install -d /usr/lib/python$MAJOR_VERSION &&
+ install -m755 $SOURCE_DIRECTORY/Tools/i18n/msgfmt.py \
+ $SOURCE_DIRECTORY/Tools/i18n/pygettext.py \
+ /usr/lib/python$MAJOR_VERSION/ &&
- default_build &&
-
- install -d /usr/lib/python$MAJOR_VERSION &&
- install -m755 $SOURCE_DIRECTORY/Tools/i18n/msgfmt.py \
- $SOURCE_DIRECTORY/Tools/i18n/pygettext.py \
- /usr/lib/python$MAJOR_VERSION/ &&
gather_docs Misc/*
) > $C_FIFO 2>&1
+
+ make compileall
diff --git a/python/Python/DETAILS b/python/Python/DETAILS
index d0ac1b5..cc8fea3 100644
--- a/python/Python/DETAILS
+++ b/python/Python/DETAILS
@@ -2,8 +2,11 @@
VERSION=2.6.1
MAJOR_VERSION=2.6
SOURCE=$MODULE-$VERSION.tar.bz2
+ SOURCE2=$MODULE-compileall.patch.bz2
SOURCE_URL=http://www.python.org/ftp/python/$VERSION
SOURCE_VFY=sha1:419f0cb29e9713ea861dde8c43d107c51329e57b
+ SOURCE2_URL=$PATCH_URL
+ SOURCE2_VFY=sha1:9aae8e93899aabc64bbd7f2921ed23f44ec8e6c4
WEB_SITE=http://www.python.org
ENTERED=20010922
UPDATED=20081220
More information about the Lunar-commits
mailing list