summaryrefslogtreecommitdiff
blob: 896979defaad5fa3c0114474347debda0d9f035c (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/gourmet/gourmet-0.13.8.ebuild,v 1.4 2010/02/07 20:24:05 pva Exp $

EAPI="2"

inherit eutils distutils

DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome"
HOMEPAGE="http://grecipe-manager.sourceforge.net/"
SRC_URI="mirror://sourceforge/grecipe-manager/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gnome-print rtf"

RDEPEND="|| ( dev-lang/python:2.5
	      dev-lang/python:2.4 )
	>=dev-python/pygtk-2.3.93
	>=dev-python/libgnome-python-2
	>=gnome-base/libglade-2
	|| ( dev-lang/python:2.5[sqlite]
	     >=dev-python/pysqlite-2 )
	dev-python/imaging
	dev-db/metakit[python]
	dev-python/reportlab
	rtf? ( dev-python/pyrtf )
	gnome-print? ( >=dev-python/libgnomeprint-python-2 )"
DEPEND="${RDEPEND}"

# distutils gets a bunch of default docs
DOCS="FAQ"

src_prepare() {
	epatch "${FILESDIR}/${PN}-python-2.6-threading.patch"
}

src_install() {
	distutils_src_install --disable-modules-check
}