diff --git a/srcpkgs/pygobject2/template b/srcpkgs/pygobject2/template index e54d91fb115..2dc8a4ed75f 100644 --- a/srcpkgs/pygobject2/template +++ b/srcpkgs/pygobject2/template @@ -1,25 +1,22 @@ # Template file for 'pygobject2' pkgname=pygobject2 version=2.28.6 -revision=5 +revision=6 wrksrc=${pkgname%2}-${version} build_style=gnu-configure configure_args="--disable-introspection" hostmakedepends="pkg-config" -makedepends="libffi-devel libglib-devel cairo-devel python-devel pycairo-devel" +makedepends="libffi-devel libglib-devel cairo-devel python-devel py2cairo-devel" short_desc="Python bindings for GObject (GLib 2.x)" homepage="http://www.pygtk.org/" license="LGPL-2.1" maintainer="Juan RP " distfiles="${GNOME_SITE}/${pkgname%2}/2.28/${pkgname%2}-$version.tar.xz" checksum=fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8 -long_desc=" - Pygobject is a set of Python bindings for the GLib's GObject library, - version 2." pygobject2-devel_package() { - depends="libffi-devel libglib-devel libgirepository-devel pycairo-devel pygobject2>=${version}" - short_desc+=" -- development files" + depends="libffi-devel libglib-devel libgirepository-devel py2cairo-devel pygobject2>=${version}" + short_desc+=" - development files" pycompile_module="usr/share/pygobject/2.0/codegen" replaces="pygobject-devel<3.0.0" pkg_install() { @@ -30,10 +27,10 @@ pygobject2-devel_package() { } pygobject2_package() { - depends="cairo libgirepository python pycairo" + depends="cairo libgirepository python py2cairo" pycompile_module="glib gobject gtk-2.0 pygtk" replaces="pygobject<3.0.0" pkg_install() { - vmove usr + vmove all } }