Hi,
successfully emerged python & python-fchksum, but after applying
attached patch.
/haubi/
--
Michael Haubenwallner SALOMON Automation GmbH
Forschung & Entwicklung A-8114 Friesach bei Graz
mailto:[EMAIL PROTECTED] http://www.salomon.at
No HTML/MIME please, see http://expita.com/nomime.html
Index: dev-lang/python/python-2.4.2.ebuild
===================================================================
--- dev-lang/python/python-2.4.2.ebuild (revision 1663)
+++ dev-lang/python/python-2.4.2.ebuild (working copy)
@@ -278,7 +278,7 @@
ewarn
ewarn "If you have just upgraded from an older version of python you will need to run:"
ewarn
- ewarn "/usr/sbin/python-updater"
+ ewarn "${EPREFIX}/usr/sbin/python-updater"
ewarn
ewarn "This will automatically rebuild all the python dependent modules"
ewarn "to run with python-${PYVER}."
Index: eclass/python.eclass
===================================================================
--- eclass/python.eclass (revision 1663)
+++ eclass/python.eclass (working copy)
@@ -79,7 +79,7 @@
python_version() {
local tmpstr
- python=${python:-/usr/bin/python}
+ python=${python:-${EPREFIX}/usr/bin/python}
tmpstr="$(${python} -V 2>&1 )"
export PYVER_ALL="${tmpstr#Python }"
__python_version_extract $PYVER_ALL
@@ -217,11 +217,11 @@
for path in ${SEARCH_PATH}; do
einfo "Cleaning orphaned Python bytecode from ${path} .."
- for obj in $(find ${path} -name *.pyc); do
- src_py="${obj%c}"
+ for obj in $(find ${path} -name *.py[co]); do
+ src_py="${obj%[co]}"
if [ ! -f "${src_py}" ]; then
- einfo "Purging ${src_py}[co]"
- rm -f ${src_py}[co]
+ einfo "Purging ${obj}"
+ rm -f ${obj}
fi
done
# attempt to remove directories that maybe empty
Index: eclass/alternatives.eclass
===================================================================
--- eclass/alternatives.eclass (revision 1663)
+++ eclass/alternatives.eclass (working copy)
@@ -72,8 +72,8 @@
# usage: alternatives_makesym <resulting symlink> [alternative targets..]
# make sure it is in the prefix, allow it already to be in the prefix
SYMLINK=${EPREFIX}/${1#${EPREFIX}}
- # this trick removes the trailing / from ${ROOT}
- pref=$(echo ${ROOT} | sed 's:/$::')
+ # this trick removes the trailing ${EPREFIX}/ from ${ROOT}
+ pref=${ROOT%/}; pref=${ROOT%${EPREFIX}}
shift
ALTERNATIVES=$@