void-packages/srcpkgs/python3-gobject/template

31 lines
1.0 KiB
Bash

# Template file for 'python3-gobject'
pkgname=python3-gobject
version=3.46.0
revision=2
build_style=meson
build_helper="gir"
configure_args="-Dpython=python${py3_ver}"
hostmakedepends="pkg-config python3-setuptools"
makedepends="libglib-devel python3-cairo-devel python3-devel"
depends="gir-freedesktop python3-cairo"
checkdepends="python3-pytest pango python3-cairo gtk+3 xvfb-run"
short_desc="Python3 bindings for GObject"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://pygobject.readthedocs.io/"
changelog="https://pygobject.readthedocs.io/en/latest/changelog.html"
distfiles="${GNOME_SITE}/pygobject/${version%.*}/pygobject-${version}.tar.xz"
checksum=426008b2dad548c9af1c7b03b59df0440fde5c33f38fb5406b103a43d653cafc
make_check_pre="xvfb-run"
python3-gobject-devel_package() {
depends="libgirepository-devel python3-cairo-devel
libglib-devel libffi-devel
python3-gobject>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}