# Contributor: Leo # Maintainer: pkgname=py3-ijson pkgver=3.2.3 pkgrel=0 pkgdesc="Iterative JSON parser with standard Python iterator interfaces" url="https://github.com/ICRAR/ijson" arch="all" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools yajl-dev python3-dev" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/ICRAR/ijson/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/ijson-$pkgver" build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" cfdbf8efce072f00c4b3c61dd8b3f3164fd5ab757ac18783de992fe25e5ecbcdee92fe728f1345a37996625ab2ddfef6859dfdbdca7a7ece8f3d99750a9d60b0 py3-ijson-3.2.3.tar.gz "