Bug: https://bugs.gentoo.org/711808
Signed-off-by: Michał Górny <mgorny@gentoo.org>
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
LICENSE="MIT"
SLOT="0"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
python_test() {
- "${PYTHON}" -m ${PN}.test || die
+ "${EPYTHON}" -m jsmin.test -v || die "Tests failed with ${EPYTHON}"
}