[build] type = "meson" [build.flags] build_dir = "build" skip_tests = true post_install = [ '''python -m compileall -d /usr/lib "$DESTDIR/usr/lib"''', '''python -O -m compileall -d /usr/lib "$DESTDIR/usr/lib"''', '''python -m sphinx -b html docs "$DESTDIR/usr/share/doc/pygobject/html"''', '''rm -r "$DESTDIR/usr/share/doc/pygobject/html/.doctrees"''' ] split-docs = true [dependencies] build = [ "meson", "python-cairo", "python-pydata-sphinx-theme", "python-setuptools", "python-sphinx", "python-sphinx-copybutton", "git" ] optional = ["python-cairo"] runtime = [ "glib2", "glibc", "gobject-introspection", "libffi", "python", ] [package] description = "Python bindings for GLib/GObject/GIO/GTK" homepage = "https://pygobject.gnome.org/" license = "LGPL-2.1-or-later" name = "python-gobject" version = "3.56.1" [[source]] extract_dir = "$name-$version" url = "https://gitlab.gnome.org/GNOME/pygobject.git#$version"