diff options
| author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2007-06-29 23:21:52 +0000 |
|---|---|---|
| committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2007-06-29 23:21:52 +0000 |
| commit | 93d19714f8efa8413b63070f1c8a1e0ee5266131 (patch) | |
| tree | 6c954f87ddb0d396882b78dff7d7e5d8bc59efd3 /packages/python/python-setuptools_0.6c5.bb | |
| parent | 4674b880ed6fad924653543ee16d6c55ec31c402 (diff) | |
| parent | eb71ae6bd2cecdcd19127066387676a56331b32d (diff) | |
merge of '57fa0ccbbdbca8c188108e3c4fbde4702976f3c6'
and 'b29b99ceeb63af04c2736ab8176705046dc326c0'
Diffstat (limited to 'packages/python/python-setuptools_0.6c5.bb')
| -rw-r--r-- | packages/python/python-setuptools_0.6c5.bb | 26 |
1 files changed, 26 insertions, 0 deletions
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" + |
