void-packages/srcpkgs/pygobject/template

32 lines
848 B
Plaintext

# Template file for 'pygobject'
pkgname=pygobject
version=3.8.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config gobject-introspection>=1.36"
makedepends="pycairo-devel libglib-devel python-devel"
short_desc="Python bindings for GObject"
homepage="http://www.pygtk.org/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=caa6507edb8cca56e781bf927d88ce99581e1df9978b59a3360cfb74bd9c15f5
pygobject-devel_package() {
depends="libffi-devel libglib-devel libgirepository-devel
pycairo-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
pygobject_package() {
pycompile_module="gi pygtkcompat"
depends="python pycairo"
pkg_install() {
vmove all
}
}