void-packages/srcpkgs/python3-jq/template

24 lines
616 B
Bash

# Template file for 'python3-jq'
pkgname=python3-jq
version=1.2.2
revision=1
wrksrc="${pkgname#*-}.py-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel jq-devel"
depends="python3"
short_desc="Python bindings for jq"
maintainer="RunningDroid <runningdroid@zoho.com>"
license="BSD-2-Clause"
homepage="https://pypi.org/project/jq/"
distfiles="https://github.com/mwilliamson/jq.py/archive/${version}.tar.gz"
checksum=0b926078855b6daee6e8ae5366ebf11c06911195abae643a7cdd37fce087fa0e
pre_build() {
cython jq.pyx
}
post_install() {
vlicense LICENSE
}