void-packages/srcpkgs/pygobject/template

32 lines
860 B
Plaintext

# Template file for 'pygobject'
pkgname=pygobject
version=3.8.0
revision=2
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=9c57f581ae35587108c978cb116eeb7ec186b50c95b145f62033589ee248b32d
pygobject-devel_package() {
depends="libffi-devel libglib-devel libgirepository-devel
pycairo-devel ${sourcepkg}-${version}_${revision}"
short_desc="${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 usr
}
}