commit:     65dad0f0d98d06cf785016f783c15ea9773b4bc9
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 20 14:09:58 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Feb 20 14:12:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=65dad0f0

dev-python/jsonpath-rw: use PEP517 build

Closes: https://bugs.gentoo.org/897454
Closes: https://bugs.gentoo.org/921811
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-python/jsonpath-rw/Manifest                    |  1 +
 dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild | 30 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/jsonpath-rw/Manifest b/dev-python/jsonpath-rw/Manifest
index d4a65943b7..1350c89365 100644
--- a/dev-python/jsonpath-rw/Manifest
+++ b/dev-python/jsonpath-rw/Manifest
@@ -1 +1,2 @@
 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-r1.ebuild 
b/dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild
new file mode 100644
index 0000000000..ba5376a1c3
--- /dev/null
+++ b/dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A robust and significantly extended implementation of JSONPath 
for Python"
+HOMEPAGE="
+       https://github.com/kennknowles/python-jsonpath-rw
+       https://pypi.org/project/jsonpath-rw/
+"
+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"
+
+RDEPEND="
+       dev-python/decorator[${PYTHON_USEDEP}]
+       dev-python/ply[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests unittest

Reply via email to