1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 PYTHON_DEPEND="2:2.7 3"
9 DISTUTILS_SRC_TEST="setup.py"
15 DESCRIPTION="Fast XML template compiler for Python"
16 HOMEPAGE="http://chameleon.repoze.org"
17 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_P}.tar.gz"
21 KEYWORDS="~amd64 ~x86"
24 DEPEND="doc? ( dev-python/sphinx )"
27 S="${WORKDIR}/${MY_P}"
29 RESTRICT_PYTHON_ABIS="2.[456]"
35 emake html || die "make html failed"
43 dohtml -r _build/html/* || die "dohtml failed"