summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/setuptools.bbclass2
-rw-r--r--packages/python/python-setuptools-native_0.6c6.bb8
-rw-r--r--packages/python/python-setuptools_0.6c6.bb7
3 files changed, 10 insertions, 7 deletions
diff --git a/classes/setuptools.bbclass b/classes/setuptools.bbclass
index 17c039bf33..ced9509df2 100644
--- a/classes/setuptools.bbclass
+++ b/classes/setuptools.bbclass
@@ -1,6 +1,6 @@
inherit distutils
-DEPENDS += "python-setuptools"
+DEPENDS += "python-setuptools-native"
DISTUTILS_INSTALL_ARGS = "--root=${D} \
--single-version-externally-managed \
diff --git a/packages/python/python-setuptools-native_0.6c6.bb b/packages/python/python-setuptools-native_0.6c6.bb
new file mode 100644
index 0000000000..1b9f90911d
--- /dev/null
+++ b/packages/python/python-setuptools-native_0.6c6.bb
@@ -0,0 +1,8 @@
+require python-setuptools_${PV}.bb
+
+DEPENDS = "python-native"
+
+do_stage() {
+ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+ ${STAGING_BINDIR_NATIVE}/python setup.py install
+}
diff --git a/packages/python/python-setuptools_0.6c6.bb b/packages/python/python-setuptools_0.6c6.bb
index ef56b9b652..721b29961e 100644
--- a/packages/python/python-setuptools_0.6c6.bb
+++ b/packages/python/python-setuptools_0.6c6.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://cheeseshop.python.org/pypi/setuptools"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "MIT-like"
-RDEPENDS = "python-core python-zlib"
+RDEPENDS = "python-distutils python-compression"
SRCNAME = "setuptools"
PR = "ml1"
@@ -15,8 +15,3 @@ inherit distutils
do_install_prepend() {
install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
}
-
-do_stage() {
- BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
- ${STAGING_BINDIR_NATIVE}/python setup.py install
-}