void-packages/srcpkgs/python3-jq/template

24 lines
700 B
Bash

# Template file for 'python3-jq'
pkgname=python3-jq
version=1.4.1
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=24239bd49a01a91ee313bf805c3bc7eb0ecfd71ca1bd4b94a73bd00585d79349
pre_build() {
cython -X language_level=3 jq.pyx
}
post_install() {
vlicense LICENSE
}