Sync python-pygobject recipe with poky's python3-pygobject:
Setuptools is not a mandatory build-dependency, so remove it.
Pkgutil from the core library is needed at runtime, so add a
dependency on it.
Fixes: f8e1d0c176 ("python-pygobject: move python-setuptools from RDEPENDS to DEPENDS")
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python-setuptools is necessary to build pygobject but not to run it, as
also documented by the upstream packaging guide:
https://gitlab.gnome.org/GNOME/pygobject/blob/master/docs/packagingguide.rst
Move it to DEPENDS to shrink the runtime dependency chain, as setuptools
includes scripts to download other packages, which might not be desired on
a minimal image.
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* after upgrade to 3.32.1, pygobject switch to build with meson, and
default python option is python3, switch to python2
* default install dir get by python.install_sources and
python.get_install_dir is get from python's sysconfig info,
not like python3, for python2, the install dir include prefix of
recipe-sysroot-native dir, like "build/tmp-glibc/work/core2-32-wrs-linux/
python-pygobject/3.32.1-r0/recipe-sysroot-native/usr/lib/python2.7/site-packages"
add stagedir option for user to config correct install dir.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upcoming 60.2.3 mozjs (meta-oe) requires python(2)-six-native for its
configuration. Currently python(2)-six lives in meta-python and it could be
moved to mozjs's home meta-oe but that would be just further clutter.
Once applied here patch to meta-python will be send.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Drop '-f, --force' operator from rm command as that will hide the fact
if the removed artifacts cease to exist in later version of this recipe.
Also drop a superfluous slash from artifact path.
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add missing space characters around the operator in SRCNAME declaration
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove redundant PYTHON* declarations/references as this recipe builds
now correctly without them.
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=1dccb37d89f54d7284b6a81957ab228906f24e1c
has replaced PYTHON_PN references with hardcoded 'python' and 'python3'
strings in pythonnative.bbclass and python3native.bbclass, respectively.
Associated commit message states: "If both are inherited then both
native Pythons are available, but the last to be inherited will be the
one to set PYTHON."
Since after the above-mentioned commit this Pythonv2 recipe installs
wrongly into /usr/lib/python3.5/ directory, move inherit of
distutils-base.bbclass (which inherits pythonnative.bbclass) to right
hand side of gobject-introspection.bbclass (which inherits
python3native.bbclass) which changes the install path back to
/usr/lib/python2.7/ mitigating the issue.
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since the following commit applied in oe-core
...
21f0c5a distutils/setuptools, distutils3/setuptools3: improve reproducibility
...
It unified var-DISTUTILS_INSTALL_ARGS in distutils and setuptools,
so clean up the duplicated var-DISTUTILS_INSTALL_ARGS in each recipe.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
1.Upgrad python-pygobject from 3.22.0 to 3.28.0.
2.Modify 0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch, since the data has been changed.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
* For changes, see:
https://github.com/agronholm/pythonfutures/blob/master/CHANGES.rst
* Inheriting pypi class has the benefit of allowing
auto-upgrade-helper to properly check for new versions
* HOMEPAGE is now on github
* Add nativesdk to BBCLASSEXTEND
* Use LICENSE file for license checksum
* License has changed from BSD to PSF
License-Update: use LICENSE file; license is now PSF
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The ${PYTHON_PN}-importlib package was removed as part of the migration to the
json manifest file. The functionality is now part of core
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The empty pkgconfif directory causes error when run
relocatable_native_pcfiles:
| sed: can't read /path/to/recipe-sysroot-native/usr/lib/pkgconfig/*.pc: No such file or directory
So remove the directory instead of removing the pc file
but left an empty pkgconfig diretory.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The RDEPENDS for native package is not needed,
and it will fail since there is no provider for
python-importlib-native:
| ERROR: Nothing RPROVIDES 'python-importlib-native'
so empty the RDEPENDS for native package.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Upgrade python-pygobject from 3.20.1 to 3.22.0.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
gnome-common is deprecated and gnomebase.bbclass will soon stop depending on it,
so add gnome-common to DEPENDS for the recipes that still use it.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
oe-core provides only python3-pygobject now, and a few recipes in meta-oe
still need the version built against Python 2.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change from distutils to setuptools.
simplejson's setup.py is written to import setup, Extension, Command
from setuptools and fallback to distutils if the import fails. Prior to
this change files were being installed to a host polluted path
/usr/lib/python2.7/site-packages/simplejson-3.8.2-py2.7-linux-x86_64.egg
(even on ARM targets). python was unable to import simplejson. Switching
to setuptools corrects the problem.
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* anki is removed because it runtime depends on python-pyqt, other
recipes are inheriting one of bbclasses removed from oe-core in:
commit cb89d2b25b4edb1241bc5426a69a6bc44df9be2c
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Date: Fri Nov 27 15:48:20 2015 +0200
qt4: remove recipes and classes
* if you're still using one of these recipes add it to meta-qt4 layer
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Upgrade python-simplejson from 2.2.1 to 3.8.1.
Modify LIC_FILES_CHKSUM,but the LICENSE has not been changed.
References: https://pypi.python.org/pypi/simplejson
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Move old version recipe of python-tornado from meta-oe to meta-python
that there is a higher version in meta-python already. And rename from
_git to exact version _2.2.1.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Qt for aarch64 disable QtWebKit due to a build failure. We need to disable
QtWebKit here also until the problem is resolved in the Qt recipe.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This upgrade will match with the openssl 1.0.2 changes
The newer verion of pyopenssl now uses setuptools instead of distutils
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
python-sip has the runtime support for PyQT. Also drop the need
for anki to RDEPEND on python-sip.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The configure.py script now has support for cross compiling. This
simplified the recipe substantially.
The recipe was tested with gnuradio-companion on the zedboard and
ettus-e300. This is the first time we have been able to use grc with
pyqt built with OpenEmbedded.
Build tested on armv7, x86, x86_64 and mips.
Dropped patches from previous versions.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The sip configure.py script now has some support for cross compiling. This
allowed simplication of the existing OpenEmbedded sip support. The sip
recipe now produces support for builds via sip-native and target runtime
via sip.
This has been build and runtime tested on the zedboard and ettus-e300.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Move recipes from meta-openembedded/meta-oe that are not
depended upon by recipes already in meta-oe (e.g. gateone,
anki)
* Recipes NOT moved:
python-futures
python-pyopenssl
python-simplejson
python-tornado
python-pyqt
python-sip
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>