void-packages/srcpkgs/python3-jsonschema/template

25 lines
872 B
Bash

# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.17.3
revision=1
build_style=python3-pep517
make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug"
hostmakedepends="hatchling hatch-vcs"
depends="python3-attrs python3-pyrsistent"
checkdepends="${depends} python3-pytest python3-pip"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
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=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
pre_build() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
}
post_install() {
vlicense COPYING LICENSE
}