dev-python/flask-nav: add Python 3.7 support, fix doc deps

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
This commit is contained in:
Louis Sautier
2018-11-13 14:48:10 +01:00
parent f29324bec3
commit b18dc18660

View File

@@ -1,8 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} )
PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} )
inherit distutils-r1
@@ -25,7 +25,10 @@ RDEPEND="
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
doc? (
dev-python/alabaster[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
@@ -45,5 +48,5 @@ python_compile_all() {
}
python_test() {
py.test || die "Tests failed with ${EPYTHON}"
pytest -vv || die "Tests failed with ${EPYTHON}"
}