void-packages/srcpkgs/python3-jsonpointer/template

24 lines
688 B
Bash

# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
version=3.0.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/stefankoegl/python-json-pointer"
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
checksum=2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef
conflicts="python-jsonpointer>=0"
do_check() {
# pytest is not supported
python3 -m unittest
}
post_install() {
vlicense LICENSE.txt LICENSE
}