blob: 5062b2f32741b7ba6cd96b863bc9278c23512a53 (
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
54
55
56
57
58
59
60
61
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/accerciser/accerciser-1.10.1.ebuild,v 1.5 2010/09/11 18:37:22 josejx Exp $
PYTHON_DEPEND="2" # Support for Python 3 not verified
GCONF_DEBUG="no"
inherit gnome2 python eutils
DESCRIPTION="Interactive Python accessibility explorer"
HOMEPAGE="http://live.gnome.org/Accerciser"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DOCS="AUTHORS COPYING ChangeLog NEWS README"
RDEPEND="dev-python/ipython
dev-python/pygtk
dev-python/pygobject
dev-python/pycairo
dev-python/libgnome-python
dev-python/libwnck-python
dev-python/gtksourceview-python
dev-python/gconf-python
dev-python/librsvg-python
>=gnome-extra/at-spi-1.7
>=dev-libs/glib-2"
DEPEND="${RDEPEND}
sys-devel/gettext
>=dev-util/intltool-0.35
app-text/scrollkeeper
>=app-text/gnome-doc-utils-0.12"
pkg_setup() {
G2CONF="${G2CONF} --without-pyreqs"
}
src_unpack() {
gnome2_src_unpack
# Updated Spanish translation, fixes bug #323697
epatch "${FILESDIR}/${P}-fix-es_ES.patch"
# disable pyc compiling
mv "${S}"/py-compile "${S}"/py-compile.orig
ln -s $(type -P true) "${S}"/py-compile
}
pkg_postinst() {
gnome2_pkg_postinst
python_need_rebuild
python_mod_optimize "$(python_get_sitedir)/accerciser"
}
pkg_postrm() {
gnome2_pkg_postrm
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/accerciser
}
|