dev-python/flask-appconfig: add Python 3.7 support, missing doc dep

Also make tests verbose.

Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
This commit is contained in:
Louis Sautier
2018-10-03 23:24:18 +02:00
parent a27f638ad4
commit 529e398d4e

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
@@ -24,7 +24,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}]
@@ -46,5 +49,5 @@ python_compile_all() {
}
python_test() {
py.test || die "Tests failed with ${EPYTHON}"
pytest -vv || die "Tests failed with ${EPYTHON}"
}