From e1c04bae6a567fdb6011b32dba82df97d76bedf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Tue, 13 Sep 2022 23:10:18 +0200 Subject: [PATCH] python3-jsonschema: update to 4.16.0. --- ...01-patch-out-hatch-fancy-pypi-readme.patch | 6 ++-- ...2-don-t-install-tests-and-benchmarks.patch | 30 +++++++++++++++++++ srcpkgs/python3-jsonschema/template | 4 +-- 3 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/python3-jsonschema/patches/0002-don-t-install-tests-and-benchmarks.patch diff --git a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch index 611e3bbbada9..2f10a5f7f6d3 100644 --- a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch +++ b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch @@ -1,8 +1,8 @@ -From 51aaa505d9963b6424d567f1fc704194fa890a67 Mon Sep 17 00:00:00 2001 +From 65fc53be6b8330ddc65cb0f345ee3cd5af38e189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Sun, 21 Aug 2022 13:53:37 +0200 -Subject: [PATCH] patch out hatch-fancy-pypi-readme +Subject: [PATCH 1/2] patch out hatch-fancy-pypi-readme --- pyproject.toml | 26 +------------------------- @@ -51,5 +51,5 @@ index f5fe8db..7ae8318 100644 from_first = true include_trailing_comma = true -- -2.37.2 +2.37.3 diff --git a/srcpkgs/python3-jsonschema/patches/0002-don-t-install-tests-and-benchmarks.patch b/srcpkgs/python3-jsonschema/patches/0002-don-t-install-tests-and-benchmarks.patch new file mode 100644 index 000000000000..beb3de721661 --- /dev/null +++ b/srcpkgs/python3-jsonschema/patches/0002-don-t-install-tests-and-benchmarks.patch @@ -0,0 +1,30 @@ +From f44c0f8600c01a97f0a093adeb446b7c68511a33 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= + +Date: Wed, 14 Sep 2022 10:48:39 +0200 +Subject: [PATCH 2/2] don't install tests and benchmarks + +--- + pyproject.toml | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/pyproject.toml b/pyproject.toml +index 7ae8318..9dfc3ef 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -5,6 +5,12 @@ build-backend = "hatchling.build" + [tool.hatch.version] + source = "vcs" + ++[tool.hatch.build] ++exclude = [ ++ "jsonschema/tests", ++ "jsonschema/benchmarks", ++] ++ + [project] + name = "jsonschema" + description = "An implementation of JSON Schema validation for Python" +-- +2.37.3 + diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index f010fe21e108..7c4aff633d6f 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -1,6 +1,6 @@ # Template file for 'python3-jsonschema' pkgname=python3-jsonschema -version=4.15.0 +version=4.16.0 revision=1 wrksrc="jsonschema-${version}" build_style=python3-pep517 @@ -13,7 +13,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=21f4979391bdceb044e502fd8e79e738c0cdfbdc8773f9a49b5769461e82fe1e +checksum=165059f076eff6971bae5b742fc029a7b4ef3f9bcf04c14e4776a7605de14b23 do_check() { rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run