dev-python/inflection: add Python 3.7, more verbose tests, EAPI=7

Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
Louis Sautier
2018-07-25 01:27:38 +02:00
parent 9c6cdf798e
commit 77a2cb93cf

View File

@@ -2,7 +2,7 @@
# 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
@@ -17,12 +17,9 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=""
DEPEND="
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
"
@@ -34,5 +31,5 @@ python_compile_all() {
}
python_test() {
py.test || die "Tests failed with ${EPYTHON}"
pytest -vv || die "Tests failed with ${EPYTHON}"
}