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 611e3bbbada..2f10a5f7f6d 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 00000000000..beb3de72166 --- /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 f010fe21e10..7c4aff633d6 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