void-packages/srcpkgs/python3-jq/template

24 lines
704 B
Bash

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