[build] type = "meson" [build.flags] build_dir = "build" configure = ["-Ddoc=true"] post_compile = ['python "tools/generate-pkginfo.py" $version PKG-INFO'] post_install = [ 'python -m compileall -d /usr/lib "$DESTDIR/usr/lib"', 'python -O -m compileall -d /usr/lib "$DESTDIR/usr/lib"', """install -Dm644 -t "$DESTDIR$(python -c 'import site; print(site.getsitepackages()[0])')/dbus_python.egg-info/" PKG-INFO""", ] skip_tests = true # bash [dependencies] build = [ "meson", "python-gobject", "python-pyproject-metadata", "python-sphinx", "python-sphinx_rtd_theme", "python-sphinxcontrib-jquery", "python-tomli", ] optional = ["python-gobject"] runtime = [ "dbus", "glibc", "glib2", "python", ] [package] description = "Python bindings for D-Bus" homepage = "https://www.freedesktop.org/wiki/Software/dbus/" license = "MIT" name = "python-dbus" version = "1.4.0" [[source]] extract_dir = "$name-$version" url = "https://gitlab.freedesktop.org/dbus/dbus-python.git#dbus-python-$version"