blob: 560ffe2619302c90a25370312f28c4363c686111 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild,v 1.6 2011/01/31 13:34:08 phajdan.jr Exp $
EAPI=3
GCONF_DEBUG=no
PYTHON_DEPEND="2:2.6"
inherit gnome2 python
DESCRIPTION="Font preview application"
HOMEPAGE="http://uwstopia.nl"
SRC_URI="http://uwstopia.nl/geek/projects/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="dev-python/gconf-python
dev-python/libgnome-python
dev-python/pygtk
dev-python/pygobject"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig
sys-devel/gettext"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
DOCS="AUTHORS ChangeLog NEWS README TODO"
}
src_prepare() {
rm -f py-compile
ln -s $(type -P true) py-compile
gnome2_src_prepare
}
src_install() {
gnome2_src_install
python_convert_shebangs 2 "${D}"/usr/bin/${PN}
}
pkg_postinst() {
python_mod_optimize specimen
gnome2_pkg_postinst
}
pkg_postrm() {
python_mod_cleanup specimen
gnome2_pkg_postrm
}
|