Skip to content

Commit

Permalink
dev-python/flask-migrate: Fix 2.1.1 tests and deps
Browse files Browse the repository at this point in the history
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
  • Loading branch information
titanofold committed Dec 19, 2017
1 parent fde7e22 commit 09a99ef
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dev-python/flask-migrate/flask-migrate-2.1.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

0 comments on commit 09a99ef

Please sign in to comment.