[OE-core] [PATCH 1/2] python-dbus: Native dbus python module needed for dbus tests

Martin Jansa martin.jansa at gmail.com
Fri Aug 17 13:09:53 UTC 2012


On Fri, Aug 17, 2012 at 04:05:00PM +0300, Andrei Gherzan wrote:
> Signed-off-by: Andrei Gherzan <andrei.gherzan at windriver.com>
> ---
>  meta/recipes-devtools/python/python-dbus_1.1.1.bb |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-devtools/python/python-dbus_1.1.1.bb b/meta/recipes-devtools/python/python-dbus_1.1.1.bb
> index 51d5bc2..35149a0 100644
> --- a/meta/recipes-devtools/python/python-dbus_1.1.1.bb
> +++ b/meta/recipes-devtools/python/python-dbus_1.1.1.bb
> @@ -4,7 +4,7 @@ HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=f5612614133e9a2f2dad527d97554670"
>  DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native"
> -PR = "r0"
> +PR = "r1"
>  
>  SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz"
>  
> @@ -23,3 +23,6 @@ export STAGING_INCDIR
>  RDEPENDS_${PN} = "python-io python-logging python-stringold python-threading python-xml"
>  
>  FILES_${PN}-dev += "${libdir}/pkgconfig"
> +
> +RDEPENDS_${PN}_virtclass-native = "python"

Does RDEPENDS_${PN} work for native recipes? I thought that R* vars are
for runtime packages and native builds doesn't provide them imho.

And if they do, why not explicitly ask for python-native, because target python wont help I guess.

> +BBCLASSEXTEND = "native"
> -- 
> 1.7.5.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120817/3a130a34/attachment-0002.sig>


More information about the Openembedded-core mailing list