1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
8 inherit distutils-r1 vcs-snapshot
12 DESCRIPTION="Expressive and extensible TDD/BDD assertion library for Python"
13 HOMEPAGE="https://github.com/jaimegildesagredo/expects"
14 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
22 dev-python/setuptools[${PYTHON_USEDEP}]
23 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
24 test? ( dev-python/mamba[${PYTHON_USEDEP}] )
28 python_compile_all() {
29 use doc && emake -C docs html
33 mamba || die "tests failed under ${EPYTHON}"
36 python_install_all() {
37 use doc && local HTML_DOCS=( docs/_build/html/. )
39 distutils-r1_python_install_all