pygobject2: depends on py2cairo not pycairo.

This commit is contained in:
Juan RP 2013-09-29 23:54:38 +02:00
parent 96a215af06
commit 5db08bddf5
1 changed files with 6 additions and 9 deletions

View File

@ -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 <xtraeme@gmail.com>"
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
}
}