diff options
Diffstat (limited to 'dev-python/jsonpath-rw')
| -rw-r--r-- | dev-python/jsonpath-rw/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild (renamed from dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild) | 24 |
2 files changed, 7 insertions, 19 deletions
diff --git a/dev-python/jsonpath-rw/Manifest b/dev-python/jsonpath-rw/Manifest index d4a65943b7f0..41d2fa24112e 100644 --- a/dev-python/jsonpath-rw/Manifest +++ b/dev-python/jsonpath-rw/Manifest @@ -1 +1 @@ -DIST jsonpath-rw-1.4.0.tar.gz 19813 BLAKE2B 2ee89864f38a6671ad593b5f056a19a794fcf6dd8dd56af1fbc709e50336ee5613c1144ec7f557d7380bed4eedd4ee7cc39f99ccb61dbc3a34c2e36641b183dc SHA512 8308e950f8b397e3ddd4120aa7794ab198d9f1a233c5fe16c2f393f1ba7e7e3bf289063a8b28f2425bfe0906be028f9bc1830779d09a56c306f2f102d26e6259 +DIST jsonpath-rw-1.4.0.gh.tar.gz 19813 BLAKE2B 2ee89864f38a6671ad593b5f056a19a794fcf6dd8dd56af1fbc709e50336ee5613c1144ec7f557d7380bed4eedd4ee7cc39f99ccb61dbc3a34c2e36641b183dc SHA512 8308e950f8b397e3ddd4120aa7794ab198d9f1a233c5fe16c2f393f1ba7e7e3bf289063a8b28f2425bfe0906be028f9bc1830779d09a56c306f2f102d26e6259 diff --git a/dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild b/dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild index 583ac738df72..7cc139a6a30d 100644 --- a/dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild +++ b/dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -MYPN="python-${PN}" +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 @@ -13,30 +13,18 @@ HOMEPAGE=" https://github.com/kennknowles/python-jsonpath-rw https://pypi.org/project/jsonpath-rw/ " -SRC_URI="https://github.com/kennknowles/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MYPN}-${PV}" +SRC_URI="https://github.com/kennknowles/python-jsonpath-rw/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/python-${P}" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" -IUSE="test" RDEPEND=" dev-python/decorator[${PYTHON_USEDEP}] dev-python/ply[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] " -DEPEND="${REDEPEND}" -BDEPEND=" - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -RESTRICT="!test? ( test )" +DEPEND="${RDEPEND}" -python_test() { - nosetests --verbose || die - py.test -v -v || die -} +distutils_enable_tests unittest |
