1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{6,7} )
13 DESCRIPTION="SQLAlchemy database migrations for Flask applications using Alembic"
14 HOMEPAGE="https://pypi.org/project/Flask-Migrate/"
15 SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
21 RESTRICT="!test? ( test )"
24 >=dev-python/alembic-0.7[${PYTHON_USEDEP}]
25 >=dev-python/flask-0.9[${PYTHON_USEDEP}]
26 >=dev-python/flask-sqlalchemy-1.0[${PYTHON_USEDEP}]
29 dev-python/setuptools[${PYTHON_USEDEP}]
30 test? ( >=dev-python/flask-script-0.6[${PYTHON_USEDEP}] )
33 S="${WORKDIR}/${MY_P}"
36 esetup.py test || die "Testing failed with ${EPYTHON}"