void-packages/srcpkgs/python3-jsonschema/template

24 lines
956 B
Bash

# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.23.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme"
depends="python3-attrs python3-jsonschema-specifications"
checkdepends="${depends} python3-pytest python3-idna python3-jsonpointer
python3-pip python3-rfc3339-validator python3-rfc3987"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/Julian/jsonschema"
changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
checksum=d71497fef26351a33265337fa77ffeb82423f3ea21283cd9467bb03999266bc4
post_install() {
vlicense COPYING LICENSE
# don't install tests and benchmarks
rm -r ${DESTDIR}/${py3_sitelib}/jsonschema/tests
rm -r ${DESTDIR}/${py3_sitelib}/jsonschema/benchmarks
}