dev-python/jq: Bump to 1.9.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-16 04:11:34 +02:00
parent 47cf6349b3
commit 33f3e9edd1
2 changed files with 48 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}