blob: e585216da1e745760f9b281db2b3ad3b9fe3a22c (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils distutils
DESCRIPTION="Simple but powerful recipe-managing application"
HOMEPAGE="http://grecipe-manager.sourceforge.net/"
MY_P="${P}-2"
SRC_URI="mirror://sourceforge/grecipe-manager/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=virtual/python-2.3
>=dev-python/pygtk-2.3.93
=dev-python/gnome-python-2*
=gnome-base/libglade-2*
>=dev-python/pysqlite-2.0
dev-python/imaging
dev-python/gnome-python-extras
dev-python/pyrtf
dev-python/reportlab
dev-db/metakit"
DOCS="README TODO PKG-INFO CHANGES"
src_unpack() {
unpack ${A}
cd ${S}
}
pkg_setup() {
if ! built_with_use 'dev-db/metakit' python ; then
eerror "You need to install metakit with python support. Try:"
eerror "USE='python' emerge metakit"
die "python support missing from metakit"
fi
}
src_compile() {
einfo "Nothing to be compiled."
}
src_install() {
distutils_src_install --disable-modules-check
for doc in ${DOCS}; do
[ -s "$doc" ] && dodoc $doc
done
}
pkg_postinst() {
python_version
python_mod_optimize /usr/lib/python${PYVER}/site-packages/dosage
einfo "Please consult the README file included."
}
pkg_postrm() {
python_version
python_mod_cleanup
}
|