From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-jsonschema: update to 4.16.0.
Date: Wed, 14 Sep 2022 10:56:14 +0200 [thread overview]
Message-ID: <20220914085614.8sRwjste_HvCa_mscjx4CXbFD76SPUFjhrEmEBwGzys@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39271@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]
There is an updated pull request by jcgruenhage against master on the void-packages repository
https://github.com/jcgruenhage/void-packages python3-jsonschema-4.16.0_1
https://github.com/void-linux/void-packages/pull/39271
python3-jsonschema: update to 4.16.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/39271.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-4.16.0_1-39271.patch --]
[-- Type: text/x-diff, Size: 3531 bytes --]
From e1c04bae6a567fdb6011b32dba82df97d76bedf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
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?=
<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
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?=
+ <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
+
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
next prev parent reply other threads:[~2022-09-14 8:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-13 21:10 [PR PATCH] " jcgruenhage
2022-09-14 6:30 ` classabbyamp
2022-09-14 8:44 ` jcgruenhage
2022-09-14 8:56 ` jcgruenhage [this message]
2022-09-14 9:08 ` jcgruenhage
2022-09-14 13:43 ` jcgruenhage
2022-09-19 4:11 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220914085614.8sRwjste_HvCa_mscjx4CXbFD76SPUFjhrEmEBwGzys@z \
--to=jcgruenhage@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).