2024-12-14 07:43:36 -05:00

26 lines
731 B
Bash

# Template file for 'python3-jq'
pkgname=python3-jq
version=1.8.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel jq-devel oniguruma-devel"
depends="python3"
short_desc="Python bindings for jq"
maintainer="RunningDroid <runningdroid@zoho.com>"
license="BSD-2-Clause"
homepage="https://pypi.org/project/jq/"
changelog="https://raw.githubusercontent.com/mwilliamson/jq.py/master/CHANGELOG.rst"
distfiles="https://github.com/mwilliamson/jq.py/archive/${version}.tar.gz"
checksum=dea40029307d53d91153f0dea51e5e724793edada9aa03fe36cc4e4e46a96501
export JQPY_USE_SYSTEM_LIBS=1
pre_build() {
cython -X language_level=3 jq.pyx
}
post_install() {
vlicense LICENSE
}