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

Andrei Gherzan andrei at gherzan.ro
Fri Aug 17 13:55:37 UTC 2012


On Fri, Aug 17, 2012 at 4:09 PM, Martin Jansa <martin.jansa at gmail.com>wrote:

> 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.bbb/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.
>
>
The idea here was that rdepends should be overwritten as - python-io
python-logging python-stringold python-threading python-xml - are not
native packages. While compiling (python-dbus-native) build-system is
looking for python-io-native for example which wrong and fails:
ERROR: Nothing RPROVIDES 'python-io-native'

Do you think of a better solution?

Thank you


>  > +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
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120817/857d16d5/attachment-0002.html>


More information about the Openembedded-core mailing list