From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-jsonschema: update to 4.12.1.
Date: Sun, 21 Aug 2022 14:12:29 +0200 [thread overview]
Message-ID: <20220821121229.jyd89IMSdC09EtdXDXtAb7gNNHOcon6cPJguqHCkvSE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38764@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.12.1_1
https://github.com/void-linux/void-packages/pull/38764
python3-jsonschema: update to 4.12.1.
<!-- 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/38764.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-4.12.1_1-38764.patch --]
[-- Type: text/x-diff, Size: 3633 bytes --]
From feffbd48437da49f94f4f09f05c09ad85205af02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Thu, 18 Aug 2022 18:12:31 +0200
Subject: [PATCH] python3-jsonschema: update to 4.14.0.
---
...01-patch-out-hatch-fancy-pypi-readme.patch | 55 +++++++++++++++++++
srcpkgs/python3-jsonschema/template | 6 +-
2 files changed, 58 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.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
new file mode 100644
index 000000000000..611e3bbbada9
--- /dev/null
+++ b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
@@ -0,0 +1,55 @@
+From 51aaa505d9963b6424d567f1fc704194fa890a67 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
+
+---
+ pyproject.toml | 26 +-------------------------
+ 1 file changed, 1 insertion(+), 25 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index f5fe8db..7ae8318 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"]
++requires = ["hatchling", "hatch-vcs"]
+ build-backend = "hatchling.build"
+
+ [tool.hatch.version]
+@@ -76,30 +76,6 @@ Tidelift = "https://tidelift.com/subscription/pkg/pypi-jsonschema?utm_source=pyp
+ Changelog = "https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst"
+ Source = "https://github.com/python-jsonschema/jsonschema"
+
+-[tool.hatch.metadata.hooks.fancy-pypi-readme]
+-content-type = "text/x-rst"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-end-before = ".. start cut from PyPI"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-start-after = ".. end cut from PyPI\n\n\n"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-text = """
+-
+-
+-Release Information
+--------------------
+-
+-"""
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "CHANGELOG.rst"
+-pattern = "(^v.+?)\nv"
+-
+ [tool.isort]
+ from_first = true
+ include_trailing_comma = true
+--
+2.37.2
+
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 24b7c5080099..72e143e63ac5 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.9.1
+version=4.14.0
revision=1
wrksrc="jsonschema-${version}"
build_style=python3-pep517
@@ -13,14 +13,14 @@ 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=408c4c8ed0dede3b268f7a441784f74206380b04f93eb2d537c7befb3df3099f
+checksum=15062f4cc6f591400cd528d2c355f2cfa6a57e44c820dc783aee5e23d36a831f
do_check() {
rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run
pip install --no-deps --target tmp ./jsonschema-$version-py3-none-any.whl
rm tmp/jsonschema/tests -rf
mv tmp/*.dist-info .
- PYTHONPATH=. pytest
+ PYTHONPATH=. pytest --deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug
rm -rf *.dist-info tmp
}
next prev parent reply other threads:[~2022-08-21 12:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-18 16:17 [PR PATCH] " jcgruenhage
2022-08-19 10:37 ` [PR PATCH] [Updated] " jcgruenhage
2022-08-19 22:15 ` [PR REVIEW] " paper42
2022-08-20 6:33 ` jcgruenhage
2022-08-20 22:12 ` paper42
2022-08-20 22:20 ` classabbyamp
2022-08-21 12:12 ` jcgruenhage [this message]
2022-08-21 12:21 ` [PR REVIEW] python3-jsonschema: update to 4.14.0 jcgruenhage
2022-08-21 18:26 ` [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=20220821121229.jyd89IMSdC09EtdXDXtAb7gNNHOcon6cPJguqHCkvSE@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).