void-packages/srcpkgs/python3-jsonpointer/template

24 lines
686 B
Bash

# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
version=2.4
revision=2
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=585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88
conflicts="python-jsonpointer>=0"
do_check() {
# pytest is not supported
python3 -m unittest
}
post_install() {
vlicense LICENSE.txt LICENSE
}