python-gobject2: rebuild for python2 shebang

This commit is contained in:
Alessio Sergi 2016-10-27 11:55:27 +02:00
parent 7acd8583c2
commit 44d805151b

View file

@ -1,16 +1,15 @@
# Template file for 'python-gobject2'
pkgname=python-gobject2
version=2.28.6
revision=11
revision=12
wrksrc=pygobject-${version}
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-introspection"
hostmakedepends="automake libtool pkg-config python-devel which glib-devel"
configure_args="--disable-introspection PYTHON=/usr/bin/python2"
hostmakedepends="automake libtool pkg-config python-devel glib-devel"
makedepends="libffi-devel libglib-devel cairo-devel python-devel python-cairo-devel"
depends="cairo python python-cairo"
pycompile_module="glib gobject gtk-2.0 pygtk"
replaces="pygobject<3.0.0 pygobject2>=0"
pycompile_module="glib gobject gtk-2.0 pygtk.py"
short_desc="Python2 bindings for GObject (GLib 2.x)"
homepage="http://www.pygtk.org/"
license="LGPL-2.1"
@ -31,7 +30,6 @@ python-gobject2-devel_package() {
depends="libffi-devel libglib-devel python-cairo-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pycompile_module="usr/share/pygobject/2.0/codegen"
replaces="pygobject-devel<3.0.0 pygobject2-devel>=0"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig