summaryrefslogtreecommitdiff
path: root/packages/python/python-setuptools_0.6c5.bb
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-06-21 16:08:16 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-06-21 16:08:16 +0000
commitba68b5b60c6b212df3ac763a9283462564403330 (patch)
tree976a4391a5e19d6835f314598ed1cb24fa3a4c09 /packages/python/python-setuptools_0.6c5.bb
parentfa1cb20696128f0b580187f779aac90b879456f7 (diff)
parent07903f2bd73ad78932437c6dcfb45c25f722fc57 (diff)
merge of 'aaafb999d11846eacd606047f3cddf7a583a9e0c'
and 'b0652ec03153efab79c1e4fedf9f6847d4695672'
Diffstat (limited to 'packages/python/python-setuptools_0.6c5.bb')
-rw-r--r--packages/python/python-setuptools_0.6c5.bb26
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"
+