SRC_URI=" https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz -> ${P}.gh.tar.gz https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz https://github.com/kkos/oniguruma/releases/download/v6.9.4/onig-6.9.4.tar.gz" Both are packaged in Gentoo.
commit 082eec667b649187975f67a885150caf03ea5ec2 Author: Zac Medico <zmedico@gentoo.org> Date: Thu Sep 22 14:05:23 2022 -0700 dev-python/jq: add 1.3.0 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Replacing explicit downloading with source with bundled deps is hardly a fix.
Sorry, I'd missed it was just SRC_URI changing. FreeBSD have a patch: https://cgit.freebsd.org/ports/tree/textproc/py-jq/files/patch-setup.py.
With the next release, we can export JQPY_USE_SYSTEM_LIBS.