1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 MY_PN="EggTranslations"
10 DESCRIPTION="Provides an API for accessing localizations and resources packaged in python eggs"
11 HOMEPAGE="http://chandlerproject.org/Projects/EggTranslations"
12 SRC_URI="mirror://pypi/E/${MY_PN}/${MY_P}.tar.gz"
19 DEPEND="doc? ( dev-python/epydoc )"
20 RDEPEND="dev-python/configobj"
22 S="${WORKDIR}/${MY_P}"
28 epydoc --html --verbose --url="${HOMEPAGE}" --name="${MY_P}" egg_translations.py \
29 || die "Making the docs failed!"
35 PYTHONPATH="build/lib/" "${python}" setup.py test || die "Completing the tests failed!"
40 dohtml html/* || die "Installing the docs failed!"