# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 DESCRIPTION="A tesseract OCR front-end" HOMEPAGE="http://www.sourceforge.com/projects/gimagereader" SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND=" app-text/tesseract dev-python/gtkspell-python dev-python/pycairo[${PYTHON_USEDEP}] dev-python/pyenchant[${PYTHON_USEDEP}] dev-python/pygtk:2[${PYTHON_USEDEP}] dev-python/python-poppler[${PYTHON_USEDEP}] virtual/python-imaging[${PYTHON_USEDEP}] " python_prepare_all() { sed "/data.append/s/'COPYING',//" \ -i setup.py || die distutils-r1_python_prepare_all }