[oe] [PATCH] python-setuptools: mergerd natinve and target

Fahad Usman fahad_usman at mentor.com
Thu Sep 30 07:45:57 UTC 2010


* merged native and target recipes and converted to new style staging
* bumped PR
* added BBCLASSEXTEND = "native" and NATIVE_INSTALL_WORKS = "1"

Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
---
 recipes/python/python-setuptools-native_0.6c9.bb |   11 -----------
 recipes/python/python-setuptools_0.6c9.bb        |    7 ++++++-
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/recipes/python/python-setuptools-native_0.6c9.bb b/recipes/python/python-setuptools-native_0.6c9.bb
deleted file mode 100644
index 3a39701..0000000
--- a/recipes/python/python-setuptools-native_0.6c9.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require python-setuptools_${PV}.bb
-inherit native
-
-DEPENDS = "python-native"
-
-do_stage() {
-	distutils_stage_all
-}
-
-SRC_URI[md5sum] = "3864c01d9c719c8924c455714492295e"
-SRC_URI[sha256sum] = "e6190497301b6cb1484b9e6173723452c8df1b4cd9ea97af75c9589b1c34b3d8"
diff --git a/recipes/python/python-setuptools_0.6c9.bb b/recipes/python/python-setuptools_0.6c9.bb
index d2682bb..069437a 100644
--- a/recipes/python/python-setuptools_0.6c9.bb
+++ b/recipes/python/python-setuptools_0.6c9.bb
@@ -4,7 +4,8 @@ SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "MIT"
 SRCNAME = "setuptools"
-PR = "ml1"
+PR = "ml2"
+DEPENDS_pn-python-setuptools-native = "python-native"
 
 SRC_URI = "\
   http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz\
@@ -25,3 +26,7 @@ RDEPENDS_${PN} = "\
 
 SRC_URI[md5sum] = "3864c01d9c719c8924c455714492295e"
 SRC_URI[sha256sum] = "e6190497301b6cb1484b9e6173723452c8df1b4cd9ea97af75c9589b1c34b3d8"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3





More information about the Openembedded-devel mailing list