gentoo/dev-python/jsmin/jsmin-2.2.1.ebuild
Manuel Rüger 5ef522a265
dev-python/jsmin: Add python3_6
Package-Manager: Portage-2.3.6, Repoman-2.3.2
2017-05-22 18:21:48 +02:00

24 lines
474 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
inherit distutils-r1
DESCRIPTION="JavaScript minifier"
HOMEPAGE="https://bitbucket.org/dcs/jsmin/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
IUSE=""
LICENSE="MIT"
SLOT="0"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
"${PYTHON}" -m ${PN}.test || die
}