# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 # py3 has a syntax errors. On testing it is underdone PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) inherit distutils-r1 DESCRIPTION="SQLAlchemy Schema Migration Tools" HOMEPAGE="https://pypi.python.org/pypi/sqlalchemy-migrate" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86" IUSE="doc" CDEPEND=">=dev-python/pbr-1.3.0[${PYTHON_USEDEP}] "; einfo "" emake -C doc/source html || die "Generation of documentation failed" fi } python_install_all() { use doc && local HTML_DOCS=( doc/source/_build/html/. ) distutils-r1_python_install_all }