dev-python/inflection: add Python 3.7, more verbose tests, EAPI=7
authorLouis Sautier <sbraz@gentoo.org>
Tue, 24 Jul 2018 23:27:38 +0000 (01:27 +0200)
committerLouis Sautier <sbraz@gentoo.org>
Tue, 24 Jul 2018 23:41:19 +0000 (01:41 +0200)
Package-Manager: Portage-2.3.43, Repoman-2.3.10

dev-python/inflection/inflection-0.3.1.ebuild

index 16c59e49ccacaad66094c77d8cea1f054c945095..5ea6e6f3a81507ead975db348271df8acddaec89 100644 (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}"
 }