[OE-core] [PATCH] python3-pygobject: move python3-setuptools from RDEPENDS to DEPENDS

Luca Boccassi luca.boccassi at gmail.com
Thu Aug 8 11:48:22 UTC 2019


> On 05/08/2019 11:52, luca.boccassi at gmail.com wrote:
> >   inherit gnomebase distutils3-base gobject-introspection upstream-
> version-is-even
> >   
> > -DEPENDS += "python3 glib-2.0"
> > +DEPENDS += "python3 python3-setuptools glib-2.0"
> 
> If setuptools is a build dependency then surely you mean 
> python3-setuptools-native.  And if you need python3-setuptools-
> native, 
> then just inherit setuptools3 instead of distutils3-base.
> 
> Ross

Hi,

inheriting setuptools3 does not seem to work, the build fails:

2019-08-07T20:29:11.4006600Z [INFO] [10443] | /source/build-
project/tmp/work/aarch64-project-linux/python3-pygobject/3.28.3-
r0/recipe-sysroot-native/usr/bin/python3-native/python3: can't open
file 'setup.py': [Errno 2] No such file or directory

Using the -native suffix works, so sent a v2 doing that.

Thanks!

-- 
Kind regards,
Luca Boccassi



More information about the Openembedded-core mailing list