[oe-commits] org.oe.dev python-setuptools 0.6c6 add -native package, fix dependencies, make it a non-native package

mickeyl commit oe at amethyst.openembedded.net
Thu May 1 10:31:55 UTC 2008


python-setuptools 0.6c6 add -native package, fix dependencies, make it a non-native package

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 77e6de1879d8cb9e2cedcd283c5c43e8c333cc65
ViewMTN: http://monotone.openembedded.org/revision/info/77e6de1879d8cb9e2cedcd283c5c43e8c333cc65
Files:
1
packages/python/python-setuptools-native_0.6c6.bb
classes/setuptools.bbclass
packages/python/python-setuptools_0.6c6.bb
Diffs:

#
# mt diff -r36a88fb056d568cca435876f49aa1b1e440454a0 -r77e6de1879d8cb9e2cedcd283c5c43e8c333cc65
#
#
#
# add_file "packages/python/python-setuptools-native_0.6c6.bb"
#  content [37e35eebe4105610cad978ad7a92f12a2b9095d1]
# 
# patch "classes/setuptools.bbclass"
#  from [f0a6d602e9af754216e3616efb17302d0116fe3b]
#    to [de18f3769a72fd6890b414d5ad97471bd58ce683]
# 
# patch "packages/python/python-setuptools_0.6c6.bb"
#  from [57994d92ba3eec5b7d6f145f3d08241becb3a6dc]
#    to [074cb8e81cb89426c6d897caeb5fd18c68571c9a]
#
============================================================
--- packages/python/python-setuptools-native_0.6c6.bb	37e35eebe4105610cad978ad7a92f12a2b9095d1
+++ packages/python/python-setuptools-native_0.6c6.bb	37e35eebe4105610cad978ad7a92f12a2b9095d1
@@ -0,0 +1,8 @@
+require python-setuptools_${PV}.bb
+
+DEPENDS = "python-native"
+
+do_stage() {
+    BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+      ${STAGING_BINDIR_NATIVE}/python setup.py install
+}
============================================================
--- classes/setuptools.bbclass	f0a6d602e9af754216e3616efb17302d0116fe3b
+++ classes/setuptools.bbclass	de18f3769a72fd6890b414d5ad97471bd58ce683
@@ -1,6 +1,6 @@ inherit distutils
 inherit distutils
 
-DEPENDS += "python-setuptools"
+DEPENDS += "python-setuptools-native"
 
 DISTUTILS_INSTALL_ARGS = "--root=${D} \
     --single-version-externally-managed \
============================================================
--- packages/python/python-setuptools_0.6c6.bb	57994d92ba3eec5b7d6f145f3d08241becb3a6dc
+++ packages/python/python-setuptools_0.6c6.bb	074cb8e81cb89426c6d897caeb5fd18c68571c9a
@@ -3,7 +3,7 @@ LICENSE = "MIT-like"
 SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "MIT-like"
-RDEPENDS = "python-core python-zlib"
+RDEPENDS = "python-distutils python-compression"
 SRCNAME = "setuptools"
 PR = "ml1"
 
@@ -15,8 +15,3 @@ do_install_prepend() {
 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 
-}






More information about the Openembedded-commits mailing list