From: Michael Lauer Date: Thu, 21 Jun 2007 04:38:59 +0000 (+0000) Subject: add python-setuptools. closes #2459 X-Git-Tag: Release-2010-05/1~8868^2~261^2~42^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50a2debf442776e1a584cb8828adf56b67124c14;p=openembedded.git add python-setuptools. closes #2459 --- diff --git a/packages/python/python-setuptools_0.6c5.bb b/packages/python/python-setuptools_0.6c5.bb new file mode 100644 index 0000000000..0ee3a02229 --- /dev/null +++ b/packages/python/python-setuptools_0.6c5.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages" +HOMEPAGE = "http://cheeseshop.python.org/pypi/setuptools" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "MIT-like" +RDEPENDS = "python-core python-zlib" +SRCNAME = "setuptools" +PR = "r0" + +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 +} + +do_stage() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + ${STAGING_BINDIR_NATIVE}/python setup.py install +} + +# Deal with .pth file error +export PYTHONPATH="${D}/${libdir}/${PYTHON_DIR}/site-packages" + diff --git a/packages/tasks/task-python-everything_20060425.bb b/packages/tasks/task-python-everything_20060425.bb index 5824ed39c7..d8f7b82632 100644 --- a/packages/tasks/task-python-everything_20060425.bb +++ b/packages/tasks/task-python-everything_20060425.bb @@ -1,7 +1,7 @@ DESCRIPTION= "Everything Python" HOMEPAGE = "http://www.vanille.de/projects/python.spy" LICENSE = "MIT" -PR = "ml10" +PR = "ml11" BROKEN_BECAUSE_GCC4 = "\ python-egenix-mx-base" @@ -56,6 +56,7 @@ RDEPENDS = "\ python-quicklauncher \ python-scapy \ python-scons \ + python-setuptools \ python-sip \ python-sgmlop \ python-snmplib \