python3-jsonschema: update to 4.16.0.

This commit is contained in:
Jan Christian Grünhage 2022-09-13 23:10:18 +02:00 committed by classabbyamp
parent dbcde97f58
commit fc31da0c2a
3 changed files with 35 additions and 5 deletions

View File

@ -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?=
<jan.christian@gruenhage.xyz>
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

View File

@ -0,0 +1,30 @@
From f44c0f8600c01a97f0a093adeb446b7c68511a33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
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

View File

@ -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