24 lines
700 B
Bash
24 lines
700 B
Bash
# Template file for 'python3-jq'
|
|
pkgname=python3-jq
|
|
version=1.4.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=b894642f13e9a6d8ccbde24d21e03003c4b873a48ad68809bb390e0262e40dc4
|
|
|
|
pre_build() {
|
|
cython -X language_level=3 jq.pyx
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|