# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=2 PYTHON_DEPEND=2:2.5 inherit base distutils python DESCRIPTION="A graphical translation tool" HOMEPAGE="http://translate.sourceforge.net/wiki/virtaal/index" SRC_URI="mirror://sourceforge/translate/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="spell tinytm" DEPEND="app-i18n/translate-toolkit" RDEPEND="${DEPEND} || ( >=dev-lang/python-2.5[sqlite] >=dev-python/pysqlite-2 ) dev-libs/libtranslate dev-python/lxml tinytm? ( dev-python/psycopg ) dev-python/pycurl spell? ( dev-python/pyenchant dev-python/gtkspell-python ) dev-python/pygtk dev-python/simplejson" src_prepare() { distutils_src_prepare epatch "${FILESDIR}"/${P}-xdg-icon-path.patch } pkg_postinst() { distutils_pkg_postinst einfo "\"app-text/iso-codes\" adds support for localized language names." einfo "\"dev-python/psyco\" provides quick startup." einfo "\"dev-python/python-levenshtein\" speeds up some operations." }