removing unneeded easyinstall and duplicate setuptools

This commit is contained in:
Lukas Bulwahn 2013-01-07 14:35:38 +01:00
parent f0aeb0f54c
commit caf14278ab
2 changed files with 0 additions and 19 deletions

View File

@ -1,11 +0,0 @@
pkg_postinst_${PN} () {
if test ! -e ${PYTHON_SITEPACKAGES_DIR}/easy-install.pth; then
cat > ${PYTHON_SITEPACKAGES_DIR}/easy-install.pth << EOF
import sys; sys.__plen = len(sys.path)
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)
EOF
fi
sed -i '$ i ${EASYINSTALL_${PN}}' ${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
}

View File

@ -1,8 +0,0 @@
inherit distutils
DEPENDS += "python-setuptools-native"
DISTUTILS_INSTALL_ARGS = "--root=${D} \
--single-version-externally-managed \
--prefix=${prefix} \
--install-data=${datadir}"