summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/gourmet/gourmet-0.16.1-r2.ebuild')
-rw-r--r--app-misc/gourmet/gourmet-0.16.1-r2.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/app-misc/gourmet/gourmet-0.16.1-r2.ebuild b/app-misc/gourmet/gourmet-0.16.1-r2.ebuild
deleted file mode 100644
index 8739d9713b6c..000000000000
--- a/app-misc/gourmet/gourmet-0.16.1-r2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gourmet/gourmet-0.16.1-r2.ebuild,v 1.1 2013/11/19 02:45:49 nixphoeni Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python{2_6,2_7} )
-PYTHON_REQ_USE="sqlite"
-# Parallel builds fail when building translations
-DISTUTILS_NO_PARALLEL_BUILD=1
-
-inherit distutils-r1
-
-DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome"
-HOMEPAGE="http://thinkle.github.com/gourmet/"
-SRC_URI="https://github.com/thinkle/gourmet/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="-i18n -ipython pdf print spell sound web"
-
-RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-0.7.9-r1[${PYTHON_USEDEP}]
- virtual/python-imaging[${PYTHON_USEDEP}]
- i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
- ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
- pdf? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
- >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
- print? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
- >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
- spell? ( dev-python/gtkspell-python )
- sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[${PYTHON_USEDEP}] )
- web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
-DEPEND="${RDEPEND}
- dev-util/intltool
- >=dev-python/python-distutils-extra-2.37-r1[${PYTHON_USEDEP}]"
-
-PATCHES=( ${FILESDIR}/no-docs.patch \
- ${FILESDIR}/nutritional-db-fix.patch \
- ${FILESDIR}/desktop-entry.patch \
- ${FILESDIR}/${P}-PIL-png.patch )
-# distutils gets a bunch of default docs
-DOCS=( ChangeLog CODING FAQ TESTS TODO )
-
-python_prepare_all() {
- # Modify these lines before copying them out
- sed -i "s:base_dir = '..':base_dir = '/usr/share':" gourmet/settings.py || die
- sed -i 's:data_dir = os.path.join(base_dir, "gourmet", "data"):data_dir = os.path.join(base_dir, "gourmet"):' gourmet/settings.py || die
- sed -i 's:\(icon_base = os.path.join(data_dir,\) "icons",:\1 "gourmet",:' gourmet/settings.py || die
- sed -i 's:\(locale_base = os.path.join(base_dir, "gourmet",\) "build",:\1:' gourmet/settings.py || die
- sed -i 's:\(plugin_base = os.path.join(base_dir,\) "gourmet", "build", "share",:\1:' gourmet/settings.py || die
- distutils-r1_python_prepare_all
-}
-
-python_prepare() {
- distutils-r1_python_prepare
- sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
-}
-
-src_install() {
- distutils-r1_src_install
- doman gourmet.1
-}