vp-build/srcpkgs/python3-jsonschema/template

22 lines
830 B
Bash

# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.4.0
revision=1
wrksrc="jsonschema-${version}"
build_style=python3-pep517
make_check_args="--deselect jsonschema/tests/test_cli.py::TestCLIIntegration::test_license"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-attrs python3-pyrsistent"
checkdepends="python3-pytest python3-Twisted $depends"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
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=636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83
post_install() {
vlicense COPYING LICENSE
}