void-packages/srcpkgs/python3-jsonschema/template
Dmitry Zakharchenko b68405e519 python3-jsonschema: update to 4.2.1.
- Change build style to python3-pep517 because of Julian/jsonschema@112c809e.
- Remove python3-six dependency since py2 support was dropped
in Julian/jsonschema@027feac.
- Disable the test that requires pip.
- Remove unneeded python3-setuptools dependency.
2021-11-13 20:42:52 +01:00

22 lines
830 B
Bash

# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.2.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"
depends="python3-attrs python3-pyrsistent"
checkdepends="python3-pytest python3-Twisted $depends"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
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=390713469ae64b8a58698bb3cbc3859abe6925b565a973f87323ef21b09a27a8
post_install() {
vlicense COPYING LICENSE
}