From 3e2ce6c26a6e58b6a0d0079ede3922ea35d2d6ba Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 13 Jan 2011 20:51:12 +0100 Subject: python-setuptools: import from OE Signed-off-by: Koen Kooi --- .../python/python-setuptools_0.6c11.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes-devtools/python/python-setuptools_0.6c11.bb (limited to 'recipes-devtools') diff --git a/recipes-devtools/python/python-setuptools_0.6c11.bb b/recipes-devtools/python/python-setuptools_0.6c11.bb new file mode 100644 index 0000000000..6b17a41f7f --- /dev/null +++ b/recipes-devtools/python/python-setuptools_0.6c11.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages" +HOMEPAGE = "http://cheeseshop.python.org/pypi/setuptools" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e" + +SRCNAME = "setuptools" +PR = "ml2" +DEPENDS += "python" +DEPENDS_virtclass-native += "python-native" + +SRC_URI = "\ + http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz\ +" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +do_install_prepend() { + install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages +} + +RDEPENDS_${PN} = "\ + python-distutils \ + python-compression \ +" + +SRC_URI[md5sum] = "7df2a529a074f613b509fb44feefe74e" +SRC_URI[sha256sum] = "630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3" + +BBCLASSEXTEND = "native" + +NATIVE_INSTALL_WORKS = "1" -- cgit 1.2.3-korg