Skip to contentSkip to conversation

python-mako: use BBCLASSEXTEND instead of native recipe

PATCH In review Ross Burton 2 participants 2 messages Nov 18, 2013 – Feb 11, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-mako: use BBCLASSEXTEND instead of native recipe

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

---
 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
meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb deleted +0 -5
deleted file mode 100644
index 05479db..0000000
@@ -1,5 +0,0 @@
-require python-mako_${PV}.bb
-inherit native pythonnative
-
-DEPENDS = "python-native"
-RDEPENDS_${PN} = ""
meta-oe/recipes-devtools/python/python-mako_0.7.2.bb +3 -0
index 9e381f3..1d2bdd7 100644
@@ -17,3 +17,6 @@ RDEPENDS_${PN} = "python-threading \
                   python-netclient \
                   python-html \
 "
+RDEPENDS_${PN}_class-native = ""
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 2 lines · Ross Burton

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

you also seems to b creating nativesdk versions. Are they needed or just need to be documented in commit msg

Quoted 37 lines

---

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

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

"

meta-oe/recipes-devtools/python/python-mako_0.7.2.bb +3 -0
+RDEPENDS_${PN}_class-native = ""
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 6 lines
1.7.10.4

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel