pygtk: depend on py2cairo not pycairo.

This commit is contained in:
Juan RP 2013-09-29 23:56:25 +02:00
parent 5db08bddf5
commit ffefb57c9a

View file

@ -1,27 +1,25 @@
# Template file for 'pygtk'
pkgname=pygtk
version=2.24.0
revision=6
revision=7
build_style=gnu-configure
# XXX: missing python-numpy build dep
hostmakedepends="pkg-config"
makedepends="python-devel gtk+-devel libxml2-devel pygobject2-devel"
makedepends="python-devel gtk+-devel libxml2-devel pygobject2-devel>=2.28.6_6"
short_desc="Python bindings for the GTK+ toolkit"
homepage="http://www.pygtk.org"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/$pkgname/2.24/$pkgname-$version.tar.bz2"
checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
long_desc="
Pygtk is a set of Python bindings for the GTK+ toolkit."
post_install() {
vinstall gtk/gtk-extrafuncs.defs 644 usr/share/pygtk/2.0/defs
}
pygtk-devel_package() {
depends="python-devel gtk+-devel pygobject2-devel pycairo-devel pygtk>=${version}"
short_desc+=" -- development files"
depends="python-devel gtk+-devel py2cairo-devel pygtk>=${version}"
short_desc+=" - development files"
pycompile_module="demos"
pkg_install() {
vmove usr/include
@ -33,9 +31,9 @@ pygtk-devel_package() {
}
pygtk_package() {
depends="python pygobject2 pycairo"
depends="python pygobject2 py2cairo"
pycompile_module="gtk-2.0/gtk"
pkg_install() {
vmove usr
vmove all
}
}