1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 RESTRICT_PYTHON_ABIS='3.*'
12 MY_PN="EggTranslations"
15 DESCRIPTION="Provides an API for accessing localizations and resources packaged in python eggs"
16 HOMEPAGE="http://chandlerproject.org/Projects/EggTranslations"
17 SRC_URI="mirror://pypi/E/${MY_PN}/${MY_P}.tar.gz"
21 KEYWORDS="~amd64 ~x86"
24 DEPEND="doc? ( dev-python/epydoc )"
25 RDEPEND="dev-python/configobj"
27 S="${WORKDIR}/${MY_P}"
31 DISTUTILS_SRC_TEST=setup.py
35 epydoc --html --verbose --url="${HOMEPAGE}" --name="${MY_P}" egg_translations.py \
36 || die "Making the docs failed!"
43 dohtml html/* || die "Installing the docs failed!"