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