# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_P=${P/pyge/PyGE} inherit distutils S="${WORKDIR}/${MY_P}" DESCRIPTION="Python Gutenberg E-text (PyGE) project, contains a Gutenberg E-text reader, and utilities for retrieval and compression." HOMEPAGE="http://pyge.sourceforge.net" SRC_URI="mirror://sourceforge/pyge/${MY_P}.tar.gz" LICENSE="Artistic" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=dev-lang/python-2.1 >=dev-python/wxPython-2.4" src_install() { python setup.py install --root=${D} --prefix=/usr || die } src_compile() { python setup.py build || die } src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/help_file_location-0.6.1.2.diff }