void-packages/srcpkgs/python3-jsonschema/template

22 lines
830 B
Bash

# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.2.1
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=390713469ae64b8a58698bb3cbc3859abe6925b565a973f87323ef21b09a27a8
post_install() {
vlicense COPYING LICENSE
}