diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-10-29 02:41:46 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-10-29 02:41:46 -0400 |
commit | dbe499b1745febc580e13d0728a609d4a6bf4e72 (patch) | |
tree | 12860d1deacb866a73fa712b790d1db08df254f9 /dev-python/json-tools/json-tools-0.4.1.ebuild | |
parent | dev-python/hypothesis: version bump to 3.33.0 (diff) | |
download | gentoo-dbe499b1745febc580e13d0728a609d4a6bf4e72.tar.gz gentoo-dbe499b1745febc580e13d0728a609d4a6bf4e72.tar.bz2 gentoo-dbe499b1745febc580e13d0728a609d4a6bf4e72.zip |
dev-python/json-tools: version bump to 0.4.1
Diffstat (limited to 'dev-python/json-tools/json-tools-0.4.1.ebuild')
-rw-r--r-- | dev-python/json-tools/json-tools-0.4.1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/json-tools/json-tools-0.4.1.ebuild b/dev-python/json-tools/json-tools-0.4.1.ebuild new file mode 100644 index 000000000000..5e621d566e82 --- /dev/null +++ b/dev-python/json-tools/json-tools-0.4.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# 'Programming Language :: ... in setup.py requires updating" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit distutils-r1 + +MY_PN="json_tools" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A set of tools to manipulate JSON: diff, patch, and pretty-printing" +HOMEPAGE="https://pypi.python.org/pypi/json_tools https://bitbucket.org/vadim_semenov/json_tools" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/colorama[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/${MY_P} + +python_test() { + nosetests || die "Tests fail with ${EPYTHON}" +} |