summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-11-01 18:33:58 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-11-01 18:33:58 +0000
commit359567097438f2945f820d7b2cbdde94e964e611 (patch)
tree0c0d9289f118235004fc5d4f1b5aff3bf66c5f9a /eclass/python.eclass
parentoops someone forgot me ! (diff)
downloadhistorical-359567097438f2945f820d7b2cbdde94e964e611.tar.gz
historical-359567097438f2945f820d7b2cbdde94e964e611.tar.bz2
historical-359567097438f2945f820d7b2cbdde94e964e611.zip
reintroducing relative linking in alternatives, this time the reverse sorting is fixed via some bash hackery. also some minor fixes in python.eclass
Diffstat (limited to 'eclass/python.eclass')
-rw-r--r--eclass/python.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/python.eclass b/eclass/python.eclass
index 7655c976e9f7..090359a123b6 100644
--- a/eclass/python.eclass
+++ b/eclass/python.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.9 2003/11/01 17:39:10 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.10 2003/11/01 18:33:58 liquidx Exp $
#
# Author: Alastair Tse <liquidx@gentoo.org>
#
@@ -63,8 +63,8 @@ python_version() {
# to the latest installed version
#
python_makesym() {
- alternatives_auto_makesym "/usr/bin/python" "/usr/bin/python[0-9].[0-9]"
- alternatives_auto_makesym "/usr/bin/python2" "/usr/bin/python[0-9].[0-9]"
+ alternatives_auto_makesym "/usr/bin/python" "python[0-9].[0-9]"
+ alternatives_auto_makesym "/usr/bin/python2" "python2.[0-9]"
}
#
@@ -150,7 +150,7 @@ python_mod_optimize() {
compileopts="-q"
fi
- ebegin "Byte Compiling Python modules for ${PYVER} .."
+ ebegin "Byte compiling python modules for python-${PYVER} .."
python${PYVER} ${ROOT}usr/lib/python${PYVER}/compileall.py ${compileopts} $@
python${PYVER} -O ${ROOT}usr/lib/python${PYVER}/compileall.py ${compileopts} $@
eend $?