dev-python/flask-migrate: Fix 2.1.1 tests and deps

dev-python/nose no longer used for tests. esetup.py used instead.

dev-python/flask-script only needed for tests.

Closes: https://bugs.gentoo.org/641714
Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
Aaron W. Swenson
2017-12-19 09:24:52 -05:00
parent fde7e22c94
commit 09a99ef064

View File

@@ -20,14 +20,13 @@ IUSE="test"
RDEPEND=">=dev-python/flask-0.9[${PYTHON_USEDEP}]
>=dev-python/alembic-0.6[${PYTHON_USEDEP}]
>=dev-python/flask-sqlalchemy-1.0[${PYTHON_USEDEP}]
>=dev-python/flask-script-0.6[${PYTHON_USEDEP}]"
>=dev-python/flask-sqlalchemy-1.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
test? ( >=dev-python/flask-script-0.6[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
python_test() {
nosetests -v || die "Testing failed with ${EPYTHON}"
esetup.py test || die "Testing failed with ${EPYTHON}"
}