[Lunar-commits] CVS: moonbase/compilers/Python BUILD, 1.7,
1.8 DETAILS, 1.13, 1.14 POST_INSTALL, 1.2, 1.3
Moritz Heiber
moe at lunar-linux.org
Fri Dec 3 08:21:31 UTC 2004
Update of /var/cvs/lunar/moonbase/compilers/Python
In directory espresso.foo-projects.org:/tmp/cvs-serv9726
Modified Files:
BUILD DETAILS POST_INSTALL
Log Message:
florin, seriously, PLEASE .. you have to overthink what
you are doing. Some modules need more than just changing
their versions. Plus, Python 2.4 needn't to work with all
the modules in the moonbase.
sigh, updating to the module I created yesterday afternoon.
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/compilers/Python/BUILD,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- BUILD 14 Aug 2004 03:53:12 -0000 1.7
+++ BUILD 3 Dec 2004 08:21:28 -0000 1.8
@@ -1,11 +1,11 @@
(
- unset CC CXX &&
- default_config &&
- mkdir -p /usr/lib/python2.3 &&
- cp -f $SOURCE_DIRECTORY/Tools/i18n/* /usr/lib/python2.3/ &&
- default_make &&
- mkdir -p $DOCUMENT_DIRECTORY/Python &&
- cp -a Misc $DOCUMENT_DIRECTORY/Python
+ default_build &&
+
+ install -d /usr/lib/python2.4 &&
+ install -m755 $SOURCE_DIRECTORY/Tools/i18n/msgfmt.py \
+ $SOURCE_DIRECTORY/Tools/i18n/pygettext.py \
+ /usr/lib/python2.4/ &&
+ gather_docs Misc/*
) > $C_FIFO 2>&1
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/compilers/Python/DETAILS,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- DETAILS 3 Dec 2004 04:06:56 -0000 1.13
+++ DETAILS 3 Dec 2004 08:21:28 -0000 1.14
@@ -5,9 +5,8 @@
SOURCE_VFY=sha1:80c06f491a4b2a629e868540150faf22c5d0e41e
WEB_SITE=http://www.python.org
ENTERED=20010922
- UPDATED=20041203
+ UPDATED=20040527
SHORT="Python is an interpreted, interactive, object-oriented programming language."
-
cat << EOF
Python is an interpreted, interactive, object-oriented programming
language. It combines remarkable power with very clear syntax, and isn't
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/compilers/Python/POST_INSTALL,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- POST_INSTALL 2 Aug 2003 01:46:35 -0000 1.2
+++ POST_INSTALL 3 Dec 2004 08:21:28 -0000 1.3
@@ -1,6 +1,17 @@
-# NOTE: this POST_INSTALL can go away after a reasonable time.
-# Once we're sure every lunar user is converted over to Python-2.3
-if [ -d /usr/lib/python2.2/site-packages ]; then
- cp -a /usr/lib/python2.2/site-packages/* /usr/lib/python2.3/site-packages
+# Don't break any Python depended application.
+# Note: This is a workaround and needs some more attention ..
+# a working soluation might also help solving the same issue
+# with perl
+
+NEWPYTHONDIR=/usr/lib/python2.4
+OLDPYTHONDIR=/usr/lib/python2.3
+
+if [ -d $OLDPYTHONDIR ]; then
+ if [ -d $OLDPYTHONDIR/site-packages ]; then
+ for ext in $OLDPYTHONDIR/site-packages; do
+ cp -a $ext $NEWPYTHONDIR;
+ done;
+ fi
+ # Remove the old location
+ rm -rf $OLDPYTHONDIR
fi
-true
More information about the Lunar-commits
mailing list