void-packages/srcpkgs/pygobject/template

32 lines
848 B
Plaintext

# Template file for 'pygobject'
pkgname=pygobject
version=3.8.3
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=384b3e1b8d1e7c8796d7eb955380d62946dd0ed9c54ecf0817af2d6b254e082c
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
}
}