From 471e831d3b66866f2e570f72d7f2a2e5c0a61cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Thu, 25 May 2023 18:34:09 -0300 Subject: [PATCH] python3-jsonschema: add rfc3339 and rfc3986 validators. --- srcpkgs/python3-jsonschema/template | 10 +++------- srcpkgs/python3-jsonschema/update | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index 8ec7cef8d75..272eb06edbd 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -1,11 +1,11 @@ # Template file for 'python3-jsonschema' pkgname=python3-jsonschema version=4.17.3 -revision=1 +revision=2 build_style=python3-pep517 -make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug" hostmakedepends="hatchling hatch-vcs" -depends="python3-attrs python3-pyrsistent" +depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent + python3-rfc3339-validator python3-rfc3986-validator" checkdepends="${depends} python3-pytest python3-pip" short_desc="Implementation of JSON Schema for Python3" maintainer="Jan Christian Grünhage " @@ -15,10 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG. distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz" checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d -pre_build() { - export SETUPTOOLS_SCM_PRETEND_VERSION="${version}" -} - post_install() { vlicense COPYING LICENSE } diff --git a/srcpkgs/python3-jsonschema/update b/srcpkgs/python3-jsonschema/update index c94d83e1b1b..12175d032c8 100644 --- a/srcpkgs/python3-jsonschema/update +++ b/srcpkgs/python3-jsonschema/update @@ -1 +1 @@ -ignore="*a[1-9]" +ignore="*a[1-9]*"