commit: 33f3e9edd172b6883067f0fa3629a596a0590f7d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 16 02:11:34 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 16 02:12:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33f3e9ed
dev-python/jq: Bump to 1.9.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/jq/Manifest | 1 +
dev-python/jq/jq-1.9.1.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest
index d9b831766eae..8ea6d6fa5393 100644
--- a/dev-python/jq/Manifest
+++ b/dev-python/jq/Manifest
@@ -1 +1,2 @@
DIST jq.py-1.8.0.gh.tar.gz 1954418 BLAKE2B
e823ab01a7ce42abc542b58bb1f966e6447b85d66c7b72e8b0765a65f6ae510cf5c6045e14c802237360c2108f84428dc9b18a452e1334ba5ee709a4c835e5bd
SHA512
83e9a7599518b5281f25954d5fc66de488678ef86982964bc04ae3739d4627220a9ec92570810f9cf235a8e5351284ac430053e6f826ca42f831d837b4750d83
+DIST jq.py-1.9.1.gh.tar.gz 1912461 BLAKE2B
54639964461682c615d243028e6b73cf6dd76648812b19ec9c10452cf55e6e66f53f263a7380aaba0f12ab22af46e16ef8a813ba6c658761fcdfa3cb43403d10
SHA512
41d99fadf7ff3aa98ca0fa3718955aab7a42d003b932dca24c39f2b8c62743551a77495f57a870251c499622cf35ec354000dd6765c3ef94cf561d1b116d8f34
diff --git a/dev-python/jq/jq-1.9.1.ebuild b/dev-python/jq/jq-1.9.1.ebuild
new file mode 100644
index 000000000000..fa789ff07889
--- /dev/null
+++ b/dev-python/jq/jq-1.9.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+MY_P="jq.py-${PV}"
+DESCRIPTION="Python bindings for jq"
+HOMEPAGE="
+ https://github.com/mwilliamson/jq.py/
+ https://pypi.org/project/jq/
+"
+# pypi sdist is missing .pyx
+SRC_URI="
+ https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+# Minimum versions of jq + onigurama are from setup.py's bundled versions
+DEPEND="
+ >=app-misc/jq-1.8.0:=
+ >=dev-libs/oniguruma-6.9.8:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_compile() {
+ local -x JQPY_USE_SYSTEM_LIBS=1
+
+ distutils-r1_python_compile
+}