1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 python3_6 )
11 DESCRIPTION="Apply JSON-Patches like http://tools.ietf.org/html/draft-pbryan-json-patch-04"
12 HOMEPAGE="https://github.com/stefankoegl/python-json-patch"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
17 KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux"
20 RDEPEND=">=dev-python/jsonpointer-1.9[${PYTHON_USEDEP}]"
21 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
25 "${PYTHON}" tests.py || die "Tests of tests.py fail with ${EPYTHON}"
26 "${PYTHON}" ext_tests.py || die "Tests of ext_tests.py fail with ${EPYTHON}"