From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-jsonschema: update to 4.7.2.
Date: Sun, 31 Jul 2022 23:11:32 +0200 [thread overview]
Message-ID: <20220731211132.DlKAXNdgr85BnAkFWjZMwJImJaRkj5PbUSmX0Nbk10Y@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38172@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1251 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.7.2_1
https://github.com/void-linux/void-packages/pull/38172
python3-jsonschema: update to 4.7.2.
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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/38172.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-4.7.2_1-38172.patch --]
[-- Type: text/x-diff, Size: 1835 bytes --]
From 457c17bb7e1f3eebc0e83b8b967d57239066ac81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Thu, 21 Jul 2022 10:29:53 +0200
Subject: [PATCH] python3-jsonschema: update to 4.9.0.
---
srcpkgs/python3-jsonschema/template | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index a1dd7ff5d073..173a5d1cc78c 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,20 +1,28 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
-version=4.6.1
+version=4.9.0
revision=1
wrksrc="jsonschema-${version}"
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs"
depends="python3-attrs python3-pyrsistent"
+checkdepends="${depends} python3-pytest"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
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=ec2802e6a37517f09d47d9ba107947589ae1d25ff557b925d83a321fc2aa5d3b
-# Tests require jsonschema to be installed already. Setting PYTHONPATH doesn't seem to do trick
-make_check=no
+checksum=df10e65c8f3687a48e93d0d348ce0ce5f897b5a28e9bbcbbe8f7c7eaf019e850
+
+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
+ rm -rf *.dist-info tmp
+}
pre_build() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
next prev parent reply other threads:[~2022-07-31 21:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 8:36 [PR PATCH] " jcgruenhage
2022-07-21 9:57 ` [PR REVIEW] " paper42
2022-07-21 10:13 ` jcgruenhage
2022-07-21 10:17 ` jcgruenhage
2022-07-21 10:19 ` jcgruenhage
2022-07-22 5:21 ` classabbyamp
2022-07-22 18:05 ` paper42
2022-07-22 18:05 ` paper42
2022-07-31 20:28 ` jcgruenhage
2022-07-31 21:11 ` jcgruenhage [this message]
2022-07-31 21:11 ` [PR PATCH] [Updated] " classabbyamp
2022-08-03 22:58 ` [PR REVIEW] python3-jsonschema: update to 4.9.0 paper42
2022-08-03 22:59 ` [PR PATCH] [Merged]: " paper42
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=20220731211132.DlKAXNdgr85BnAkFWjZMwJImJaRkj5PbUSmX0Nbk10Y@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).