# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/leo/leo-4.2.ebuild,v 1.7 2007/06/23 09:56:19 hawking Exp $
NEED_PYTHON=2.3
EAPI="2"
inherit eutils python
MY_P=${P}-final
KEYWORDS="ppc x86"
IUSE=""
DEPEND="app-arch/unzip"
COMMON_DEPEND=">=dev-lang/python-2.3[tk]"
RDEPEND=""
DEPEND="app-arch/unzip
${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
S=${WORKDIR}/${MY_P}
pkg_setup() {
python_tkinter_exists
}
src_unpack() {
unpack ${A}
cd "${S}" || die "Failed to cd ${S}"