Patchwork [meta-oe] python-mako: use BBCLASSEXTEND instead of native recipe

login
register
mail settings
Submitter Ross Burton
Date Nov. 1, 2013, 5:22 p.m.
Message ID <1383326558-24008-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/61003/
State Accepted, archived
Headers show

Comments

Ross Burton - Nov. 1, 2013, 5:22 p.m.
There isn't a need for a separate native recipe, so use BBCLASSEXTEND and
overrides.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb |    5 -----
 meta-oe/recipes-devtools/python/python-mako_0.7.2.bb        |    3 +++
 2 files changed, 3 insertions(+), 5 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb

Patch

diff --git a/meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb b/meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb
deleted file mode 100644
index 05479db..0000000
--- a/meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@ 
-require python-mako_${PV}.bb
-inherit native pythonnative
-
-DEPENDS = "python-native"
-RDEPENDS_${PN} = ""
diff --git a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
index 9e381f3..1d2bdd7 100644
--- a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
+++ b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
@@ -17,3 +17,6 @@  RDEPENDS_${PN} = "python-threading \
                   python-netclient \
                   python-html \
 "
+RDEPENDS_${PN}_class-native = ""
+
+BBCLASSEXTEND = "native nativesdk"