From cb2d2a25f509fb069ff6307ec691ac72c02c02f0 Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:47:42 +0200 Subject: [PATCH] python3-jsonschema: update to 3.2.0 --- srcpkgs/python3-jsonschema/template | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index c3954b106dc..916a2d3164e 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -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 " 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 }