Files
gentoo/dev-python/jsmin/jsmin-2.2.2.ebuild
Agostino Sarubbo 183005459b dev-python/jsmin: x86 stable wrt bug #713346
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
2020-03-20 10:04:49 +01:00

22 lines
473 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
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"
IUSE=""
LICENSE="MIT"
SLOT="0"
python_test() {
"${EPYTHON}" -m jsmin.test -v || die "Tests failed with ${EPYTHON}"
}