26 lines
735 B
Bash
26 lines
735 B
Bash
# Template file for 'python3-jq'
|
|
pkgname=python3-jq
|
|
version=1.6.0
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-Cython0.29"
|
|
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=a06131057b4b0794d871c0718e796b23b942b20a19acd4cba13f7cbbb07d0aab
|
|
|
|
export JQPY_USE_SYSTEM_LIBS=1
|
|
|
|
pre_build() {
|
|
cython -X language_level=3 jq.pyx
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|