[oe] [PATCH] python-epydoc_3.0.1.bb: merged native and non-native recipes

Fahad Usman fahad_usman at mentor.com
Fri Sep 24 15:24:25 UTC 2010


* removed the python-epydoc-native_3.0.1.bb file
* added DEPENDS_pn-python-epydoc-native = "python-native" and added DEPENDS_pn-python-epydoc = "python"
* added BBCLASSEXTEND = "native"
* added NATIVE_INSTALL_WORKS = "1"
* bunped PR

Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
---
 recipes/python/python-epydoc-native_3.0.1.bb |   11 -----------
 recipes/python/python-epydoc_3.0.1.bb        |    8 +++++++-
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/recipes/python/python-epydoc-native_3.0.1.bb b/recipes/python/python-epydoc-native_3.0.1.bb
deleted file mode 100644
index c9d6813..0000000
--- a/recipes/python/python-epydoc-native_3.0.1.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require python-epydoc_${PV}.bb
-DEPENDS = "python-native"
-inherit native
-
-do_stage() {
-	distutils_stage_all
-}
-
-
-SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294"
-SRC_URI[sha256sum] = "d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1"
diff --git a/recipes/python/python-epydoc_3.0.1.bb b/recipes/python/python-epydoc_3.0.1.bb
index a2b66e3..6a2e591 100644
--- a/recipes/python/python-epydoc_3.0.1.bb
+++ b/recipes/python/python-epydoc_3.0.1.bb
@@ -4,7 +4,9 @@ PRIORITY = "optional"
 LICENSE = "MIT" 
 HOMEPAGE = "http://epydoc.sourceforge.net/" 
 SRCNAME = "epydoc" 
-DEPENDS = "python" 
+DEPENDS_pn-python-epydoc = "python"
+DEPENDS_pn-python-epydoc-native = "python-native"
+PR = "r1"
  
 SRC_URI = "http://downloads.sourceforge.net/project/${SRCNAME}/${SRCNAME}/${PV}/${SRCNAME}-${PV}.tar.gz" 
 S = "${WORKDIR}/${SRCNAME}-${PV}" 
@@ -13,3 +15,7 @@ inherit distutils
 
 SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294"
 SRC_URI[sha256sum] = "d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3





More information about the Openembedded-devel mailing list