dev-python/python-zipstream: Enable Python 3.7

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-06-18 09:36:22 +02:00
parent d390e605ef
commit 858e2941bf

View File

@@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
inherit distutils-r1
@@ -15,10 +15,11 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
python_test() {
nosetests || die "tests failed under ${EPYTHON}"
nosetests -v || die "tests failed under ${EPYTHON}"
}