[oe-commits] Ross Burton : python-mako: use BBCLASSEXTEND instead of native recipe

git at git.openembedded.org git at git.openembedded.org
Mon Nov 18 22:16:49 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 6c2a235545839b1ae6e9940cafe2b6617a57a344
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=6c2a235545839b1ae6e9940cafe2b6617a57a344

Author: Ross Burton <ross.burton at intel.com>
Date:   Fri Nov  1 17:22:38 2013 +0000

python-mako: use BBCLASSEXTEND instead of native recipe

There isn't a need for a separate native recipe, so use BBCLASSEXTEND and
overrides.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.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(-)

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"



More information about the Openembedded-commits mailing list