diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index 120392ad1be..a1dd7ff5d07 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -1,20 +1,24 @@ # Template file for 'python3-jsonschema' pkgname=python3-jsonschema -version=4.4.0 +version=4.6.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" +hostmakedepends="hatchling hatch-vcs" depends="python3-attrs python3-pyrsistent" -checkdepends="python3-pytest python3-Twisted $depends" short_desc="Implementation of JSON Schema for Python3" -maintainer="Orphaned " +maintainer="Jan Christian Grünhage " 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=636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83 +checksum=ec2802e6a37517f09d47d9ba107947589ae1d25ff557b925d83a321fc2aa5d3b +# Tests require jsonschema to be installed already. Setting PYTHONPATH doesn't seem to do trick +make_check=no + +pre_build() { + export SETUPTOOLS_SCM_PRETEND_VERSION="${version}" +} post_install() { vlicense COPYING LICENSE