# Description: An implementation of JSON Schema validation for Python
# URL: https://pypi.org/project/jsonschema/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: python3-attrs python3-pyrsistent python3-build python3-setuptools-scm python3-hatch-vcs python3-hatch-fancy-pypi-readme python3-referencing python3-jsonschema-specifications

name=python3-jsonschema
version=4.18.6
release=1
source=(https://pypi.python.org/packages/source/j/jsonschema/jsonschema-$version.tar.gz)

build() {
	cd jsonschema-$version
	/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
	PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG --ignore-installed --no-deps dist/*.whl
}
