From caf14278ab7c665858d9f3c7b62ea5e43ca7d8e1 Mon Sep 17 00:00:00 2001 From: Lukas Bulwahn Date: Mon, 7 Jan 2013 14:35:38 +0100 Subject: [PATCH] removing unneeded easyinstall and duplicate setuptools --- classes/easyinstall.bbclass | 11 ----------- classes/setuptools.bbclass | 8 -------- 2 files changed, 19 deletions(-) delete mode 100644 classes/easyinstall.bbclass delete mode 100644 classes/setuptools.bbclass diff --git a/classes/easyinstall.bbclass b/classes/easyinstall.bbclass deleted file mode 100644 index 8ae975d..0000000 --- a/classes/easyinstall.bbclass +++ /dev/null @@ -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 -} - diff --git a/classes/setuptools.bbclass b/classes/setuptools.bbclass deleted file mode 100644 index ced9509..0000000 --- a/classes/setuptools.bbclass +++ /dev/null @@ -1,8 +0,0 @@ -inherit distutils - -DEPENDS += "python-setuptools-native" - -DISTUTILS_INSTALL_ARGS = "--root=${D} \ - --single-version-externally-managed \ - --prefix=${prefix} \ - --install-data=${datadir}"