# Maintainer: Celeste maintainer="Celeste " pkgname=py3-jsonschema-specifications pkgver=2025.4.1 pkgrel=0 pkgdesc="Support files exposing JSON from the JSON Schema specifications to Python" url="https://github.com/python-jsonschema/jsonschema-specifications" arch="noarch" license="MIT" depends=" py3-referencing " makedepends=" py3-gpep517 py3-hatch-vcs py3-hatchling " checkdepends=" py3-pytest " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/python-jsonschema/jsonschema-specifications/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/jsonschema-specifications-$pkgver" build() { SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver \ gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl rm -r "$pkgdir"/usr/lib/python*/site-packages/jsonschema_specifications/tests/ } sha512sums=" b00fc37c40cb88e4e698eff63ee389783c939aab67c59692d7d10b817c560d5212d0beeb2559a09ece429aad6d02e1e4711bf4cd59688064ee1e2291d3de2c34 py3-jsonschema-specifications-2025.4.1.tar.gz "