# 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.15.4.ebuild,v 1.1 2010/05/08 04:23:27 nixphoeni Exp $ EAPI="2" PYTHON_DEPEND="2:2.4" inherit distutils python 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 pdf rtf" RDEPEND=">=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/sqlalchemy-0.5.5 dev-python/imaging dev-db/metakit[python] pdf? ( dev-python/reportlab ) rtf? ( dev-python/pyrtf ) gnome-print? ( >=dev-python/libgnomeprint-python-2 )" DEPEND="${RDEPEND}" # distutils gets a bunch of default docs DOCS="TESTS FAQ" pkg_setup() { python_set_active_version 2 } src_prepare() { distutils_src_prepare python_convert_shebangs -r --quiet 2 . } src_install() { distutils_src_install --disable-modules-check doman gourmet.1 }