blob: 0265c1811a37c2dbba43d1f6b9dbfefa5da3e208 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python/gnome-python-2.0.0-r1.ebuild,v 1.12 2005/05/05 23:51:25 swegener Exp $
inherit gnome2 python
DESCRIPTION="GNOME 2 bindings for Python"
HOMEPAGE="http://www.pygtk.org/"
LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="alpha amd64 ia64 ppc sparc x86"
IUSE="gtkhtml"
RDEPEND=">=dev-lang/python-2.2
>=dev-python/pygtk-${PV}
>=dev-python/pyorbit-2.0
>=dev-libs/glib-2
>=x11-libs/gtk+-2
>=gnome-base/libgnome-2
>=gnome-base/libgnomeui-2
>=gnome-base/libgnomecanvas-2
>=gnome-base/gnome-vfs-2
>=gnome-base/gconf-1.2
>=x11-libs/libzvt-2
>=gnome-base/libbonobo-2
>=gnome-base/libbonoboui-2
>=gnome-base/nautilus-2
>=gnome-base/gnome-panel-2
>=gnome-base/libgnomeprint-2.2
>=gnome-base/libgnomeprintui-2.2
gtkhtml? ( =gnome-extra/libgtkhtml-2* )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.12.0"
DOCS="AUTHORS ChangeLog INSTALL NEWS README"
src_unpack() {
unpack ${A}
# disable pyc compiling
mv ${S}/py-compile ${S}/py-compile.orig
ln -s /bin/true ${S}/py-compile
}
pkg_postinst() {
python_version
python_mod_optimize /usr/lib/python${PYVER}/site-packages/gtk-2.0
}
pkg_postrm() {
python_version
python_mod_cleanup
}
|