PyGObject3 provides Python bindings to the GObject class from GLib.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://download.gnome.org/sources//pygobject/3.54/pygobject-3.54.5.tar.gz
Download SHA256 Sum: b6656f6348f5245606cf15ea48c384c7f05156c75ead206c1b246c80a22fb585
Download MD5 sum: 613245df25142059c2b1c04850e23532
Download size: 4,265.6 KB
Estimated disk space required: 8,548.4 KB
Estimated build time: less than 0.1 SBU
GLib-2.86.2 (with GObject Introspection)
Prepare pygobject3 by running the following commands:
First, if you do not have "gtk4" installed, remove two tests:
mv -v tests/test_gdbus.py{,.nouse}
mv -v tests/test_overrides_gtk.py{,.nouse}meson setup build --prefix=/usr --buildtype=release
ninja -C build
![[Note]](../images/note.png)
An already active graphical session with a bus address is necessary to run the tests. To test the results, issue:
ninja -C build test
Now Install the package, as the root user:
ninja -C build install
--buildtype=release: Specify a buildtype
suitable for stable releases of the package, as the default may
produce unoptimized binaries.
-D pycairo=disabled: use this switch if you do not
have PyCairo-1.28.0 installed.