179e6766a6
Other changes: - Convert the package to a meson package. - Remove 0001-add-PYTHON_INCLUDES-override.patch as it no longer applies. - Add gobject-introspection as a dependency. - Add the package under myself in the DEVELOPERS file. Because gobject-introspection is now a dependency of python-gobject, the test must be updated at the same time. - Change TestPythonPy2Gobject to TestPythonPy3Gobject as gobject-introspection requires python3. - Refactor test_python_gobject.py to no longer inherit the TestPythonPackageBase class, as this class uses a base config that does not support gobject-introspection. - Update sample_python_gobject to use Glib to find the path of sh. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
20 lines
765 B
Plaintext
20 lines
765 B
Plaintext
config BR2_PACKAGE_PYTHON_GOBJECT
|
|
bool "python-gobject"
|
|
depends on BR2_USE_MMU # libglib2, gobject-introspection
|
|
depends on BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS # gobject-introspection
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection
|
|
depends on BR2_PACKAGE_PYTHON3 # gobject-introspection
|
|
select BR2_PACKAGE_GOBJECT_INTROSPECTION
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
help
|
|
Python bindings for the GLib/GObject library
|
|
|
|
https://wiki.gnome.org/action/show/Projects/PyGObject
|
|
|
|
comment "python-gobject needs a glibc toolchain, gcc >= 4.9"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|