2020-01-05 20:54:22 +03:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
2016-03-13 23:42:20 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
2020-01-05 20:54:22 +03:00
|
|
|
PYTHON_COMPAT=( python3_6 )
|
2016-03-13 23:42:20 +03:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="JavaScript minifier"
|
2018-04-27 20:48:59 +03:00
|
|
|
HOMEPAGE="https://pypi.org/project/jsmin/ https://github.com/tikitu/jsmin/"
|
2016-03-13 23:42:20 +03:00
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
2017-01-19 08:40:45 +03:00
|
|
|
KEYWORDS="amd64 x86"
|
2016-03-13 23:42:20 +03:00
|
|
|
IUSE=""
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
|
|
|
|
python_test() {
|
|
|
|
"${PYTHON}" -m ${PN}.test || die
|
|
|
|
}
|