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

login
register
mail settings
Submitter Ross Burton
Date Nov. 18, 2013, 10:55 a.m.
Message ID <1384772140-11095-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/61897/
State Accepted, archived
Headers show

Comments

Ross Burton - Nov. 18, 2013, 10:55 a.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
Khem Raj - Feb. 11, 2014, 3:46 a.m.
On Nov 18, 2013, at 2:55 AM, Ross Burton <ross.burton@intel.com> wrote:

> 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

> 
> 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
> 
> 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"
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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"