diff options
Diffstat (limited to 'dev-python/jsmin/jsmin-2.2.2.ebuild')
-rw-r--r-- | dev-python/jsmin/jsmin-2.2.2.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-python/jsmin/jsmin-2.2.2.ebuild b/dev-python/jsmin/jsmin-2.2.2.ebuild index 76dc206a48e6..d926903a6901 100644 --- a/dev-python/jsmin/jsmin-2.2.2.ebuild +++ b/dev-python/jsmin/jsmin-2.2.2.ebuild @@ -1,9 +1,9 @@ # 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 @@ -11,13 +11,11 @@ DESCRIPTION="JavaScript minifier" HOMEPAGE="https://pypi.org/project/jsmin/ https://github.com/tikitu/jsmin/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" 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}" } |