diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-09-30 15:54:28 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-30 17:00:51 +0100 |
| commit | 2eaa5d068965dd4f7f79e62721bd1490d1c3968e (patch) | |
| tree | 6ae5e42835b3cd4182a0cbcc57a54ecc2d99b9ed /meta/recipes-devtools/python/python3-pygobject_3.50.0.bb | |
| parent | e37affdfeb3ca6587b90fe4c93a142306f3fd05d (diff) | |
| download | poky-2eaa5d068965dd4f7f79e62721bd1490d1c3968e.tar.gz | |
python3-pygobject: upgrade 3.48.2 -> 3.50.0
Add RDEPENDS on asyncio as per changelog.
Changelog:
===========
* tests: Fix event test errors when GTK is not installed :mr:'347'
* Rename master branch to main
* Drop support for Python 3.8 :mr:'300'
* Add Override for Gio.DataInputStream :mr:'293'
* Treat GParamSpec as any other fundamental type :mr:'268'
* override connection.register_object to prevent an invocation object from
leaking :mr:'219'
* Various PyPy related fixes :mr:'299'
* bind_property: Accept keyword arguments :mr:'309'
* Various documentation improvements :mr:'342' :mr:'343' :mr:'338'
:mr:'336' :mr:'335' :mr:'328' :mr:'329' :mr:'330' :mr:'325' :mr:'322' :mr:'312'
* Python2 / GTK2 cleanups :mr:'338' :mr:'331'
* asyncio integration with support to await Gio async functions :mr:'189'
* meson: move from .egg-info to .dist-info/METADATA :mr:'306'
* build: fixes for building with gobject-introspection 1.81 :mr:'344'
(From OE-Core rev: 2f599132609cef9843b48262c2e1eae1a289f460)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pygobject_3.50.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pygobject_3.50.0.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.50.0.bb b/meta/recipes-devtools/python/python3-pygobject_3.50.0.bb new file mode 100644 index 0000000000..23beff94e7 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pygobject_3.50.0.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | SUMMARY = "Python GObject bindings" | ||
| 2 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/pygobject" | ||
| 3 | DESCRIPTION = "PyGObject is a Python package which provides bindings for GObject based libraries such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more." | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LICENSE = "LGPL-2.1-only" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | ||
| 7 | |||
| 8 | GIR_MESON_OPTION = "" | ||
| 9 | |||
| 10 | inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even | ||
| 11 | |||
| 12 | python() { | ||
| 13 | if d.getVar('CLASSOVERRIDE') == "class-target" and not bb.utils.to_boolean(d.getVar("GI_DATA_ENABLED")): | ||
| 14 | raise bb.parse.SkipRecipe("GI not available") | ||
| 15 | } | ||
| 16 | |||
| 17 | DEPENDS += "python3 glib-2.0" | ||
| 18 | |||
| 19 | SRCNAME="pygobject" | ||
| 20 | |||
| 21 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz" | ||
| 22 | SRC_URI[sha256sum] = "8d836e75b5a881d457ee1622cae4a32bcdba28a0ba562193adb3bbb472472212" | ||
| 23 | |||
| 24 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 25 | |||
| 26 | PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}" | ||
| 27 | |||
| 28 | RDEPENDS:${PN} += " \ | ||
| 29 | python3-asyncio \ | ||
| 30 | python3-io \ | ||
| 31 | python3-pkgutil \ | ||
| 32 | " | ||
| 33 | |||
| 34 | # python3-pycairo is checked on configuration -> DEPENDS | ||
| 35 | # we don't link against python3-pycairo -> RDEPENDS | ||
| 36 | PACKAGECONFIG[cairo] = "-Dpycairo=enabled,-Dpycairo=disabled, cairo python3-pycairo, python3-pycairo" | ||
| 37 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false," | ||
| 38 | |||
| 39 | BBCLASSEXTEND = "native" | ||
| 40 | PACKAGECONFIG:class-native = "" | ||
