[oe-commits] org.oe.dev add python-setuptools. closes #2459

mickeyl commit openembedded-commits at lists.openembedded.org
Thu Jun 21 05:05:32 UTC 2007


add python-setuptools. closes #2459

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 2154836964f26e67990562b7839b5daa340ea61f
ViewMTN: http://monotone.openembedded.org/revision.psp?id=2154836964f26e67990562b7839b5daa340ea61f
Files:
1
packages/python/python-setuptools_0.6c5.bb
packages/tasks/task-python-everything_20060425.bb
Diffs:

#
# mt diff -r56187b1b0bd7a17617a07188e76045983199cc00 -r2154836964f26e67990562b7839b5daa340ea61f
#
# 
# 
# add_file "packages/python/python-setuptools_0.6c5.bb"
#  content [4225103b3cc96e75911321bcfd1ba59503f611fd]
# 
# patch "packages/tasks/task-python-everything_20060425.bb"
#  from [fff5f1aaae264222e4ca31536f39854c52b787ed]
#    to [d087583d0a68f57ad575994d85e26930165c8571]
# 
============================================================
--- packages/python/python-setuptools_0.6c5.bb	4225103b3cc96e75911321bcfd1ba59503f611fd
+++ packages/python/python-setuptools_0.6c5.bb	4225103b3cc96e75911321bcfd1ba59503f611fd
@@ -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"
+
============================================================
--- packages/tasks/task-python-everything_20060425.bb	fff5f1aaae264222e4ca31536f39854c52b787ed
+++ packages/tasks/task-python-everything_20060425.bb	d087583d0a68f57ad575994d85e26930165c8571
@@ -1,7 +1,7 @@ LICENSE = "MIT"
 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		\






More information about the Openembedded-commits mailing list