void-packages/srcpkgs/python3-jsonpointer/template

24 lines
674 B
Bash

# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
version=2.3
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/stefankoegl/python-json-pointer"
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
conflicts="python-jsonpointer>=0"
do_check() {
# pytest is not supported
python3 tests.py
}
post_install() {
vlicense LICENSE.txt LICENSE
}