2009-11-30 21:06:14 +00:00
|
|
|
# Template file for 'pygtk'
|
|
|
|
pkgname=pygtk
|
2011-10-02 10:33:23 +00:00
|
|
|
version=2.24.0
|
2013-04-13 11:29:34 +00:00
|
|
|
revision=6
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-29 09:38:40 +00:00
|
|
|
# XXX: missing python-numpy build dep
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="python-devel gtk+-devel libxml2-devel pygobject2-devel"
|
2009-11-30 21:06:14 +00:00
|
|
|
short_desc="Python bindings for the GTK+ toolkit"
|
2013-03-29 12:28:30 +00:00
|
|
|
homepage="http://www.pygtk.org"
|
|
|
|
license="LGPL-2.1"
|
2009-11-30 21:06:14 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-13 11:29:34 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/2.24/$pkgname-$version.tar.bz2"
|
2011-10-02 10:33:23 +00:00
|
|
|
checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
|
2009-11-30 21:06:14 +00:00
|
|
|
long_desc="
|
|
|
|
Pygtk is a set of Python bindings for the GTK+ toolkit."
|
|
|
|
|
2013-03-29 09:38:40 +00:00
|
|
|
post_install() {
|
2011-07-05 10:55:25 +00:00
|
|
|
vinstall gtk/gtk-extrafuncs.defs 644 usr/share/pygtk/2.0/defs
|
2009-11-30 21:06:14 +00:00
|
|
|
}
|
2013-04-13 11:29:34 +00:00
|
|
|
|
|
|
|
pygtk-devel_package() {
|
|
|
|
depends="python-devel gtk+-devel pygobject2-devel pycairo-devel pygtk>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pycompile_module="demos"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/pygtk
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pygtk_package() {
|
|
|
|
depends="python pygobject2 pycairo"
|
|
|
|
pycompile_module="gtk-2.0/gtk"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|