contrib/python3-jsonschema/Pkgfile

16 lines
682 B
Plaintext

# 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
name=python3-jsonschema
version=4.8.0
release=1
source=(https://files.pythonhosted.org/packages/9d/c7/213df24d4dcf2eb115e2843205c6073c192976684388d6912cf674db2b8a/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
}