blob: 6a0ed21f7ae709fdaef4af0d99b9d14de4c3d9bf (
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
62
63
64
65
66
67
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/scribes/scribes-0.3.3.3.ebuild,v 1.8 2011/06/18 12:08:27 pacho Exp $
EAPI=3
PYTHON_DEPEND="2:2.6"
GCONF_DEBUG=no
inherit autotools eutils gnome2 python
DESCRIPTION="a text editor that is simple, slim and sleek, yet powerful."
HOMEPAGE="http://scribes.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="gnome-base/gconf
gnome-extra/yelp
dev-libs/dbus-glib
dev-python/dbus-python
dev-python/libgnome-python
dev-python/pygobject:2
dev-python/pygtk:2
dev-python/gtksourceview-python
dev-python/gtkspell-python"
DEPEND="${RDEPEND}
app-text/gnome-doc-utils
dev-util/pkgconfig
dev-util/intltool
sys-devel/gettext"
DOCS="AUTHORS ChangeLog CONTRIBUTORS NEWS README TODO TRANSLATORS"
pkg_setup() {
python_set_active_version 2
G2CONF="--disable-scrollkeeper"
}
src_prepare() {
epatch "${FILESDIR}"/${P}-sandbox.patch \
"${FILESDIR}"/${P}-desktop_entry.patch
eautoreconf
ln -nfs $(type -P true) py-compile || die
python_convert_shebangs -r 2 .
gnome2_src_prepare
}
src_install() {
gnome2_src_install
python_clean_installation_image
}
pkg_postinst() {
gnome2_pkg_postinst
python_mod_optimize SCRIBES
}
pkg_postrm() {
gnome2_pkg_postrm
python_mod_cleanup SCRIBES
}
|