python3-jsonschema: update to 3.2.0

This commit is contained in:
dkwo 2021-05-14 17:47:42 +02:00 committed by Andrew J. Hesford
parent 4902bdd259
commit cb2d2a25f5

View file

@ -1,27 +1,20 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
reverts="3.0.2_1"
version=2.6.0
revision=6
version=3.2.0
revision=1
wrksrc="jsonschema-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
hostmakedepends="python3-setuptools_scm"
depends="python3-setuptools python3-six 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=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
conflicts="python-jsonschema>=0"
checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
pre_build() {
vsed -i setup.py \
-e '/setup_requires/d' \
-e '/vcversioner/d' \
-e "/name=/a\
version=\"${version}\","
}
post_install() {
vlicense COPYING LICENSE
}