summaryrefslogtreecommitdiff
blob: d0a581055857de275b2597432c64eb05560e5bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $

inherit gnome2 python

DESCRIPTION="Evolution-python is a library to add python support to evolution-data-server"
HOMEPAGE="http://pygtk.org/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
SRC_URI="http://files.conduit-project.org/releases/${P}.tar.gz"

RDEPEND="virtual/python
	>=dev-python/pygtk-2.4
	>=dev-python/pygobject-2.6
	>=x11-libs/gtk+-2.6.0
	x11-libs/pango
	>=gnome-extra/evolution-data-server-1.8
"
DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.7"

DOCS="AUTHORS ChangeLog INSTALL NEWS README"

pkg_postinst() {
	python_version
	python_mod_optimize ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
}

pkg_postrm() {
	python_version
	python_mod_cleanup
}