gentoo/dev-python/jmespath/jmespath-0.9.2.ebuild
Alexis Ballier bab879356f
dev-python/jmespath: Bump to 0.9.2. Add python 3.6 pypy/3 support.
Package-Manager: Portage-2.3.4, Repoman-2.3.2
2017-03-14 10:28:28 +01:00

27 lines
570 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
inherit distutils-r1
DESCRIPTION="JSON Matching Expressions"
HOMEPAGE="https://github.com/boto/jmespath https://pypi.python.org/pypi/jmespath"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
RDEPEND=""
python_test() {
nosetests || die
}