From 3338a47c2494662ce4e277c7215c1584ec6b0f53 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 1 May 2008 10:28:12 +0000 Subject: python-setuptools 0.6c6 add -native package, fix dependencies, make it a non-native package --- classes/setuptools.bbclass | 2 +- packages/python/python-setuptools-native_0.6c6.bb | 8 ++++++++ packages/python/python-setuptools_0.6c6.bb | 7 +------ 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 packages/python/python-setuptools-native_0.6c6.bb 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 -} -- cgit v1.2.3