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.
This commit is contained in:
Dmitry Zakharchenko 2021-11-06 18:58:02 +02:00 committed by Michal Vasilek
parent 90417c8cde
commit b68405e519
1 changed files with 7 additions and 6 deletions

View File

@ -1,11 +1,12 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=3.2.0
revision=2
version=4.2.1
revision=1
wrksrc="jsonschema-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
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>"
@ -13,7 +14,7 @@ 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=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
checksum=390713469ae64b8a58698bb3cbc3859abe6925b565a973f87323ef21b09a27a8
post_install() {
vlicense COPYING LICENSE