* [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab
@ 2023-06-08 3:15 tornaria
2023-06-08 10:51 ` tornaria
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: tornaria @ 2023-06-08 3:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3347 bytes --]
There is a new pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages jupyter-deps
https://github.com/void-linux/void-packages/pull/44312
Updates to python packages needed for jupyter notebook and jupyterlab
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Mostly taken from #44160, this updates or creates several python packages needed for jupyter packages:
- python3-argcomplete: update to 3.0.8. (check: traitlets)
- python3-BeautifulSoup4: update to 4.12.2. (dep: nbconvert)
- python3-bleach: update to 6.0.0. (dep: nbconvert)
- python3-comm: update to 0.1.3. (dep: ipykernel)
- python3-fastjsonschema: update to 2.17.1 (dep: nbformat)
- python3-jsonpointer: update to 2.3. (dep: jsonschema)
- python3-nest_asyncio: update to 1.5.6. (dep: ipykernel)
- python3-pyrsistent: update to 0.19.3. (dep: jsonschema)
- python3-tornado: update to 6.3.2. (dep: ipykernel)
- New package: python3-strict-rfc3339-0.7 (check: rfc3339-validator))
- New package: python3-rfc3339-validator-0.1.4 (dep: jsonschema)
- New package: python3-rfc3987 (check: rfc3986-validator)
- New package: python3-rfc3986-validator-0.1.1 (dep: jsonschema)
- python3-jsonschema: add validators (dep: nbformat)
- New package: hatch-jupyter-builder-0.8.3 (build: nbclassic)
- New package: hatch-nodejs-version-0.3.1 (build: nbformat)
- New package: python3-json-logger-2.0.7 (dep: jupyter_events)
- New package: python3-jupyter_packaging-0.12.3 (build: notebook)
- New package: python3-overrides-7.3.1 (dep: jupyter_server)
- New package: python3-pathable-0.4.3 (dep: jsonschema-spec)
- New package: python3-jsonschema-spec-0.1.4 (dep: openapi-spec-validator)
- New package: python3-openapi-schema-validator-0.4.4 (dep: openapi-spec-validator)
- New package: python3-openapi-spec-validator-0.5.6 (dep: openapi-core)
- New package: python3-openapi-core-0.17.1 (check: jupyterlab_server)
Some of these will be used only after #44160, either because updates to some jupyter package needs them for build or runtime, or because they are needed to check (and part of #44160 is making all jupyter packages testable in CI).
I think it may be easier to handle #44272 and this PR first, and let #44160 be more manageable.
Everything uses pep517 build style, and check is working for everything.
<!--
#### 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/44312.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-deps-44312.patch --]
[-- Type: text/x-diff, Size: 36401 bytes --]
From 62848a13d7415b999c7e76b56d52537af98f785a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 01:01:14 -0300
Subject: [PATCH 01/24] python3-argcomplete: update to 3.0.8.
---
srcpkgs/python3-argcomplete/template | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-argcomplete/template b/srcpkgs/python3-argcomplete/template
index abe32205b908..209ab8569635 100644
--- a/srcpkgs/python3-argcomplete/template
+++ b/srcpkgs/python3-argcomplete/template
@@ -1,13 +1,20 @@
# Template file for 'python3-argcomplete'
pkgname=python3-argcomplete
-version=3.0.5
+version=3.0.8
revision=1
build_style=python3-pep517
-hostmakedepends="python3-wheel"
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
+checkdepends="python3-pexpect python3-pip zsh"
short_desc="Bash tab completion for argparse"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/kislyuk/argcomplete"
+changelog="https://raw.githubusercontent.com/kislyuk/argcomplete/develop/Changes.rst"
distfiles="${PYPI_SITE}/a/argcomplete/argcomplete-${version}.tar.gz"
-checksum=fe3ce77125f434a0dd1bffe5f4643e64126d5731ce8d173d36f62fa43d6eb6f7
+checksum=b9ca96448e14fa459d7450a4ab5a22bbf9cee4ba7adddf03e65c398b5daeea28
+
+do_check() {
+ # pytest is not supported
+ python3 -m unittest -b test/test.py
+}
From 12e3bf61770246aa2c6df525e93ee265ef932c7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:59:09 -0300
Subject: [PATCH 02/24] python3-BeautifulSoup4: update to 4.12.2.
---
srcpkgs/python3-BeautifulSoup4/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 882ea8a33214..25d104f6d0d4 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,18 +1,18 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.11.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3 python3-soupsieve"
-checkdepends="python3-pytest $depends"
+version=4.12.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-soupsieve"
+checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
-changelog="https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG"
+changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693
+checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
post_install() {
vlicense LICENSE
From 18f7277a03dd5a937036c42fd8341d9600243e45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:25:30 -0300
Subject: [PATCH 03/24] python3-bleach: update to 6.0.0.
---
srcpkgs/python3-bleach/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index aea09c368c1f..1a14acbfc21f 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,10 +1,10 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=4.1.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-six python3-webencodings python3-packaging"
+version=6.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six python3-webencodings"
checkdepends="python3-pytest $depends"
short_desc="Easy safelist-based HTML-sanitizing tool (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/mozilla/bleach"
changelog="https://raw.githubusercontent.com/mozilla/bleach/master/CHANGES"
distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
-checksum=0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da
+checksum=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
From 0cb52626c29595ca03f420697384283cf15ae98a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:25:45 -0300
Subject: [PATCH 04/24] python3-comm: update to 0.1.3.
---
srcpkgs/python3-comm/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template
index 0bbba8dc0eda..29ebd5afd772 100644
--- a/srcpkgs/python3-comm/template
+++ b/srcpkgs/python3-comm/template
@@ -1,6 +1,6 @@
# Template file for 'python3-comm'
pkgname=python3-comm
-version=0.1.1
+version=0.1.3
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
@@ -10,8 +10,9 @@ short_desc="Python comm implementation for the Jupyter kernel protocol"
maintainer="dkwo <npiazza@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/comm/"
-distfiles="https://github.com/ipython/comm/archive/refs/tags/$version.tar.gz"
-checksum=2868dfd1e482b821a929d662bf3d89adeb8a091239bf1497187797fe9e4c12fa
+changelog="https://raw.githubusercontent.com/ipython/comm/main/CHANGELOG.md"
+distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz"
+checksum=9bdea650a6194bf1628b17c2668bf74bf5295c87a7528a8aa4fe4472904b26f2
post_install() {
vlicense LICENSE
From 417e3f5e3fceb3d8612b2a5d69d274f3d1b715e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 10:28:43 -0300
Subject: [PATCH 05/24] python3-fastjsonschema: update to 2.17.1.
---
srcpkgs/python3-fastjsonschema/template | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template
index 7e4495b9456b..54fbdb6dde10 100644
--- a/srcpkgs/python3-fastjsonschema/template
+++ b/srcpkgs/python3-fastjsonschema/template
@@ -1,19 +1,18 @@
# Template file for 'python3-fastjsonschema'
pkgname=python3-fastjsonschema
-version=2.16.3
+version=2.17.1
revision=1
-build_style=python3-module
-make_check_args="--deselect tests/benchmarks/test_benchmark.py"
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-benchmark"
short_desc="Fastest Python implementation of JSON schema"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/horejsek/python-fastjsonschema"
changelog="https://raw.githubusercontent.com/horejsek/python-fastjsonschema/master/CHANGELOG.txt"
distfiles="https://github.com/horejsek/python-fastjsonschema/archive/refs/tags/v${version}.tar.gz"
-checksum=f9834e4994830942d58949043820024261dc22e2640bcf787391deb607cc91c6
+checksum=9295090b468152cea7a53c651a46d6a1afb83f0124f86c9a64da43fd3453a9f4
post_install() {
vlicense LICENSE
From 08dd71d328398b06d990a1d44554c9b35683be46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:00:05 -0300
Subject: [PATCH 06/24] python3-jsonpointer: update to 2.3.
---
srcpkgs/python3-jsonpointer/template | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 1da8295d63fc..59b38c2228d6 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,18 +1,23 @@
# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
-version=2.0
-revision=6
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/stefankoegl/python-json-pointer"
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362
+checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
conflicts="python-jsonpointer>=0"
+do_check() {
+ # pytest is not supported
+ python3 tests.py
+}
+
post_install() {
vlicense LICENSE.txt LICENSE
}
From 74e8358cd1729ddeffe8d9d7eca90aa2dce3489d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:30:38 -0300
Subject: [PATCH 07/24] python3-nest_asyncio: update to 1.5.6.
---
srcpkgs/python3-nest_asyncio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
index 41981f82fc19..d0165041eb17 100644
--- a/srcpkgs/python3-nest_asyncio/template
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -1,9 +1,9 @@
# Template file for 'python3-nest_asyncio'
pkgname=python3-nest_asyncio
-version=1.5.4
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+version=1.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python asyncio patch to allow nested event loops"
@@ -11,7 +11,7 @@ maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/erdewit/nest_asyncio"
distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
-checksum=f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd
+checksum=d267cc1ff794403f7df692964d1d2a3fa9418ffea2a3f6859a439ff482fef290
post_install() {
vlicense LICENSE
From 40cd37b1a8cbaceb4c6a6ed867ec645dac7aecc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:08:30 -0300
Subject: [PATCH 08/24] python3-pyrsistent: update to 0.19.3.
---
srcpkgs/python3-pyrsistent/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
index 50ead293041f..d8e8578064ae 100644
--- a/srcpkgs/python3-pyrsistent/template
+++ b/srcpkgs/python3-pyrsistent/template
@@ -1,17 +1,18 @@
# Template file for 'python3-pyrsistent'
pkgname=python3-pyrsistent
-version=0.18.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel"
+version=0.19.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-devel"
depends="python3"
checkdepends="python3-pytest python3-hypothesis"
short_desc="Python persistent immutable data structures"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="MIT"
homepage="https://github.com/tobgu/pyrsistent/"
+changelog="https://raw.githubusercontent.com/tobgu/pyrsistent/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
-checksum=d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96
+checksum=1a2994773706bbb4995c31a97bc94f1418314923bd1048c6d964837040376440
post_install() {
vlicense LICENSE.mit LICENSE
From d61d6bf161073d60dce6ad46b5f87163cca6f993 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:32:26 -0300
Subject: [PATCH 09/24] python3-tornado: update to 6.3.2.
---
srcpkgs/python3-tornado/template | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template
index 48c9e57b0bdb..8e737db63b54 100644
--- a/srcpkgs/python3-tornado/template
+++ b/srcpkgs/python3-tornado/template
@@ -1,20 +1,21 @@
# Template file for 'python3-tornado'
pkgname=python3-tornado
-version=6.2
+version=6.3.2
revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3 ca-certificates"
+checkdepends="python3-curl python3-pycares python3-Twisted"
short_desc="Python3 web framework and asynchronous networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
+changelog="https://www.tornadoweb.org/en/stable/releases.html"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
-checksum=9b630419bde84ec666bfd7ea0a4cb2a8a651c2d5cccdbdd1972a0c859dfc3c13
-make_check=no # tests failing, already with 6.1
+checksum=4b927c4f19b71e627b13f3db2324e4ae660527143f9e1f2e2fb404f3a187e2ba
-pre_build() {
- # use system ca-certificates
- sed -i "/install_requires.append('certifi')/d" setup.py
+do_check() {
+ # pytest is not supported
+ ./runtests.sh
}
From cfd9505a6df25a4cd4a043cd18bed50f700237f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:03:16 -0300
Subject: [PATCH 10/24] New package: python3-strict-rfc3339-0.7
---
srcpkgs/python3-strict-rfc3339/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-strict-rfc3339/template
diff --git a/srcpkgs/python3-strict-rfc3339/template b/srcpkgs/python3-strict-rfc3339/template
new file mode 100644
index 000000000000..411d2e93535a
--- /dev/null
+++ b/srcpkgs/python3-strict-rfc3339/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-strict-rfc3339'
+pkgname=python3-strict-rfc3339
+version=0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Strict, simple, lightweight RFC3339 functions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="https://pypi.org/project/strict-rfc3339/"
+distfiles="${PYPI_SITE}/s/strict-rfc3339/strict-rfc3339-${version}.tar.gz"
+checksum=5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
+make_check=no # no tests available
From f1e8d9f68ec63d204f5646f5a99145243ce67188 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:09:32 -0300
Subject: [PATCH 11/24] New package: python3-rfc3339-validator-0.1.4
---
srcpkgs/python3-rfc3339-validator/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-rfc3339-validator/template
diff --git a/srcpkgs/python3-rfc3339-validator/template b/srcpkgs/python3-rfc3339-validator/template
new file mode 100644
index 000000000000..bc572b2f301a
--- /dev/null
+++ b/srcpkgs/python3-rfc3339-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3339-validator'
+pkgname=python3-rfc3339-validator
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six"
+checkdepends="$depends python3-hypothesis python3-pytest python3-strict-rfc3339"
+short_desc="Pure python RFC3339 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3339-validator"
+distfiles="${PYPI_SITE}/r/rfc3339-validator/rfc3339_validator-${version}.tar.gz"
+checksum=138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b
+
+post_install() {
+ vlicense LICENSE
+}
From da9094c94114a6dbc63f515cfb303688f1777f6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:34:03 -0300
Subject: [PATCH 12/24] New package: python3-rfc3987-1.3.8
---
srcpkgs/python3-rfc3987/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-rfc3987/template
diff --git a/srcpkgs/python3-rfc3987/template b/srcpkgs/python3-rfc3987/template
new file mode 100644
index 000000000000..f25379e582b7
--- /dev/null
+++ b/srcpkgs/python3-rfc3987/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-rfc3987'
+pkgname=python3-rfc3987
+version=1.3.8
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="http://pypi.python.org/pypi/rfc3987"
+distfiles="${PYPI_SITE}/r/rfc3987/rfc3987-${version}.tar.gz"
+checksum=d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733
+make_check=no # no tests available
From c03d59571eed3b26ad96864b4259cab5b08d4809 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:22:20 -0300
Subject: [PATCH 13/24] New package: python3-rfc3986-validator-0.1.1
---
.../python3-rfc3986-validator/patches/3.patch | 40 +++++++++++++++++++
srcpkgs/python3-rfc3986-validator/template | 18 +++++++++
2 files changed, 58 insertions(+)
create mode 100644 srcpkgs/python3-rfc3986-validator/patches/3.patch
create mode 100644 srcpkgs/python3-rfc3986-validator/template
diff --git a/srcpkgs/python3-rfc3986-validator/patches/3.patch b/srcpkgs/python3-rfc3986-validator/patches/3.patch
new file mode 100644
index 000000000000..991662d5fb52
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/patches/3.patch
@@ -0,0 +1,40 @@
+From f34f482530170972947b259844d00830a15f81a4 Mon Sep 17 00:00:00 2001
+From: chedi toueiti <chedi.toueiti@gmail.com>
+Date: Tue, 12 Jul 2022 21:01:31 +0100
+Subject: [PATCH] Removing deprecated pytest-runner and adding missing test
+ dependencies
+
+---
+ setup.cfg | 5 +++++
+ setup.py | 4 ++--
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 21c0a34..db0c26b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -23,3 +23,8 @@ test = pytest
+ [tool:pytest]
+ collect_ignore = ['setup.py']
+
++[options.extras_require]
++test =
++ pytest >= 3
++ rfc3987
++ hypothesis
+diff --git a/setup.py b/setup.py
+index 53ebea7..1652285 100644
+--- a/setup.py
++++ b/setup.py
+@@ -10,9 +10,9 @@
+
+ requirements = []
+
+-setup_requirements = ['pytest-runner', ]
++setup_requirements = []
+
+-test_requirements = ['pytest>=3', ]
++test_requirements = []
+
+ setup(
+ author="Nicolas Aimetti",
diff --git a/srcpkgs/python3-rfc3986-validator/template b/srcpkgs/python3-rfc3986-validator/template
new file mode 100644
index 000000000000..fc402d543d14
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3986-validator'
+pkgname=python3-rfc3986-validator
+version=0.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest python3-hypothesis python3-rfc3987"
+short_desc="Pure python RFC3986 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3986-validator"
+distfiles="${PYPI_SITE}/r/rfc3986-validator/rfc3986_validator-${version}.tar.gz"
+checksum=3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
+
+post_install() {
+ vlicense LICENSE
+}
From 609e0513b71320c8653687c5e0fe544c4ef8aea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:34:09 -0300
Subject: [PATCH 14/24] python3-jsonschema: add rfc3339 and rfc3986 validators.
---
srcpkgs/python3-jsonschema/template | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 8ec7cef8d755..272eb06edbdd 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.17.3
-revision=1
+revision=2
build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug"
hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-pyrsistent"
+depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
+ python3-rfc3339-validator python3-rfc3986-validator"
checkdepends="${depends} python3-pytest python3-pip"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@@ -15,10 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
-pre_build() {
- export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
-}
-
post_install() {
vlicense COPYING LICENSE
}
From 4f3db6bdc2ed0ec428e3c3a53adbb96a2374eb59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:31:37 -0300
Subject: [PATCH 15/24] New package: hatch-jupyter-builder-0.8.3
---
srcpkgs/hatch-jupyter-builder/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-jupyter-builder/template
diff --git a/srcpkgs/hatch-jupyter-builder/template b/srcpkgs/hatch-jupyter-builder/template
new file mode 100644
index 000000000000..674c221e1ebb
--- /dev/null
+++ b/srcpkgs/hatch-jupyter-builder/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-jupyter-builder'
+pkgname=hatch-jupyter-builder
+version=0.8.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest-mock python3-tomli"
+short_desc="Hatch plugin to help build Jupyter packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/hatch-jupyter-builder"
+changelog="https://raw.githubusercontent.com/jupyterlab/hatch-jupyter-builder/main/CHANGELOG.md"
+distfiles="https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v${version}.tar.gz"
+checksum=b167709e9bd196b3b92fe13a20b10c09cd30ca550759a9f06834378eb371af96
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 3322df2f5ec36956a47531f10c3b3e98b28c4cb7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 18:18:06 -0300
Subject: [PATCH 16/24] New package: hatch-nodejs-version-0.3.1
---
srcpkgs/hatch-nodejs-version/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-nodejs-version/template
diff --git a/srcpkgs/hatch-nodejs-version/template b/srcpkgs/hatch-nodejs-version/template
new file mode 100644
index 000000000000..389c85500bf2
--- /dev/null
+++ b/srcpkgs/hatch-nodejs-version/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-nodejs-version'
+pkgname=hatch-nodejs-version
+version=0.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest"
+short_desc="Hatch plugin to read pyproject.toml metadata from package.json"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/agoose77/hatch-nodejs-version"
+changelog="https://github.com/agoose77/hatch-nodejs-version/releases"
+distfiles="https://github.com/agoose77/hatch-nodejs-version/archive/refs/tags/v${version}.tar.gz"
+checksum=9959efbee3021dba4da7f8c152cacf104c746341ed176cd0488cbf3b45deba4d
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 485ff8897bc6993b2d92d2a9ef7ae4fedb3ffaea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:56:29 -0300
Subject: [PATCH 17/24] New package: python3-json-logger-2.0.7
---
srcpkgs/python3-json-logger/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-json-logger/template
diff --git a/srcpkgs/python3-json-logger/template b/srcpkgs/python3-json-logger/template
new file mode 100644
index 000000000000..747a925d56f0
--- /dev/null
+++ b/srcpkgs/python3-json-logger/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-json-logger'
+pkgname=python3-json-logger
+version=2.0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Json Formatter for the standard python logger"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-2-Clause"
+homepage="https://github.com/madzak/python-json-logger"
+changelog="https://raw.githubusercontent.com/madzak/python-json-logger/master/CHANGELOG.md"
+distfiles="https://github.com/madzak/python-json-logger/archive/refs/tags/v${version}.tar.gz"
+checksum=1d743e5573642bed1a5698dbfa5fc1c2a8e076fea95212e67518bec940e43ec1
+
+post_install() {
+ vlicense LICENSE
+}
From 1f16fe6ab2ae786b278aeb4d9c2389caa68b4f3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:58:52 -0300
Subject: [PATCH 18/24] New package: python3-jupyter_packaging-0.12.3
---
.../patches/178.patch | 23 +++++++++++++++++++
srcpkgs/python3-jupyter_packaging/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-jupyter_packaging/patches/178.patch
create mode 100644 srcpkgs/python3-jupyter_packaging/template
diff --git a/srcpkgs/python3-jupyter_packaging/patches/178.patch b/srcpkgs/python3-jupyter_packaging/patches/178.patch
new file mode 100644
index 000000000000..a158454dbb73
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/patches/178.patch
@@ -0,0 +1,23 @@
+From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001
+From: Steven Silvester <steven.silvester@ieee.org>
+Date: Tue, 7 Mar 2023 10:47:22 -0600
+Subject: [PATCH] Ignore warning raised when importing
+ setuptools.command.develop
+
+---
+ pyproject.toml | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e4c1e27..b316257 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -81,5 +81,7 @@ filterwarnings= [
+ # Fail on warnings
+ "error",
+ # Ignore our own deprecation warnings.
+- "ignore:.*:deprecation.DeprecatedWarning"
++ "ignore:.*:deprecation.DeprecatedWarning",
++ # Ignore warning raised when importing setuptools.command.develop.
++ "ignore:pkg_resources is deprecated as an API:DeprecationWarning"
+ ]
diff --git a/srcpkgs/python3-jupyter_packaging/template b/srcpkgs/python3-jupyter_packaging/template
new file mode 100644
index 000000000000..8c064fb464c6
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_packaging'
+pkgname=python3-jupyter_packaging
+version=0.12.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-deprecation python3-packaging python3-setuptools
+ python3-tomlkit python3-wheel"
+checkdepends="$depends python3-pytest-timeout python3-pytest-mock"
+short_desc="Tools to help build and install Jupyter Python packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter/jupyter-packaging"
+changelog="https://raw.githubusercontent.com/jupyter/jupyter-packaging/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v${version}.tar.gz"
+checksum=3a326f3b4e8b7fea8b7abf775741996095a4caf13767a9c017e9f17043e591e0
+
+post_install() {
+ vlicense LICENSE
+}
From 91f3ff273b865e114aa51927bd36121448bc6565 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 19:19:18 -0300
Subject: [PATCH 19/24] New package: python3-overrides-7.3.1
---
srcpkgs/python3-overrides/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-overrides/template
diff --git a/srcpkgs/python3-overrides/template b/srcpkgs/python3-overrides/template
new file mode 100644
index 000000000000..9c1b507e9240
--- /dev/null
+++ b/srcpkgs/python3-overrides/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-overrides'
+pkgname=python3-overrides
+version=7.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Decorator to automatically detect mismatch when overriding a method"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/mkorpela/overrides"
+changelog="https://github.com/mkorpela/overrides/releases"
+distfiles="https://github.com/mkorpela/overrides/archive/refs/tags/${version}.tar.gz"
+checksum=ff904c45a8a664aaeeac0a849f5097567d52a88c2324b12ad002c8b58e83625c
From 758068d70855707e47488d2ac2c95ec1b3ac1534 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 21:18:00 -0300
Subject: [PATCH 20/24] New package: python3-pathable-0.4.3
---
srcpkgs/python3-pathable/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pathable/template
diff --git a/srcpkgs/python3-pathable/template b/srcpkgs/python3-pathable/template
new file mode 100644
index 000000000000..70892d570eaa
--- /dev/null
+++ b/srcpkgs/python3-pathable/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pathable'
+pkgname=python3-pathable
+version=0.4.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+checkdepends="python3-pytest-cov python3-toml"
+short_desc="Object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/pathable"
+changelog="https://github.com/p1c2u/pathable/releases"
+distfiles="https://github.com/p1c2u/pathable/archive/refs/tags/${version}.tar.gz"
+checksum=eea76120e5fdc54f4e9b7bc5e24748d163cef61c3e60ed32675828ade141cf4b
From 048d79727fb20e55b6d025d0e66ba00942107b1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:52:44 -0300
Subject: [PATCH 21/24] New package: python3-jsonschema-spec-0.1.4
---
srcpkgs/python3-jsonschema-spec/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-jsonschema-spec/template
diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
new file mode 100644
index 000000000000..2baf429eff08
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-jsonschema-spec'
+pkgname=python3-jsonschema-spec
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema python3-pathable python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="JSONSchema Spec with object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/jsonschema-spec"
+changelog="https://github.com/p1c2u/jsonschema-spec/releases"
+distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
+checksum=2a4ffb901ced9f37d86c64b29b9bfed72362e9cae82a319346ad234e434baf94
From 87d8a9697891a7365107919eff9766557f30caf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:39:45 -0300
Subject: [PATCH 22/24] New package: python3-openapi-schema-validator-0.4.4
---
.../python3-openapi-schema-validator/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-openapi-schema-validator/template
diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
new file mode 100644
index 000000000000..bb26e4a7d603
--- /dev/null
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-openapi-schema-validator'
+pkgname=python3-openapi-schema-validator
+version=0.4.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI schema validation for Python"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-schema-validator"
+changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
+checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+
+post_install() {
+ vlicense LICENSE
+}
From b8450eeeaaa5a7d718e113d12ba8faaabccf732f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:40:13 -0300
Subject: [PATCH 23/24] New package: python3-openapi-spec-validator-0.5.6
---
srcpkgs/python3-openapi-spec-validator/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-openapi-spec-validator/template
diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
new file mode 100644
index 000000000000..f1e9665a676a
--- /dev/null
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-openapi-spec-validator'
+pkgname=python3-openapi-spec-validator
+version=0.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema-spec python3-lazy-object-proxy
+ python3-openapi-schema-validator"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI spec validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/python-openapi/openapi-spec-validator"
+changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
+checksum=1189d0618ae0678ccf6c883cc1266d381454eece6f21fcf330cc7caea5fc25eb
From 7c79977bc949e285ff824b4e80ff5600e425e9e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 01:38:55 -0300
Subject: [PATCH 24/24] New package: python3-openapi-core-0.17.1
---
srcpkgs/python3-openapi-core/template | 29 +++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 srcpkgs/python3-openapi-core/template
diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
new file mode 100644
index 000000000000..21c519c793c1
--- /dev/null
+++ b/srcpkgs/python3-openapi-core/template
@@ -0,0 +1,29 @@
+# Template file for 'python3-openapi-core'
+pkgname=python3-openapi-core
+version=0.17.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
+ python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
+ python3-responses python3-toml python3-WebOb"
+short_desc="Support for the OpenAPI Specification v3"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-core"
+changelog="https://github.com/python-openapi/openapi-core/releases"
+distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
+checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+
+# disable test files that need python packages not available
+make_check_args="
+ --ignore=tests/unit/contrib/django
+ --ignore=tests/integration/contrib/django
+ --ignore=tests/integration/contrib/falcon
+ --ignore=tests/integration/contrib/starlette
+ "
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Updates to python packages needed for jupyter notebook and jupyterlab
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
@ 2023-06-08 10:51 ` tornaria
2023-06-08 10:59 ` [PR PATCH] [Updated] " tornaria
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tornaria @ 2023-06-08 10:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 829 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/44312#issuecomment-1582361791
Comment:
- i686: fails b/c python build was triggered and it fails check on i686
- musl: failed a test in `python3-tornado` due to a timeout:
```
ERROR: test_bind_source_ip (tornado.test.curl_httpclient_test.CurlHTTPClientCommonTestCase.test_bind_source_ip)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/python3-tornado-6.3.2/tornado/testing.py", line 491, in tearDown
self.io_loop.run_sync(
File "/builddir/python3-tornado-6.3.2/tornado/ioloop.py", line 526, in run_sync
raise TimeoutError("Operation timed out after %s seconds" % timeout)
TimeoutError: Operation timed out after 5 seconds
```
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] Updates to python packages needed for jupyter notebook and jupyterlab
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
2023-06-08 10:51 ` tornaria
@ 2023-06-08 10:59 ` tornaria
2023-06-09 0:23 ` tornaria
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tornaria @ 2023-06-08 10:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3352 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages jupyter-deps
https://github.com/void-linux/void-packages/pull/44312
Updates to python packages needed for jupyter notebook and jupyterlab
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Mostly taken from #44160, this updates or creates several python packages needed for jupyter packages:
- python3-argcomplete: update to 3.0.8. (check: traitlets)
- python3-BeautifulSoup4: update to 4.12.2. (dep: nbconvert)
- python3-bleach: update to 6.0.0. (dep: nbconvert)
- python3-comm: update to 0.1.3. (dep: ipykernel)
- python3-fastjsonschema: update to 2.17.1 (dep: nbformat)
- python3-jsonpointer: update to 2.3. (dep: jsonschema)
- python3-nest_asyncio: update to 1.5.6. (dep: ipykernel)
- python3-pyrsistent: update to 0.19.3. (dep: jsonschema)
- python3-tornado: update to 6.3.2. (dep: ipykernel)
- New package: python3-strict-rfc3339-0.7 (check: rfc3339-validator))
- New package: python3-rfc3339-validator-0.1.4 (dep: jsonschema)
- New package: python3-rfc3987 (check: rfc3986-validator)
- New package: python3-rfc3986-validator-0.1.1 (dep: jsonschema)
- python3-jsonschema: add validators (dep: nbformat)
- New package: hatch-jupyter-builder-0.8.3 (build: nbclassic)
- New package: hatch-nodejs-version-0.3.1 (build: nbformat)
- New package: python3-json-logger-2.0.7 (dep: jupyter_events)
- New package: python3-jupyter_packaging-0.12.3 (build: notebook)
- New package: python3-overrides-7.3.1 (dep: jupyter_server)
- New package: python3-pathable-0.4.3 (dep: jsonschema-spec)
- New package: python3-jsonschema-spec-0.1.4 (dep: openapi-spec-validator)
- New package: python3-openapi-schema-validator-0.4.4 (dep: openapi-spec-validator)
- New package: python3-openapi-spec-validator-0.5.6 (dep: openapi-core)
- New package: python3-openapi-core-0.17.1 (check: jupyterlab_server)
Some of these will be used only after #44160, either because updates to some jupyter package needs them for build or runtime, or because they are needed to check (and part of #44160 is making all jupyter packages testable in CI).
I think it may be easier to handle #44272 and this PR first, and let #44160 be more manageable.
Everything uses pep517 build style, and check is working for everything.
<!--
#### 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/44312.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-deps-44312.patch --]
[-- Type: text/x-diff, Size: 36401 bytes --]
From 62848a13d7415b999c7e76b56d52537af98f785a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 01:01:14 -0300
Subject: [PATCH 01/24] python3-argcomplete: update to 3.0.8.
---
srcpkgs/python3-argcomplete/template | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-argcomplete/template b/srcpkgs/python3-argcomplete/template
index abe32205b908..209ab8569635 100644
--- a/srcpkgs/python3-argcomplete/template
+++ b/srcpkgs/python3-argcomplete/template
@@ -1,13 +1,20 @@
# Template file for 'python3-argcomplete'
pkgname=python3-argcomplete
-version=3.0.5
+version=3.0.8
revision=1
build_style=python3-pep517
-hostmakedepends="python3-wheel"
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
+checkdepends="python3-pexpect python3-pip zsh"
short_desc="Bash tab completion for argparse"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/kislyuk/argcomplete"
+changelog="https://raw.githubusercontent.com/kislyuk/argcomplete/develop/Changes.rst"
distfiles="${PYPI_SITE}/a/argcomplete/argcomplete-${version}.tar.gz"
-checksum=fe3ce77125f434a0dd1bffe5f4643e64126d5731ce8d173d36f62fa43d6eb6f7
+checksum=b9ca96448e14fa459d7450a4ab5a22bbf9cee4ba7adddf03e65c398b5daeea28
+
+do_check() {
+ # pytest is not supported
+ python3 -m unittest -b test/test.py
+}
From 12e3bf61770246aa2c6df525e93ee265ef932c7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:59:09 -0300
Subject: [PATCH 02/24] python3-BeautifulSoup4: update to 4.12.2.
---
srcpkgs/python3-BeautifulSoup4/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 882ea8a33214..25d104f6d0d4 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,18 +1,18 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.11.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3 python3-soupsieve"
-checkdepends="python3-pytest $depends"
+version=4.12.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-soupsieve"
+checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
-changelog="https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG"
+changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693
+checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
post_install() {
vlicense LICENSE
From 18f7277a03dd5a937036c42fd8341d9600243e45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:25:30 -0300
Subject: [PATCH 03/24] python3-bleach: update to 6.0.0.
---
srcpkgs/python3-bleach/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index aea09c368c1f..1a14acbfc21f 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,10 +1,10 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=4.1.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-six python3-webencodings python3-packaging"
+version=6.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six python3-webencodings"
checkdepends="python3-pytest $depends"
short_desc="Easy safelist-based HTML-sanitizing tool (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/mozilla/bleach"
changelog="https://raw.githubusercontent.com/mozilla/bleach/master/CHANGES"
distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
-checksum=0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da
+checksum=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
From 0cb52626c29595ca03f420697384283cf15ae98a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:25:45 -0300
Subject: [PATCH 04/24] python3-comm: update to 0.1.3.
---
srcpkgs/python3-comm/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template
index 0bbba8dc0eda..29ebd5afd772 100644
--- a/srcpkgs/python3-comm/template
+++ b/srcpkgs/python3-comm/template
@@ -1,6 +1,6 @@
# Template file for 'python3-comm'
pkgname=python3-comm
-version=0.1.1
+version=0.1.3
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
@@ -10,8 +10,9 @@ short_desc="Python comm implementation for the Jupyter kernel protocol"
maintainer="dkwo <npiazza@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/comm/"
-distfiles="https://github.com/ipython/comm/archive/refs/tags/$version.tar.gz"
-checksum=2868dfd1e482b821a929d662bf3d89adeb8a091239bf1497187797fe9e4c12fa
+changelog="https://raw.githubusercontent.com/ipython/comm/main/CHANGELOG.md"
+distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz"
+checksum=9bdea650a6194bf1628b17c2668bf74bf5295c87a7528a8aa4fe4472904b26f2
post_install() {
vlicense LICENSE
From 417e3f5e3fceb3d8612b2a5d69d274f3d1b715e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 10:28:43 -0300
Subject: [PATCH 05/24] python3-fastjsonschema: update to 2.17.1.
---
srcpkgs/python3-fastjsonschema/template | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template
index 7e4495b9456b..54fbdb6dde10 100644
--- a/srcpkgs/python3-fastjsonschema/template
+++ b/srcpkgs/python3-fastjsonschema/template
@@ -1,19 +1,18 @@
# Template file for 'python3-fastjsonschema'
pkgname=python3-fastjsonschema
-version=2.16.3
+version=2.17.1
revision=1
-build_style=python3-module
-make_check_args="--deselect tests/benchmarks/test_benchmark.py"
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-benchmark"
short_desc="Fastest Python implementation of JSON schema"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/horejsek/python-fastjsonschema"
changelog="https://raw.githubusercontent.com/horejsek/python-fastjsonschema/master/CHANGELOG.txt"
distfiles="https://github.com/horejsek/python-fastjsonschema/archive/refs/tags/v${version}.tar.gz"
-checksum=f9834e4994830942d58949043820024261dc22e2640bcf787391deb607cc91c6
+checksum=9295090b468152cea7a53c651a46d6a1afb83f0124f86c9a64da43fd3453a9f4
post_install() {
vlicense LICENSE
From 08dd71d328398b06d990a1d44554c9b35683be46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:00:05 -0300
Subject: [PATCH 06/24] python3-jsonpointer: update to 2.3.
---
srcpkgs/python3-jsonpointer/template | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 1da8295d63fc..59b38c2228d6 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,18 +1,23 @@
# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
-version=2.0
-revision=6
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/stefankoegl/python-json-pointer"
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362
+checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
conflicts="python-jsonpointer>=0"
+do_check() {
+ # pytest is not supported
+ python3 tests.py
+}
+
post_install() {
vlicense LICENSE.txt LICENSE
}
From 74e8358cd1729ddeffe8d9d7eca90aa2dce3489d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:30:38 -0300
Subject: [PATCH 07/24] python3-nest_asyncio: update to 1.5.6.
---
srcpkgs/python3-nest_asyncio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
index 41981f82fc19..d0165041eb17 100644
--- a/srcpkgs/python3-nest_asyncio/template
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -1,9 +1,9 @@
# Template file for 'python3-nest_asyncio'
pkgname=python3-nest_asyncio
-version=1.5.4
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+version=1.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python asyncio patch to allow nested event loops"
@@ -11,7 +11,7 @@ maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/erdewit/nest_asyncio"
distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
-checksum=f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd
+checksum=d267cc1ff794403f7df692964d1d2a3fa9418ffea2a3f6859a439ff482fef290
post_install() {
vlicense LICENSE
From 40cd37b1a8cbaceb4c6a6ed867ec645dac7aecc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:08:30 -0300
Subject: [PATCH 08/24] python3-pyrsistent: update to 0.19.3.
---
srcpkgs/python3-pyrsistent/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
index 50ead293041f..d8e8578064ae 100644
--- a/srcpkgs/python3-pyrsistent/template
+++ b/srcpkgs/python3-pyrsistent/template
@@ -1,17 +1,18 @@
# Template file for 'python3-pyrsistent'
pkgname=python3-pyrsistent
-version=0.18.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel"
+version=0.19.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-devel"
depends="python3"
checkdepends="python3-pytest python3-hypothesis"
short_desc="Python persistent immutable data structures"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="MIT"
homepage="https://github.com/tobgu/pyrsistent/"
+changelog="https://raw.githubusercontent.com/tobgu/pyrsistent/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
-checksum=d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96
+checksum=1a2994773706bbb4995c31a97bc94f1418314923bd1048c6d964837040376440
post_install() {
vlicense LICENSE.mit LICENSE
From d61d6bf161073d60dce6ad46b5f87163cca6f993 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:32:26 -0300
Subject: [PATCH 09/24] python3-tornado: update to 6.3.2.
---
srcpkgs/python3-tornado/template | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template
index 48c9e57b0bdb..8e737db63b54 100644
--- a/srcpkgs/python3-tornado/template
+++ b/srcpkgs/python3-tornado/template
@@ -1,20 +1,21 @@
# Template file for 'python3-tornado'
pkgname=python3-tornado
-version=6.2
+version=6.3.2
revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3 ca-certificates"
+checkdepends="python3-curl python3-pycares python3-Twisted"
short_desc="Python3 web framework and asynchronous networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
+changelog="https://www.tornadoweb.org/en/stable/releases.html"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
-checksum=9b630419bde84ec666bfd7ea0a4cb2a8a651c2d5cccdbdd1972a0c859dfc3c13
-make_check=no # tests failing, already with 6.1
+checksum=4b927c4f19b71e627b13f3db2324e4ae660527143f9e1f2e2fb404f3a187e2ba
-pre_build() {
- # use system ca-certificates
- sed -i "/install_requires.append('certifi')/d" setup.py
+do_check() {
+ # pytest is not supported
+ ./runtests.sh
}
From cfd9505a6df25a4cd4a043cd18bed50f700237f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:03:16 -0300
Subject: [PATCH 10/24] New package: python3-strict-rfc3339-0.7
---
srcpkgs/python3-strict-rfc3339/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-strict-rfc3339/template
diff --git a/srcpkgs/python3-strict-rfc3339/template b/srcpkgs/python3-strict-rfc3339/template
new file mode 100644
index 000000000000..411d2e93535a
--- /dev/null
+++ b/srcpkgs/python3-strict-rfc3339/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-strict-rfc3339'
+pkgname=python3-strict-rfc3339
+version=0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Strict, simple, lightweight RFC3339 functions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="https://pypi.org/project/strict-rfc3339/"
+distfiles="${PYPI_SITE}/s/strict-rfc3339/strict-rfc3339-${version}.tar.gz"
+checksum=5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
+make_check=no # no tests available
From f1e8d9f68ec63d204f5646f5a99145243ce67188 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:09:32 -0300
Subject: [PATCH 11/24] New package: python3-rfc3339-validator-0.1.4
---
srcpkgs/python3-rfc3339-validator/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-rfc3339-validator/template
diff --git a/srcpkgs/python3-rfc3339-validator/template b/srcpkgs/python3-rfc3339-validator/template
new file mode 100644
index 000000000000..bc572b2f301a
--- /dev/null
+++ b/srcpkgs/python3-rfc3339-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3339-validator'
+pkgname=python3-rfc3339-validator
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six"
+checkdepends="$depends python3-hypothesis python3-pytest python3-strict-rfc3339"
+short_desc="Pure python RFC3339 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3339-validator"
+distfiles="${PYPI_SITE}/r/rfc3339-validator/rfc3339_validator-${version}.tar.gz"
+checksum=138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b
+
+post_install() {
+ vlicense LICENSE
+}
From da9094c94114a6dbc63f515cfb303688f1777f6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:34:03 -0300
Subject: [PATCH 12/24] New package: python3-rfc3987-1.3.8
---
srcpkgs/python3-rfc3987/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-rfc3987/template
diff --git a/srcpkgs/python3-rfc3987/template b/srcpkgs/python3-rfc3987/template
new file mode 100644
index 000000000000..f25379e582b7
--- /dev/null
+++ b/srcpkgs/python3-rfc3987/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-rfc3987'
+pkgname=python3-rfc3987
+version=1.3.8
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="http://pypi.python.org/pypi/rfc3987"
+distfiles="${PYPI_SITE}/r/rfc3987/rfc3987-${version}.tar.gz"
+checksum=d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733
+make_check=no # no tests available
From c03d59571eed3b26ad96864b4259cab5b08d4809 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:22:20 -0300
Subject: [PATCH 13/24] New package: python3-rfc3986-validator-0.1.1
---
.../python3-rfc3986-validator/patches/3.patch | 40 +++++++++++++++++++
srcpkgs/python3-rfc3986-validator/template | 18 +++++++++
2 files changed, 58 insertions(+)
create mode 100644 srcpkgs/python3-rfc3986-validator/patches/3.patch
create mode 100644 srcpkgs/python3-rfc3986-validator/template
diff --git a/srcpkgs/python3-rfc3986-validator/patches/3.patch b/srcpkgs/python3-rfc3986-validator/patches/3.patch
new file mode 100644
index 000000000000..991662d5fb52
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/patches/3.patch
@@ -0,0 +1,40 @@
+From f34f482530170972947b259844d00830a15f81a4 Mon Sep 17 00:00:00 2001
+From: chedi toueiti <chedi.toueiti@gmail.com>
+Date: Tue, 12 Jul 2022 21:01:31 +0100
+Subject: [PATCH] Removing deprecated pytest-runner and adding missing test
+ dependencies
+
+---
+ setup.cfg | 5 +++++
+ setup.py | 4 ++--
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 21c0a34..db0c26b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -23,3 +23,8 @@ test = pytest
+ [tool:pytest]
+ collect_ignore = ['setup.py']
+
++[options.extras_require]
++test =
++ pytest >= 3
++ rfc3987
++ hypothesis
+diff --git a/setup.py b/setup.py
+index 53ebea7..1652285 100644
+--- a/setup.py
++++ b/setup.py
+@@ -10,9 +10,9 @@
+
+ requirements = []
+
+-setup_requirements = ['pytest-runner', ]
++setup_requirements = []
+
+-test_requirements = ['pytest>=3', ]
++test_requirements = []
+
+ setup(
+ author="Nicolas Aimetti",
diff --git a/srcpkgs/python3-rfc3986-validator/template b/srcpkgs/python3-rfc3986-validator/template
new file mode 100644
index 000000000000..fc402d543d14
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3986-validator'
+pkgname=python3-rfc3986-validator
+version=0.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest python3-hypothesis python3-rfc3987"
+short_desc="Pure python RFC3986 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3986-validator"
+distfiles="${PYPI_SITE}/r/rfc3986-validator/rfc3986_validator-${version}.tar.gz"
+checksum=3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
+
+post_install() {
+ vlicense LICENSE
+}
From 609e0513b71320c8653687c5e0fe544c4ef8aea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:34:09 -0300
Subject: [PATCH 14/24] python3-jsonschema: add rfc3339 and rfc3986 validators.
---
srcpkgs/python3-jsonschema/template | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 8ec7cef8d755..272eb06edbdd 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.17.3
-revision=1
+revision=2
build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug"
hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-pyrsistent"
+depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
+ python3-rfc3339-validator python3-rfc3986-validator"
checkdepends="${depends} python3-pytest python3-pip"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@@ -15,10 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
-pre_build() {
- export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
-}
-
post_install() {
vlicense COPYING LICENSE
}
From 4f3db6bdc2ed0ec428e3c3a53adbb96a2374eb59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:31:37 -0300
Subject: [PATCH 15/24] New package: hatch-jupyter-builder-0.8.3
---
srcpkgs/hatch-jupyter-builder/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-jupyter-builder/template
diff --git a/srcpkgs/hatch-jupyter-builder/template b/srcpkgs/hatch-jupyter-builder/template
new file mode 100644
index 000000000000..674c221e1ebb
--- /dev/null
+++ b/srcpkgs/hatch-jupyter-builder/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-jupyter-builder'
+pkgname=hatch-jupyter-builder
+version=0.8.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest-mock python3-tomli"
+short_desc="Hatch plugin to help build Jupyter packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/hatch-jupyter-builder"
+changelog="https://raw.githubusercontent.com/jupyterlab/hatch-jupyter-builder/main/CHANGELOG.md"
+distfiles="https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v${version}.tar.gz"
+checksum=b167709e9bd196b3b92fe13a20b10c09cd30ca550759a9f06834378eb371af96
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 3322df2f5ec36956a47531f10c3b3e98b28c4cb7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 18:18:06 -0300
Subject: [PATCH 16/24] New package: hatch-nodejs-version-0.3.1
---
srcpkgs/hatch-nodejs-version/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-nodejs-version/template
diff --git a/srcpkgs/hatch-nodejs-version/template b/srcpkgs/hatch-nodejs-version/template
new file mode 100644
index 000000000000..389c85500bf2
--- /dev/null
+++ b/srcpkgs/hatch-nodejs-version/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-nodejs-version'
+pkgname=hatch-nodejs-version
+version=0.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest"
+short_desc="Hatch plugin to read pyproject.toml metadata from package.json"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/agoose77/hatch-nodejs-version"
+changelog="https://github.com/agoose77/hatch-nodejs-version/releases"
+distfiles="https://github.com/agoose77/hatch-nodejs-version/archive/refs/tags/v${version}.tar.gz"
+checksum=9959efbee3021dba4da7f8c152cacf104c746341ed176cd0488cbf3b45deba4d
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 485ff8897bc6993b2d92d2a9ef7ae4fedb3ffaea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:56:29 -0300
Subject: [PATCH 17/24] New package: python3-json-logger-2.0.7
---
srcpkgs/python3-json-logger/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-json-logger/template
diff --git a/srcpkgs/python3-json-logger/template b/srcpkgs/python3-json-logger/template
new file mode 100644
index 000000000000..747a925d56f0
--- /dev/null
+++ b/srcpkgs/python3-json-logger/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-json-logger'
+pkgname=python3-json-logger
+version=2.0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Json Formatter for the standard python logger"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-2-Clause"
+homepage="https://github.com/madzak/python-json-logger"
+changelog="https://raw.githubusercontent.com/madzak/python-json-logger/master/CHANGELOG.md"
+distfiles="https://github.com/madzak/python-json-logger/archive/refs/tags/v${version}.tar.gz"
+checksum=1d743e5573642bed1a5698dbfa5fc1c2a8e076fea95212e67518bec940e43ec1
+
+post_install() {
+ vlicense LICENSE
+}
From 1f16fe6ab2ae786b278aeb4d9c2389caa68b4f3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:58:52 -0300
Subject: [PATCH 18/24] New package: python3-jupyter_packaging-0.12.3
---
.../patches/178.patch | 23 +++++++++++++++++++
srcpkgs/python3-jupyter_packaging/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-jupyter_packaging/patches/178.patch
create mode 100644 srcpkgs/python3-jupyter_packaging/template
diff --git a/srcpkgs/python3-jupyter_packaging/patches/178.patch b/srcpkgs/python3-jupyter_packaging/patches/178.patch
new file mode 100644
index 000000000000..a158454dbb73
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/patches/178.patch
@@ -0,0 +1,23 @@
+From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001
+From: Steven Silvester <steven.silvester@ieee.org>
+Date: Tue, 7 Mar 2023 10:47:22 -0600
+Subject: [PATCH] Ignore warning raised when importing
+ setuptools.command.develop
+
+---
+ pyproject.toml | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e4c1e27..b316257 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -81,5 +81,7 @@ filterwarnings= [
+ # Fail on warnings
+ "error",
+ # Ignore our own deprecation warnings.
+- "ignore:.*:deprecation.DeprecatedWarning"
++ "ignore:.*:deprecation.DeprecatedWarning",
++ # Ignore warning raised when importing setuptools.command.develop.
++ "ignore:pkg_resources is deprecated as an API:DeprecationWarning"
+ ]
diff --git a/srcpkgs/python3-jupyter_packaging/template b/srcpkgs/python3-jupyter_packaging/template
new file mode 100644
index 000000000000..8c064fb464c6
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_packaging'
+pkgname=python3-jupyter_packaging
+version=0.12.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-deprecation python3-packaging python3-setuptools
+ python3-tomlkit python3-wheel"
+checkdepends="$depends python3-pytest-timeout python3-pytest-mock"
+short_desc="Tools to help build and install Jupyter Python packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter/jupyter-packaging"
+changelog="https://raw.githubusercontent.com/jupyter/jupyter-packaging/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v${version}.tar.gz"
+checksum=3a326f3b4e8b7fea8b7abf775741996095a4caf13767a9c017e9f17043e591e0
+
+post_install() {
+ vlicense LICENSE
+}
From 91f3ff273b865e114aa51927bd36121448bc6565 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 19:19:18 -0300
Subject: [PATCH 19/24] New package: python3-overrides-7.3.1
---
srcpkgs/python3-overrides/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-overrides/template
diff --git a/srcpkgs/python3-overrides/template b/srcpkgs/python3-overrides/template
new file mode 100644
index 000000000000..9c1b507e9240
--- /dev/null
+++ b/srcpkgs/python3-overrides/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-overrides'
+pkgname=python3-overrides
+version=7.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Decorator to automatically detect mismatch when overriding a method"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/mkorpela/overrides"
+changelog="https://github.com/mkorpela/overrides/releases"
+distfiles="https://github.com/mkorpela/overrides/archive/refs/tags/${version}.tar.gz"
+checksum=ff904c45a8a664aaeeac0a849f5097567d52a88c2324b12ad002c8b58e83625c
From 758068d70855707e47488d2ac2c95ec1b3ac1534 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 21:18:00 -0300
Subject: [PATCH 20/24] New package: python3-pathable-0.4.3
---
srcpkgs/python3-pathable/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pathable/template
diff --git a/srcpkgs/python3-pathable/template b/srcpkgs/python3-pathable/template
new file mode 100644
index 000000000000..70892d570eaa
--- /dev/null
+++ b/srcpkgs/python3-pathable/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pathable'
+pkgname=python3-pathable
+version=0.4.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+checkdepends="python3-pytest-cov python3-toml"
+short_desc="Object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/pathable"
+changelog="https://github.com/p1c2u/pathable/releases"
+distfiles="https://github.com/p1c2u/pathable/archive/refs/tags/${version}.tar.gz"
+checksum=eea76120e5fdc54f4e9b7bc5e24748d163cef61c3e60ed32675828ade141cf4b
From 048d79727fb20e55b6d025d0e66ba00942107b1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:52:44 -0300
Subject: [PATCH 21/24] New package: python3-jsonschema-spec-0.1.4
---
srcpkgs/python3-jsonschema-spec/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-jsonschema-spec/template
diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
new file mode 100644
index 000000000000..2baf429eff08
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-jsonschema-spec'
+pkgname=python3-jsonschema-spec
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema python3-pathable python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="JSONSchema Spec with object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/jsonschema-spec"
+changelog="https://github.com/p1c2u/jsonschema-spec/releases"
+distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
+checksum=2a4ffb901ced9f37d86c64b29b9bfed72362e9cae82a319346ad234e434baf94
From 87d8a9697891a7365107919eff9766557f30caf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:39:45 -0300
Subject: [PATCH 22/24] New package: python3-openapi-schema-validator-0.4.4
---
.../python3-openapi-schema-validator/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-openapi-schema-validator/template
diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
new file mode 100644
index 000000000000..bb26e4a7d603
--- /dev/null
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-openapi-schema-validator'
+pkgname=python3-openapi-schema-validator
+version=0.4.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI schema validation for Python"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-schema-validator"
+changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
+checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+
+post_install() {
+ vlicense LICENSE
+}
From b8450eeeaaa5a7d718e113d12ba8faaabccf732f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:40:13 -0300
Subject: [PATCH 23/24] New package: python3-openapi-spec-validator-0.5.6
---
srcpkgs/python3-openapi-spec-validator/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-openapi-spec-validator/template
diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
new file mode 100644
index 000000000000..f1e9665a676a
--- /dev/null
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-openapi-spec-validator'
+pkgname=python3-openapi-spec-validator
+version=0.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema-spec python3-lazy-object-proxy
+ python3-openapi-schema-validator"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI spec validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/python-openapi/openapi-spec-validator"
+changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
+checksum=1189d0618ae0678ccf6c883cc1266d381454eece6f21fcf330cc7caea5fc25eb
From 94493fa52bdab45c3ed6ed884084100e43df0bec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 01:38:55 -0300
Subject: [PATCH 24/24] New package: python3-openapi-core-0.17.1
---
srcpkgs/python3-openapi-core/template | 29 +++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 srcpkgs/python3-openapi-core/template
diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
new file mode 100644
index 000000000000..21c519c793c1
--- /dev/null
+++ b/srcpkgs/python3-openapi-core/template
@@ -0,0 +1,29 @@
+# Template file for 'python3-openapi-core'
+pkgname=python3-openapi-core
+version=0.17.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
+ python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
+ python3-responses python3-toml python3-WebOb"
+short_desc="Support for the OpenAPI Specification v3"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-core"
+changelog="https://github.com/python-openapi/openapi-core/releases"
+distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
+checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+
+# disable test files that need python packages not available
+make_check_args="
+ --ignore=tests/unit/contrib/django
+ --ignore=tests/integration/contrib/django
+ --ignore=tests/integration/contrib/falcon
+ --ignore=tests/integration/contrib/starlette
+ "
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] Updates to python packages needed for jupyter notebook and jupyterlab
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
2023-06-08 10:51 ` tornaria
2023-06-08 10:59 ` [PR PATCH] [Updated] " tornaria
@ 2023-06-09 0:23 ` tornaria
2023-06-10 15:33 ` tornaria
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tornaria @ 2023-06-09 0:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3352 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages jupyter-deps
https://github.com/void-linux/void-packages/pull/44312
Updates to python packages needed for jupyter notebook and jupyterlab
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Mostly taken from #44160, this updates or creates several python packages needed for jupyter packages:
- python3-argcomplete: update to 3.0.8. (check: traitlets)
- python3-BeautifulSoup4: update to 4.12.2. (dep: nbconvert)
- python3-bleach: update to 6.0.0. (dep: nbconvert)
- python3-comm: update to 0.1.3. (dep: ipykernel)
- python3-fastjsonschema: update to 2.17.1 (dep: nbformat)
- python3-jsonpointer: update to 2.3. (dep: jsonschema)
- python3-nest_asyncio: update to 1.5.6. (dep: ipykernel)
- python3-pyrsistent: update to 0.19.3. (dep: jsonschema)
- python3-tornado: update to 6.3.2. (dep: ipykernel)
- New package: python3-strict-rfc3339-0.7 (check: rfc3339-validator))
- New package: python3-rfc3339-validator-0.1.4 (dep: jsonschema)
- New package: python3-rfc3987 (check: rfc3986-validator)
- New package: python3-rfc3986-validator-0.1.1 (dep: jsonschema)
- python3-jsonschema: add validators (dep: nbformat)
- New package: hatch-jupyter-builder-0.8.3 (build: nbclassic)
- New package: hatch-nodejs-version-0.3.1 (build: nbformat)
- New package: python3-json-logger-2.0.7 (dep: jupyter_events)
- New package: python3-jupyter_packaging-0.12.3 (build: notebook)
- New package: python3-overrides-7.3.1 (dep: jupyter_server)
- New package: python3-pathable-0.4.3 (dep: jsonschema-spec)
- New package: python3-jsonschema-spec-0.1.4 (dep: openapi-spec-validator)
- New package: python3-openapi-schema-validator-0.4.4 (dep: openapi-spec-validator)
- New package: python3-openapi-spec-validator-0.5.6 (dep: openapi-core)
- New package: python3-openapi-core-0.17.1 (check: jupyterlab_server)
Some of these will be used only after #44160, either because updates to some jupyter package needs them for build or runtime, or because they are needed to check (and part of #44160 is making all jupyter packages testable in CI).
I think it may be easier to handle #44272 and this PR first, and let #44160 be more manageable.
Everything uses pep517 build style, and check is working for everything.
<!--
#### 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/44312.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-deps-44312.patch --]
[-- Type: text/x-diff, Size: 36887 bytes --]
From 35b9f4d7ca0eac92d3492341ad3b3a0e0dd388a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 01:01:14 -0300
Subject: [PATCH 01/24] python3-argcomplete: update to 3.0.8.
---
srcpkgs/python3-argcomplete/template | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-argcomplete/template b/srcpkgs/python3-argcomplete/template
index abe32205b908..209ab8569635 100644
--- a/srcpkgs/python3-argcomplete/template
+++ b/srcpkgs/python3-argcomplete/template
@@ -1,13 +1,20 @@
# Template file for 'python3-argcomplete'
pkgname=python3-argcomplete
-version=3.0.5
+version=3.0.8
revision=1
build_style=python3-pep517
-hostmakedepends="python3-wheel"
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
+checkdepends="python3-pexpect python3-pip zsh"
short_desc="Bash tab completion for argparse"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/kislyuk/argcomplete"
+changelog="https://raw.githubusercontent.com/kislyuk/argcomplete/develop/Changes.rst"
distfiles="${PYPI_SITE}/a/argcomplete/argcomplete-${version}.tar.gz"
-checksum=fe3ce77125f434a0dd1bffe5f4643e64126d5731ce8d173d36f62fa43d6eb6f7
+checksum=b9ca96448e14fa459d7450a4ab5a22bbf9cee4ba7adddf03e65c398b5daeea28
+
+do_check() {
+ # pytest is not supported
+ python3 -m unittest -b test/test.py
+}
From f66db6bac8801e40b532ef07c360b713fe28942c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:59:09 -0300
Subject: [PATCH 02/24] python3-BeautifulSoup4: update to 4.12.2.
---
srcpkgs/python3-BeautifulSoup4/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 882ea8a33214..25d104f6d0d4 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,18 +1,18 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.11.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3 python3-soupsieve"
-checkdepends="python3-pytest $depends"
+version=4.12.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-soupsieve"
+checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
-changelog="https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG"
+changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693
+checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
post_install() {
vlicense LICENSE
From 471089888f21761ccb04ffa9d119e93819151dda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:25:30 -0300
Subject: [PATCH 03/24] python3-bleach: update to 6.0.0.
---
srcpkgs/python3-bleach/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index aea09c368c1f..1a14acbfc21f 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,10 +1,10 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=4.1.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-six python3-webencodings python3-packaging"
+version=6.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six python3-webencodings"
checkdepends="python3-pytest $depends"
short_desc="Easy safelist-based HTML-sanitizing tool (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/mozilla/bleach"
changelog="https://raw.githubusercontent.com/mozilla/bleach/master/CHANGES"
distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
-checksum=0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da
+checksum=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
From 8d534099a3db1f1fa6acadf61008e1f4e4a81cdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:25:45 -0300
Subject: [PATCH 04/24] python3-comm: update to 0.1.3.
---
srcpkgs/python3-comm/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template
index 0bbba8dc0eda..29ebd5afd772 100644
--- a/srcpkgs/python3-comm/template
+++ b/srcpkgs/python3-comm/template
@@ -1,6 +1,6 @@
# Template file for 'python3-comm'
pkgname=python3-comm
-version=0.1.1
+version=0.1.3
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
@@ -10,8 +10,9 @@ short_desc="Python comm implementation for the Jupyter kernel protocol"
maintainer="dkwo <npiazza@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/comm/"
-distfiles="https://github.com/ipython/comm/archive/refs/tags/$version.tar.gz"
-checksum=2868dfd1e482b821a929d662bf3d89adeb8a091239bf1497187797fe9e4c12fa
+changelog="https://raw.githubusercontent.com/ipython/comm/main/CHANGELOG.md"
+distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz"
+checksum=9bdea650a6194bf1628b17c2668bf74bf5295c87a7528a8aa4fe4472904b26f2
post_install() {
vlicense LICENSE
From 111cf2452fda5199551f85c720cd8aad8289bda2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 10:28:43 -0300
Subject: [PATCH 05/24] python3-fastjsonschema: update to 2.17.1.
---
srcpkgs/python3-fastjsonschema/template | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template
index 7e4495b9456b..54fbdb6dde10 100644
--- a/srcpkgs/python3-fastjsonschema/template
+++ b/srcpkgs/python3-fastjsonschema/template
@@ -1,19 +1,18 @@
# Template file for 'python3-fastjsonschema'
pkgname=python3-fastjsonschema
-version=2.16.3
+version=2.17.1
revision=1
-build_style=python3-module
-make_check_args="--deselect tests/benchmarks/test_benchmark.py"
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-benchmark"
short_desc="Fastest Python implementation of JSON schema"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/horejsek/python-fastjsonschema"
changelog="https://raw.githubusercontent.com/horejsek/python-fastjsonschema/master/CHANGELOG.txt"
distfiles="https://github.com/horejsek/python-fastjsonschema/archive/refs/tags/v${version}.tar.gz"
-checksum=f9834e4994830942d58949043820024261dc22e2640bcf787391deb607cc91c6
+checksum=9295090b468152cea7a53c651a46d6a1afb83f0124f86c9a64da43fd3453a9f4
post_install() {
vlicense LICENSE
From 6ac3cf9cdf05ecdc1333672e1914bebe44f2e96f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:00:05 -0300
Subject: [PATCH 06/24] python3-jsonpointer: update to 2.3.
---
srcpkgs/python3-jsonpointer/template | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 1da8295d63fc..59b38c2228d6 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,18 +1,23 @@
# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
-version=2.0
-revision=6
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/stefankoegl/python-json-pointer"
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362
+checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
conflicts="python-jsonpointer>=0"
+do_check() {
+ # pytest is not supported
+ python3 tests.py
+}
+
post_install() {
vlicense LICENSE.txt LICENSE
}
From 2d51f0aed6bf7266a0a82eb749d960208a43b4df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:30:38 -0300
Subject: [PATCH 07/24] python3-nest_asyncio: update to 1.5.6.
---
srcpkgs/python3-nest_asyncio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
index 41981f82fc19..d0165041eb17 100644
--- a/srcpkgs/python3-nest_asyncio/template
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -1,9 +1,9 @@
# Template file for 'python3-nest_asyncio'
pkgname=python3-nest_asyncio
-version=1.5.4
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+version=1.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python asyncio patch to allow nested event loops"
@@ -11,7 +11,7 @@ maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/erdewit/nest_asyncio"
distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
-checksum=f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd
+checksum=d267cc1ff794403f7df692964d1d2a3fa9418ffea2a3f6859a439ff482fef290
post_install() {
vlicense LICENSE
From 2384acd350be1ad5ca1490bfd06e50ca2fc67490 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:08:30 -0300
Subject: [PATCH 08/24] python3-pyrsistent: update to 0.19.3.
---
srcpkgs/python3-pyrsistent/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
index 50ead293041f..d8e8578064ae 100644
--- a/srcpkgs/python3-pyrsistent/template
+++ b/srcpkgs/python3-pyrsistent/template
@@ -1,17 +1,18 @@
# Template file for 'python3-pyrsistent'
pkgname=python3-pyrsistent
-version=0.18.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel"
+version=0.19.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-devel"
depends="python3"
checkdepends="python3-pytest python3-hypothesis"
short_desc="Python persistent immutable data structures"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="MIT"
homepage="https://github.com/tobgu/pyrsistent/"
+changelog="https://raw.githubusercontent.com/tobgu/pyrsistent/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
-checksum=d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96
+checksum=1a2994773706bbb4995c31a97bc94f1418314923bd1048c6d964837040376440
post_install() {
vlicense LICENSE.mit LICENSE
From 0c8d18d78b7427580924a459950a0381cf599a9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:32:26 -0300
Subject: [PATCH 09/24] python3-tornado: update to 6.3.2.
---
srcpkgs/python3-tornado/template | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template
index 48c9e57b0bdb..bd8a8803689f 100644
--- a/srcpkgs/python3-tornado/template
+++ b/srcpkgs/python3-tornado/template
@@ -1,20 +1,32 @@
# Template file for 'python3-tornado'
pkgname=python3-tornado
-version=6.2
+version=6.3.2
revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3 ca-certificates"
+checkdepends="python3-curl python3-pycares python3-Twisted"
short_desc="Python3 web framework and asynchronous networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
+changelog="https://www.tornadoweb.org/en/stable/releases.html"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
-checksum=9b630419bde84ec666bfd7ea0a4cb2a8a651c2d5cccdbdd1972a0c859dfc3c13
-make_check=no # tests failing, already with 6.1
+checksum=4b927c4f19b71e627b13f3db2324e4ae660527143f9e1f2e2fb404f3a187e2ba
-pre_build() {
- # use system ca-certificates
- sed -i "/install_requires.append('certifi')/d" setup.py
+do_check() {
+ # There is one instance of test_bind_source_ip (the one for
+ # curl_httpclient_test.CurlHTTPClientCommonTestCase)
+ # which for some reason is taking a little bit over 5s
+ # (but only on x86_64-musl and only on CI).
+ #
+ # The default test timeout is 5s so the test times out and fails.
+ # See: https://github.com/void-linux/void-packages/pull/44312#issuecomment-1582361791
+ #
+ # Setting the timeout to 6 works around it.
+ local -x ASYNC_TEST_TIMEOUT=6
+
+ # pytest is not supported
+ python3 -m tornado.test
}
From 4c64ca1af1df2574b83b8819777c31496f4b35a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:03:16 -0300
Subject: [PATCH 10/24] New package: python3-strict-rfc3339-0.7
---
srcpkgs/python3-strict-rfc3339/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-strict-rfc3339/template
diff --git a/srcpkgs/python3-strict-rfc3339/template b/srcpkgs/python3-strict-rfc3339/template
new file mode 100644
index 000000000000..411d2e93535a
--- /dev/null
+++ b/srcpkgs/python3-strict-rfc3339/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-strict-rfc3339'
+pkgname=python3-strict-rfc3339
+version=0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Strict, simple, lightweight RFC3339 functions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="https://pypi.org/project/strict-rfc3339/"
+distfiles="${PYPI_SITE}/s/strict-rfc3339/strict-rfc3339-${version}.tar.gz"
+checksum=5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
+make_check=no # no tests available
From e61541e63ce433407098fc9ab42db72dcf75e233 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:09:32 -0300
Subject: [PATCH 11/24] New package: python3-rfc3339-validator-0.1.4
---
srcpkgs/python3-rfc3339-validator/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-rfc3339-validator/template
diff --git a/srcpkgs/python3-rfc3339-validator/template b/srcpkgs/python3-rfc3339-validator/template
new file mode 100644
index 000000000000..bc572b2f301a
--- /dev/null
+++ b/srcpkgs/python3-rfc3339-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3339-validator'
+pkgname=python3-rfc3339-validator
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six"
+checkdepends="$depends python3-hypothesis python3-pytest python3-strict-rfc3339"
+short_desc="Pure python RFC3339 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3339-validator"
+distfiles="${PYPI_SITE}/r/rfc3339-validator/rfc3339_validator-${version}.tar.gz"
+checksum=138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b
+
+post_install() {
+ vlicense LICENSE
+}
From 5e57ffcf1d2283e908f0a113ba640e5464e8d5f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:34:03 -0300
Subject: [PATCH 12/24] New package: python3-rfc3987-1.3.8
---
srcpkgs/python3-rfc3987/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-rfc3987/template
diff --git a/srcpkgs/python3-rfc3987/template b/srcpkgs/python3-rfc3987/template
new file mode 100644
index 000000000000..f25379e582b7
--- /dev/null
+++ b/srcpkgs/python3-rfc3987/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-rfc3987'
+pkgname=python3-rfc3987
+version=1.3.8
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="http://pypi.python.org/pypi/rfc3987"
+distfiles="${PYPI_SITE}/r/rfc3987/rfc3987-${version}.tar.gz"
+checksum=d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733
+make_check=no # no tests available
From 46b80159252782d500fc94f3723f48fd791cf45a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:22:20 -0300
Subject: [PATCH 13/24] New package: python3-rfc3986-validator-0.1.1
---
.../python3-rfc3986-validator/patches/3.patch | 40 +++++++++++++++++++
srcpkgs/python3-rfc3986-validator/template | 18 +++++++++
2 files changed, 58 insertions(+)
create mode 100644 srcpkgs/python3-rfc3986-validator/patches/3.patch
create mode 100644 srcpkgs/python3-rfc3986-validator/template
diff --git a/srcpkgs/python3-rfc3986-validator/patches/3.patch b/srcpkgs/python3-rfc3986-validator/patches/3.patch
new file mode 100644
index 000000000000..991662d5fb52
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/patches/3.patch
@@ -0,0 +1,40 @@
+From f34f482530170972947b259844d00830a15f81a4 Mon Sep 17 00:00:00 2001
+From: chedi toueiti <chedi.toueiti@gmail.com>
+Date: Tue, 12 Jul 2022 21:01:31 +0100
+Subject: [PATCH] Removing deprecated pytest-runner and adding missing test
+ dependencies
+
+---
+ setup.cfg | 5 +++++
+ setup.py | 4 ++--
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 21c0a34..db0c26b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -23,3 +23,8 @@ test = pytest
+ [tool:pytest]
+ collect_ignore = ['setup.py']
+
++[options.extras_require]
++test =
++ pytest >= 3
++ rfc3987
++ hypothesis
+diff --git a/setup.py b/setup.py
+index 53ebea7..1652285 100644
+--- a/setup.py
++++ b/setup.py
+@@ -10,9 +10,9 @@
+
+ requirements = []
+
+-setup_requirements = ['pytest-runner', ]
++setup_requirements = []
+
+-test_requirements = ['pytest>=3', ]
++test_requirements = []
+
+ setup(
+ author="Nicolas Aimetti",
diff --git a/srcpkgs/python3-rfc3986-validator/template b/srcpkgs/python3-rfc3986-validator/template
new file mode 100644
index 000000000000..fc402d543d14
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3986-validator'
+pkgname=python3-rfc3986-validator
+version=0.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest python3-hypothesis python3-rfc3987"
+short_desc="Pure python RFC3986 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3986-validator"
+distfiles="${PYPI_SITE}/r/rfc3986-validator/rfc3986_validator-${version}.tar.gz"
+checksum=3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
+
+post_install() {
+ vlicense LICENSE
+}
From 91acae8a469c4e0b0fc2054de8fad642be77533d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:34:09 -0300
Subject: [PATCH 14/24] python3-jsonschema: add rfc3339 and rfc3986 validators.
---
srcpkgs/python3-jsonschema/template | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 8ec7cef8d755..272eb06edbdd 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.17.3
-revision=1
+revision=2
build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug"
hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-pyrsistent"
+depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
+ python3-rfc3339-validator python3-rfc3986-validator"
checkdepends="${depends} python3-pytest python3-pip"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@@ -15,10 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
-pre_build() {
- export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
-}
-
post_install() {
vlicense COPYING LICENSE
}
From dd1ee3a85d4982c233d08a73ce0e6f055cdc842f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:31:37 -0300
Subject: [PATCH 15/24] New package: hatch-jupyter-builder-0.8.3
---
srcpkgs/hatch-jupyter-builder/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-jupyter-builder/template
diff --git a/srcpkgs/hatch-jupyter-builder/template b/srcpkgs/hatch-jupyter-builder/template
new file mode 100644
index 000000000000..674c221e1ebb
--- /dev/null
+++ b/srcpkgs/hatch-jupyter-builder/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-jupyter-builder'
+pkgname=hatch-jupyter-builder
+version=0.8.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest-mock python3-tomli"
+short_desc="Hatch plugin to help build Jupyter packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/hatch-jupyter-builder"
+changelog="https://raw.githubusercontent.com/jupyterlab/hatch-jupyter-builder/main/CHANGELOG.md"
+distfiles="https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v${version}.tar.gz"
+checksum=b167709e9bd196b3b92fe13a20b10c09cd30ca550759a9f06834378eb371af96
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 11dc5ed0a461acb764063f5c6e155c53bd936420 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 18:18:06 -0300
Subject: [PATCH 16/24] New package: hatch-nodejs-version-0.3.1
---
srcpkgs/hatch-nodejs-version/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-nodejs-version/template
diff --git a/srcpkgs/hatch-nodejs-version/template b/srcpkgs/hatch-nodejs-version/template
new file mode 100644
index 000000000000..389c85500bf2
--- /dev/null
+++ b/srcpkgs/hatch-nodejs-version/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-nodejs-version'
+pkgname=hatch-nodejs-version
+version=0.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest"
+short_desc="Hatch plugin to read pyproject.toml metadata from package.json"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/agoose77/hatch-nodejs-version"
+changelog="https://github.com/agoose77/hatch-nodejs-version/releases"
+distfiles="https://github.com/agoose77/hatch-nodejs-version/archive/refs/tags/v${version}.tar.gz"
+checksum=9959efbee3021dba4da7f8c152cacf104c746341ed176cd0488cbf3b45deba4d
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 9c3601ed6232c4837cbe010c5a9ead9957b1fb60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:56:29 -0300
Subject: [PATCH 17/24] New package: python3-json-logger-2.0.7
---
srcpkgs/python3-json-logger/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-json-logger/template
diff --git a/srcpkgs/python3-json-logger/template b/srcpkgs/python3-json-logger/template
new file mode 100644
index 000000000000..747a925d56f0
--- /dev/null
+++ b/srcpkgs/python3-json-logger/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-json-logger'
+pkgname=python3-json-logger
+version=2.0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Json Formatter for the standard python logger"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-2-Clause"
+homepage="https://github.com/madzak/python-json-logger"
+changelog="https://raw.githubusercontent.com/madzak/python-json-logger/master/CHANGELOG.md"
+distfiles="https://github.com/madzak/python-json-logger/archive/refs/tags/v${version}.tar.gz"
+checksum=1d743e5573642bed1a5698dbfa5fc1c2a8e076fea95212e67518bec940e43ec1
+
+post_install() {
+ vlicense LICENSE
+}
From edc403b8a997905e95a6b22d8f52d7a968005099 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:58:52 -0300
Subject: [PATCH 18/24] New package: python3-jupyter_packaging-0.12.3
---
.../patches/178.patch | 23 +++++++++++++++++++
srcpkgs/python3-jupyter_packaging/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-jupyter_packaging/patches/178.patch
create mode 100644 srcpkgs/python3-jupyter_packaging/template
diff --git a/srcpkgs/python3-jupyter_packaging/patches/178.patch b/srcpkgs/python3-jupyter_packaging/patches/178.patch
new file mode 100644
index 000000000000..a158454dbb73
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/patches/178.patch
@@ -0,0 +1,23 @@
+From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001
+From: Steven Silvester <steven.silvester@ieee.org>
+Date: Tue, 7 Mar 2023 10:47:22 -0600
+Subject: [PATCH] Ignore warning raised when importing
+ setuptools.command.develop
+
+---
+ pyproject.toml | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e4c1e27..b316257 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -81,5 +81,7 @@ filterwarnings= [
+ # Fail on warnings
+ "error",
+ # Ignore our own deprecation warnings.
+- "ignore:.*:deprecation.DeprecatedWarning"
++ "ignore:.*:deprecation.DeprecatedWarning",
++ # Ignore warning raised when importing setuptools.command.develop.
++ "ignore:pkg_resources is deprecated as an API:DeprecationWarning"
+ ]
diff --git a/srcpkgs/python3-jupyter_packaging/template b/srcpkgs/python3-jupyter_packaging/template
new file mode 100644
index 000000000000..8c064fb464c6
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_packaging'
+pkgname=python3-jupyter_packaging
+version=0.12.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-deprecation python3-packaging python3-setuptools
+ python3-tomlkit python3-wheel"
+checkdepends="$depends python3-pytest-timeout python3-pytest-mock"
+short_desc="Tools to help build and install Jupyter Python packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter/jupyter-packaging"
+changelog="https://raw.githubusercontent.com/jupyter/jupyter-packaging/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v${version}.tar.gz"
+checksum=3a326f3b4e8b7fea8b7abf775741996095a4caf13767a9c017e9f17043e591e0
+
+post_install() {
+ vlicense LICENSE
+}
From 2ddf33351b3883bcdb2941a9550007485d738203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 19:19:18 -0300
Subject: [PATCH 19/24] New package: python3-overrides-7.3.1
---
srcpkgs/python3-overrides/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-overrides/template
diff --git a/srcpkgs/python3-overrides/template b/srcpkgs/python3-overrides/template
new file mode 100644
index 000000000000..9c1b507e9240
--- /dev/null
+++ b/srcpkgs/python3-overrides/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-overrides'
+pkgname=python3-overrides
+version=7.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Decorator to automatically detect mismatch when overriding a method"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/mkorpela/overrides"
+changelog="https://github.com/mkorpela/overrides/releases"
+distfiles="https://github.com/mkorpela/overrides/archive/refs/tags/${version}.tar.gz"
+checksum=ff904c45a8a664aaeeac0a849f5097567d52a88c2324b12ad002c8b58e83625c
From e6d45ffa4611fc28589a571d79db2d948da0029d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 21:18:00 -0300
Subject: [PATCH 20/24] New package: python3-pathable-0.4.3
---
srcpkgs/python3-pathable/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pathable/template
diff --git a/srcpkgs/python3-pathable/template b/srcpkgs/python3-pathable/template
new file mode 100644
index 000000000000..70892d570eaa
--- /dev/null
+++ b/srcpkgs/python3-pathable/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pathable'
+pkgname=python3-pathable
+version=0.4.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+checkdepends="python3-pytest-cov python3-toml"
+short_desc="Object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/pathable"
+changelog="https://github.com/p1c2u/pathable/releases"
+distfiles="https://github.com/p1c2u/pathable/archive/refs/tags/${version}.tar.gz"
+checksum=eea76120e5fdc54f4e9b7bc5e24748d163cef61c3e60ed32675828ade141cf4b
From 18c6ac351afdd1c96aaec28d9f0000b69c9b5a2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:52:44 -0300
Subject: [PATCH 21/24] New package: python3-jsonschema-spec-0.1.4
---
srcpkgs/python3-jsonschema-spec/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-jsonschema-spec/template
diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
new file mode 100644
index 000000000000..2baf429eff08
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-jsonschema-spec'
+pkgname=python3-jsonschema-spec
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema python3-pathable python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="JSONSchema Spec with object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/jsonschema-spec"
+changelog="https://github.com/p1c2u/jsonschema-spec/releases"
+distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
+checksum=2a4ffb901ced9f37d86c64b29b9bfed72362e9cae82a319346ad234e434baf94
From 9c6d9e8dc9ce1b7fb2c71fbb28ec2873451ce0f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:39:45 -0300
Subject: [PATCH 22/24] New package: python3-openapi-schema-validator-0.4.4
---
.../python3-openapi-schema-validator/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-openapi-schema-validator/template
diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
new file mode 100644
index 000000000000..bb26e4a7d603
--- /dev/null
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-openapi-schema-validator'
+pkgname=python3-openapi-schema-validator
+version=0.4.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI schema validation for Python"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-schema-validator"
+changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
+checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+
+post_install() {
+ vlicense LICENSE
+}
From 0b519ada4b2a9f6bb81974d356cc173be86fd8a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:40:13 -0300
Subject: [PATCH 23/24] New package: python3-openapi-spec-validator-0.5.6
---
srcpkgs/python3-openapi-spec-validator/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-openapi-spec-validator/template
diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
new file mode 100644
index 000000000000..f1e9665a676a
--- /dev/null
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-openapi-spec-validator'
+pkgname=python3-openapi-spec-validator
+version=0.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema-spec python3-lazy-object-proxy
+ python3-openapi-schema-validator"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI spec validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/python-openapi/openapi-spec-validator"
+changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
+checksum=1189d0618ae0678ccf6c883cc1266d381454eece6f21fcf330cc7caea5fc25eb
From 2369b5a200852e358e136d1b08a415f9634303f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 01:38:55 -0300
Subject: [PATCH 24/24] New package: python3-openapi-core-0.17.1
---
srcpkgs/python3-openapi-core/template | 29 +++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 srcpkgs/python3-openapi-core/template
diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
new file mode 100644
index 000000000000..21c519c793c1
--- /dev/null
+++ b/srcpkgs/python3-openapi-core/template
@@ -0,0 +1,29 @@
+# Template file for 'python3-openapi-core'
+pkgname=python3-openapi-core
+version=0.17.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
+ python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
+ python3-responses python3-toml python3-WebOb"
+short_desc="Support for the OpenAPI Specification v3"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-core"
+changelog="https://github.com/python-openapi/openapi-core/releases"
+distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
+checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+
+# disable test files that need python packages not available
+make_check_args="
+ --ignore=tests/unit/contrib/django
+ --ignore=tests/integration/contrib/django
+ --ignore=tests/integration/contrib/falcon
+ --ignore=tests/integration/contrib/starlette
+ "
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] Updates to python packages needed for jupyter notebook and jupyterlab
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
` (2 preceding siblings ...)
2023-06-09 0:23 ` tornaria
@ 2023-06-10 15:33 ` tornaria
2023-06-10 15:39 ` tornaria
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tornaria @ 2023-06-10 15:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3352 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages jupyter-deps
https://github.com/void-linux/void-packages/pull/44312
Updates to python packages needed for jupyter notebook and jupyterlab
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Mostly taken from #44160, this updates or creates several python packages needed for jupyter packages:
- python3-argcomplete: update to 3.0.8. (check: traitlets)
- python3-BeautifulSoup4: update to 4.12.2. (dep: nbconvert)
- python3-bleach: update to 6.0.0. (dep: nbconvert)
- python3-comm: update to 0.1.3. (dep: ipykernel)
- python3-fastjsonschema: update to 2.17.1 (dep: nbformat)
- python3-jsonpointer: update to 2.3. (dep: jsonschema)
- python3-nest_asyncio: update to 1.5.6. (dep: ipykernel)
- python3-pyrsistent: update to 0.19.3. (dep: jsonschema)
- python3-tornado: update to 6.3.2. (dep: ipykernel)
- New package: python3-strict-rfc3339-0.7 (check: rfc3339-validator))
- New package: python3-rfc3339-validator-0.1.4 (dep: jsonschema)
- New package: python3-rfc3987 (check: rfc3986-validator)
- New package: python3-rfc3986-validator-0.1.1 (dep: jsonschema)
- python3-jsonschema: add validators (dep: nbformat)
- New package: hatch-jupyter-builder-0.8.3 (build: nbclassic)
- New package: hatch-nodejs-version-0.3.1 (build: nbformat)
- New package: python3-json-logger-2.0.7 (dep: jupyter_events)
- New package: python3-jupyter_packaging-0.12.3 (build: notebook)
- New package: python3-overrides-7.3.1 (dep: jupyter_server)
- New package: python3-pathable-0.4.3 (dep: jsonschema-spec)
- New package: python3-jsonschema-spec-0.1.4 (dep: openapi-spec-validator)
- New package: python3-openapi-schema-validator-0.4.4 (dep: openapi-spec-validator)
- New package: python3-openapi-spec-validator-0.5.6 (dep: openapi-core)
- New package: python3-openapi-core-0.17.1 (check: jupyterlab_server)
Some of these will be used only after #44160, either because updates to some jupyter package needs them for build or runtime, or because they are needed to check (and part of #44160 is making all jupyter packages testable in CI).
I think it may be easier to handle #44272 and this PR first, and let #44160 be more manageable.
Everything uses pep517 build style, and check is working for everything.
<!--
#### 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/44312.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-deps-44312.patch --]
[-- Type: text/x-diff, Size: 39302 bytes --]
From ab859bf61ca4f5a7f8aaa4f692149e87f4815850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 01:01:14 -0300
Subject: [PATCH 01/26] python3-argcomplete: update to 3.0.8.
---
srcpkgs/python3-argcomplete/template | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-argcomplete/template b/srcpkgs/python3-argcomplete/template
index abe32205b908..209ab8569635 100644
--- a/srcpkgs/python3-argcomplete/template
+++ b/srcpkgs/python3-argcomplete/template
@@ -1,13 +1,20 @@
# Template file for 'python3-argcomplete'
pkgname=python3-argcomplete
-version=3.0.5
+version=3.0.8
revision=1
build_style=python3-pep517
-hostmakedepends="python3-wheel"
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
+checkdepends="python3-pexpect python3-pip zsh"
short_desc="Bash tab completion for argparse"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/kislyuk/argcomplete"
+changelog="https://raw.githubusercontent.com/kislyuk/argcomplete/develop/Changes.rst"
distfiles="${PYPI_SITE}/a/argcomplete/argcomplete-${version}.tar.gz"
-checksum=fe3ce77125f434a0dd1bffe5f4643e64126d5731ce8d173d36f62fa43d6eb6f7
+checksum=b9ca96448e14fa459d7450a4ab5a22bbf9cee4ba7adddf03e65c398b5daeea28
+
+do_check() {
+ # pytest is not supported
+ python3 -m unittest -b test/test.py
+}
From 809c4cc1418bcfcf3f01fb256858c5a6c64762e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:59:09 -0300
Subject: [PATCH 02/26] python3-BeautifulSoup4: update to 4.12.2.
---
srcpkgs/python3-BeautifulSoup4/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 882ea8a33214..25d104f6d0d4 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,18 +1,18 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.11.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3 python3-soupsieve"
-checkdepends="python3-pytest $depends"
+version=4.12.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-soupsieve"
+checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
-changelog="https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG"
+changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693
+checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
post_install() {
vlicense LICENSE
From 62707d162c533570bcfd641d90edd3857ea3a615 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:25:30 -0300
Subject: [PATCH 03/26] python3-bleach: update to 6.0.0.
---
srcpkgs/python3-bleach/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index aea09c368c1f..1a14acbfc21f 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,10 +1,10 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=4.1.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-six python3-webencodings python3-packaging"
+version=6.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six python3-webencodings"
checkdepends="python3-pytest $depends"
short_desc="Easy safelist-based HTML-sanitizing tool (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/mozilla/bleach"
changelog="https://raw.githubusercontent.com/mozilla/bleach/master/CHANGES"
distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
-checksum=0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da
+checksum=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
From b90830586ac01a353528e72dd7bd0a1a8f800f9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:25:45 -0300
Subject: [PATCH 04/26] python3-comm: update to 0.1.3.
---
srcpkgs/python3-comm/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template
index 0bbba8dc0eda..29ebd5afd772 100644
--- a/srcpkgs/python3-comm/template
+++ b/srcpkgs/python3-comm/template
@@ -1,6 +1,6 @@
# Template file for 'python3-comm'
pkgname=python3-comm
-version=0.1.1
+version=0.1.3
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
@@ -10,8 +10,9 @@ short_desc="Python comm implementation for the Jupyter kernel protocol"
maintainer="dkwo <npiazza@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/comm/"
-distfiles="https://github.com/ipython/comm/archive/refs/tags/$version.tar.gz"
-checksum=2868dfd1e482b821a929d662bf3d89adeb8a091239bf1497187797fe9e4c12fa
+changelog="https://raw.githubusercontent.com/ipython/comm/main/CHANGELOG.md"
+distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz"
+checksum=9bdea650a6194bf1628b17c2668bf74bf5295c87a7528a8aa4fe4472904b26f2
post_install() {
vlicense LICENSE
From f62c0f6b8f581c943280441f17f124370d5ec8ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 10:28:43 -0300
Subject: [PATCH 05/26] python3-fastjsonschema: update to 2.17.1.
---
srcpkgs/python3-fastjsonschema/template | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template
index 7e4495b9456b..54fbdb6dde10 100644
--- a/srcpkgs/python3-fastjsonschema/template
+++ b/srcpkgs/python3-fastjsonschema/template
@@ -1,19 +1,18 @@
# Template file for 'python3-fastjsonschema'
pkgname=python3-fastjsonschema
-version=2.16.3
+version=2.17.1
revision=1
-build_style=python3-module
-make_check_args="--deselect tests/benchmarks/test_benchmark.py"
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-benchmark"
short_desc="Fastest Python implementation of JSON schema"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/horejsek/python-fastjsonschema"
changelog="https://raw.githubusercontent.com/horejsek/python-fastjsonschema/master/CHANGELOG.txt"
distfiles="https://github.com/horejsek/python-fastjsonschema/archive/refs/tags/v${version}.tar.gz"
-checksum=f9834e4994830942d58949043820024261dc22e2640bcf787391deb607cc91c6
+checksum=9295090b468152cea7a53c651a46d6a1afb83f0124f86c9a64da43fd3453a9f4
post_install() {
vlicense LICENSE
From 1fdb23a8882f04076fed1a44ebc462be1fce7a26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:00:05 -0300
Subject: [PATCH 06/26] python3-jsonpointer: update to 2.3.
---
srcpkgs/python3-jsonpointer/template | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 1da8295d63fc..59b38c2228d6 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,18 +1,23 @@
# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
-version=2.0
-revision=6
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/stefankoegl/python-json-pointer"
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362
+checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
conflicts="python-jsonpointer>=0"
+do_check() {
+ # pytest is not supported
+ python3 tests.py
+}
+
post_install() {
vlicense LICENSE.txt LICENSE
}
From 1c5efd68f6597f289965586c4ea7ef6b291bded7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:30:38 -0300
Subject: [PATCH 07/26] python3-nest_asyncio: update to 1.5.6.
---
srcpkgs/python3-nest_asyncio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
index 41981f82fc19..d0165041eb17 100644
--- a/srcpkgs/python3-nest_asyncio/template
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -1,9 +1,9 @@
# Template file for 'python3-nest_asyncio'
pkgname=python3-nest_asyncio
-version=1.5.4
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+version=1.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python asyncio patch to allow nested event loops"
@@ -11,7 +11,7 @@ maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/erdewit/nest_asyncio"
distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
-checksum=f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd
+checksum=d267cc1ff794403f7df692964d1d2a3fa9418ffea2a3f6859a439ff482fef290
post_install() {
vlicense LICENSE
From fdec5a9f298045840ea62fe5bfdc2575d7bb08b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:08:30 -0300
Subject: [PATCH 08/26] python3-pyrsistent: update to 0.19.3.
---
srcpkgs/python3-pyrsistent/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
index 50ead293041f..d8e8578064ae 100644
--- a/srcpkgs/python3-pyrsistent/template
+++ b/srcpkgs/python3-pyrsistent/template
@@ -1,17 +1,18 @@
# Template file for 'python3-pyrsistent'
pkgname=python3-pyrsistent
-version=0.18.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel"
+version=0.19.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-devel"
depends="python3"
checkdepends="python3-pytest python3-hypothesis"
short_desc="Python persistent immutable data structures"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="MIT"
homepage="https://github.com/tobgu/pyrsistent/"
+changelog="https://raw.githubusercontent.com/tobgu/pyrsistent/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
-checksum=d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96
+checksum=1a2994773706bbb4995c31a97bc94f1418314923bd1048c6d964837040376440
post_install() {
vlicense LICENSE.mit LICENSE
From cdff07aff3fcaa591b50d294566f0dc13cb45a85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:32:26 -0300
Subject: [PATCH 09/26] python3-tornado: update to 6.3.2.
---
srcpkgs/python3-tornado/template | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template
index 48c9e57b0bdb..bd8a8803689f 100644
--- a/srcpkgs/python3-tornado/template
+++ b/srcpkgs/python3-tornado/template
@@ -1,20 +1,32 @@
# Template file for 'python3-tornado'
pkgname=python3-tornado
-version=6.2
+version=6.3.2
revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3 ca-certificates"
+checkdepends="python3-curl python3-pycares python3-Twisted"
short_desc="Python3 web framework and asynchronous networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
+changelog="https://www.tornadoweb.org/en/stable/releases.html"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
-checksum=9b630419bde84ec666bfd7ea0a4cb2a8a651c2d5cccdbdd1972a0c859dfc3c13
-make_check=no # tests failing, already with 6.1
+checksum=4b927c4f19b71e627b13f3db2324e4ae660527143f9e1f2e2fb404f3a187e2ba
-pre_build() {
- # use system ca-certificates
- sed -i "/install_requires.append('certifi')/d" setup.py
+do_check() {
+ # There is one instance of test_bind_source_ip (the one for
+ # curl_httpclient_test.CurlHTTPClientCommonTestCase)
+ # which for some reason is taking a little bit over 5s
+ # (but only on x86_64-musl and only on CI).
+ #
+ # The default test timeout is 5s so the test times out and fails.
+ # See: https://github.com/void-linux/void-packages/pull/44312#issuecomment-1582361791
+ #
+ # Setting the timeout to 6 works around it.
+ local -x ASYNC_TEST_TIMEOUT=6
+
+ # pytest is not supported
+ python3 -m tornado.test
}
From ab69e7d045dc8b831460eb66491a36090c56a790 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:03:16 -0300
Subject: [PATCH 10/26] New package: python3-strict-rfc3339-0.7
---
srcpkgs/python3-strict-rfc3339/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-strict-rfc3339/template
diff --git a/srcpkgs/python3-strict-rfc3339/template b/srcpkgs/python3-strict-rfc3339/template
new file mode 100644
index 000000000000..411d2e93535a
--- /dev/null
+++ b/srcpkgs/python3-strict-rfc3339/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-strict-rfc3339'
+pkgname=python3-strict-rfc3339
+version=0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Strict, simple, lightweight RFC3339 functions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="https://pypi.org/project/strict-rfc3339/"
+distfiles="${PYPI_SITE}/s/strict-rfc3339/strict-rfc3339-${version}.tar.gz"
+checksum=5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
+make_check=no # no tests available
From f76db20c69adf2fbb19c724b790e61a477d1dc02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:09:32 -0300
Subject: [PATCH 11/26] New package: python3-rfc3339-validator-0.1.4
---
srcpkgs/python3-rfc3339-validator/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-rfc3339-validator/template
diff --git a/srcpkgs/python3-rfc3339-validator/template b/srcpkgs/python3-rfc3339-validator/template
new file mode 100644
index 000000000000..bc572b2f301a
--- /dev/null
+++ b/srcpkgs/python3-rfc3339-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3339-validator'
+pkgname=python3-rfc3339-validator
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six"
+checkdepends="$depends python3-hypothesis python3-pytest python3-strict-rfc3339"
+short_desc="Pure python RFC3339 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3339-validator"
+distfiles="${PYPI_SITE}/r/rfc3339-validator/rfc3339_validator-${version}.tar.gz"
+checksum=138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b
+
+post_install() {
+ vlicense LICENSE
+}
From f6df75d81b27677c45099e2f34fc2f891cda023f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:34:03 -0300
Subject: [PATCH 12/26] New package: python3-rfc3987-1.3.8
---
srcpkgs/python3-rfc3987/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-rfc3987/template
diff --git a/srcpkgs/python3-rfc3987/template b/srcpkgs/python3-rfc3987/template
new file mode 100644
index 000000000000..f25379e582b7
--- /dev/null
+++ b/srcpkgs/python3-rfc3987/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-rfc3987'
+pkgname=python3-rfc3987
+version=1.3.8
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="http://pypi.python.org/pypi/rfc3987"
+distfiles="${PYPI_SITE}/r/rfc3987/rfc3987-${version}.tar.gz"
+checksum=d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733
+make_check=no # no tests available
From 1361f9e366273a00f278803f448909ab7a307f90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:22:20 -0300
Subject: [PATCH 13/26] New package: python3-rfc3986-validator-0.1.1
---
.../python3-rfc3986-validator/patches/3.patch | 40 +++++++++++++++++++
srcpkgs/python3-rfc3986-validator/template | 18 +++++++++
2 files changed, 58 insertions(+)
create mode 100644 srcpkgs/python3-rfc3986-validator/patches/3.patch
create mode 100644 srcpkgs/python3-rfc3986-validator/template
diff --git a/srcpkgs/python3-rfc3986-validator/patches/3.patch b/srcpkgs/python3-rfc3986-validator/patches/3.patch
new file mode 100644
index 000000000000..991662d5fb52
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/patches/3.patch
@@ -0,0 +1,40 @@
+From f34f482530170972947b259844d00830a15f81a4 Mon Sep 17 00:00:00 2001
+From: chedi toueiti <chedi.toueiti@gmail.com>
+Date: Tue, 12 Jul 2022 21:01:31 +0100
+Subject: [PATCH] Removing deprecated pytest-runner and adding missing test
+ dependencies
+
+---
+ setup.cfg | 5 +++++
+ setup.py | 4 ++--
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 21c0a34..db0c26b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -23,3 +23,8 @@ test = pytest
+ [tool:pytest]
+ collect_ignore = ['setup.py']
+
++[options.extras_require]
++test =
++ pytest >= 3
++ rfc3987
++ hypothesis
+diff --git a/setup.py b/setup.py
+index 53ebea7..1652285 100644
+--- a/setup.py
++++ b/setup.py
+@@ -10,9 +10,9 @@
+
+ requirements = []
+
+-setup_requirements = ['pytest-runner', ]
++setup_requirements = []
+
+-test_requirements = ['pytest>=3', ]
++test_requirements = []
+
+ setup(
+ author="Nicolas Aimetti",
diff --git a/srcpkgs/python3-rfc3986-validator/template b/srcpkgs/python3-rfc3986-validator/template
new file mode 100644
index 000000000000..fc402d543d14
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3986-validator'
+pkgname=python3-rfc3986-validator
+version=0.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest python3-hypothesis python3-rfc3987"
+short_desc="Pure python RFC3986 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3986-validator"
+distfiles="${PYPI_SITE}/r/rfc3986-validator/rfc3986_validator-${version}.tar.gz"
+checksum=3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
+
+post_install() {
+ vlicense LICENSE
+}
From 1a7130519105b9e018e01d885b34408ce26e0f3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:34:09 -0300
Subject: [PATCH 14/26] python3-jsonschema: add rfc3339 and rfc3986 validators.
---
srcpkgs/python3-jsonschema/template | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 8ec7cef8d755..272eb06edbdd 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.17.3
-revision=1
+revision=2
build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug"
hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-pyrsistent"
+depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
+ python3-rfc3339-validator python3-rfc3986-validator"
checkdepends="${depends} python3-pytest python3-pip"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@@ -15,10 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
-pre_build() {
- export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
-}
-
post_install() {
vlicense COPYING LICENSE
}
From ebd2c5b1e1ee400fd2551b41ea64cb1a47ce6364 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:31:37 -0300
Subject: [PATCH 15/26] New package: hatch-jupyter-builder-0.8.3
---
srcpkgs/hatch-jupyter-builder/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-jupyter-builder/template
diff --git a/srcpkgs/hatch-jupyter-builder/template b/srcpkgs/hatch-jupyter-builder/template
new file mode 100644
index 000000000000..674c221e1ebb
--- /dev/null
+++ b/srcpkgs/hatch-jupyter-builder/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-jupyter-builder'
+pkgname=hatch-jupyter-builder
+version=0.8.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest-mock python3-tomli"
+short_desc="Hatch plugin to help build Jupyter packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/hatch-jupyter-builder"
+changelog="https://raw.githubusercontent.com/jupyterlab/hatch-jupyter-builder/main/CHANGELOG.md"
+distfiles="https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v${version}.tar.gz"
+checksum=b167709e9bd196b3b92fe13a20b10c09cd30ca550759a9f06834378eb371af96
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 582f2b4f86a693044d62da6ee1c3d95e3bdaafaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 18:18:06 -0300
Subject: [PATCH 16/26] New package: hatch-nodejs-version-0.3.1
---
srcpkgs/hatch-nodejs-version/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-nodejs-version/template
diff --git a/srcpkgs/hatch-nodejs-version/template b/srcpkgs/hatch-nodejs-version/template
new file mode 100644
index 000000000000..389c85500bf2
--- /dev/null
+++ b/srcpkgs/hatch-nodejs-version/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-nodejs-version'
+pkgname=hatch-nodejs-version
+version=0.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest"
+short_desc="Hatch plugin to read pyproject.toml metadata from package.json"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/agoose77/hatch-nodejs-version"
+changelog="https://github.com/agoose77/hatch-nodejs-version/releases"
+distfiles="https://github.com/agoose77/hatch-nodejs-version/archive/refs/tags/v${version}.tar.gz"
+checksum=9959efbee3021dba4da7f8c152cacf104c746341ed176cd0488cbf3b45deba4d
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 7dc2c1d593581b8e2426cb594bd6cf69d8d48bd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 28 May 2023 00:07:40 -0300
Subject: [PATCH 17/26] New package: python3-async-lru-2.0.2
---
srcpkgs/python3-async-lru/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-async-lru/template
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
new file mode 100644
index 000000000000..0aacd0f0b07e
--- /dev/null
+++ b/srcpkgs/python3-async-lru/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-async-lru'
+pkgname=python3-async-lru
+version=2.0.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3-typing_extensions"
+checkdepends="$depends python3-pytest-asyncio python3-pytest-cov
+ python3-pytest-timeout"
+short_desc="Simple LRU cache for asyncio"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/aio-libs/async-lru"
+#changelog=""
+distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
+checksum=3b87ec4f2460c52cc7916a0138cc606b584c75d1ef7d661853c95d1d3acb869a
+
+post_install() {
+ vlicense LICENSE
+}
From 2fb4e2fde8a58cc9a972565f835dc98c1c8760d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:56:29 -0300
Subject: [PATCH 18/26] New package: python3-json-logger-2.0.7
---
srcpkgs/python3-json-logger/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-json-logger/template
diff --git a/srcpkgs/python3-json-logger/template b/srcpkgs/python3-json-logger/template
new file mode 100644
index 000000000000..747a925d56f0
--- /dev/null
+++ b/srcpkgs/python3-json-logger/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-json-logger'
+pkgname=python3-json-logger
+version=2.0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Json Formatter for the standard python logger"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-2-Clause"
+homepage="https://github.com/madzak/python-json-logger"
+changelog="https://raw.githubusercontent.com/madzak/python-json-logger/master/CHANGELOG.md"
+distfiles="https://github.com/madzak/python-json-logger/archive/refs/tags/v${version}.tar.gz"
+checksum=1d743e5573642bed1a5698dbfa5fc1c2a8e076fea95212e67518bec940e43ec1
+
+post_install() {
+ vlicense LICENSE
+}
From 87c8d43b11e904b6f41ffae959bec893363a5125 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:58:52 -0300
Subject: [PATCH 19/26] New package: python3-jupyter_packaging-0.12.3
---
.../patches/178.patch | 23 +++++++++++++++++++
srcpkgs/python3-jupyter_packaging/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-jupyter_packaging/patches/178.patch
create mode 100644 srcpkgs/python3-jupyter_packaging/template
diff --git a/srcpkgs/python3-jupyter_packaging/patches/178.patch b/srcpkgs/python3-jupyter_packaging/patches/178.patch
new file mode 100644
index 000000000000..a158454dbb73
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/patches/178.patch
@@ -0,0 +1,23 @@
+From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001
+From: Steven Silvester <steven.silvester@ieee.org>
+Date: Tue, 7 Mar 2023 10:47:22 -0600
+Subject: [PATCH] Ignore warning raised when importing
+ setuptools.command.develop
+
+---
+ pyproject.toml | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e4c1e27..b316257 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -81,5 +81,7 @@ filterwarnings= [
+ # Fail on warnings
+ "error",
+ # Ignore our own deprecation warnings.
+- "ignore:.*:deprecation.DeprecatedWarning"
++ "ignore:.*:deprecation.DeprecatedWarning",
++ # Ignore warning raised when importing setuptools.command.develop.
++ "ignore:pkg_resources is deprecated as an API:DeprecationWarning"
+ ]
diff --git a/srcpkgs/python3-jupyter_packaging/template b/srcpkgs/python3-jupyter_packaging/template
new file mode 100644
index 000000000000..8c064fb464c6
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_packaging'
+pkgname=python3-jupyter_packaging
+version=0.12.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-deprecation python3-packaging python3-setuptools
+ python3-tomlkit python3-wheel"
+checkdepends="$depends python3-pytest-timeout python3-pytest-mock"
+short_desc="Tools to help build and install Jupyter Python packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter/jupyter-packaging"
+changelog="https://raw.githubusercontent.com/jupyter/jupyter-packaging/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v${version}.tar.gz"
+checksum=3a326f3b4e8b7fea8b7abf775741996095a4caf13767a9c017e9f17043e591e0
+
+post_install() {
+ vlicense LICENSE
+}
From c314686e243057722d54518fb4471cf8bceecdaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 19:19:18 -0300
Subject: [PATCH 20/26] New package: python3-overrides-7.3.1
---
srcpkgs/python3-overrides/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-overrides/template
diff --git a/srcpkgs/python3-overrides/template b/srcpkgs/python3-overrides/template
new file mode 100644
index 000000000000..9c1b507e9240
--- /dev/null
+++ b/srcpkgs/python3-overrides/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-overrides'
+pkgname=python3-overrides
+version=7.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Decorator to automatically detect mismatch when overriding a method"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/mkorpela/overrides"
+changelog="https://github.com/mkorpela/overrides/releases"
+distfiles="https://github.com/mkorpela/overrides/archive/refs/tags/${version}.tar.gz"
+checksum=ff904c45a8a664aaeeac0a849f5097567d52a88c2324b12ad002c8b58e83625c
From 6a6f91c8e09566556edbe6ca451f486a09cbc4a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 21:18:00 -0300
Subject: [PATCH 21/26] New package: python3-pathable-0.4.3
---
srcpkgs/python3-pathable/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pathable/template
diff --git a/srcpkgs/python3-pathable/template b/srcpkgs/python3-pathable/template
new file mode 100644
index 000000000000..70892d570eaa
--- /dev/null
+++ b/srcpkgs/python3-pathable/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pathable'
+pkgname=python3-pathable
+version=0.4.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+checkdepends="python3-pytest-cov python3-toml"
+short_desc="Object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/pathable"
+changelog="https://github.com/p1c2u/pathable/releases"
+distfiles="https://github.com/p1c2u/pathable/archive/refs/tags/${version}.tar.gz"
+checksum=eea76120e5fdc54f4e9b7bc5e24748d163cef61c3e60ed32675828ade141cf4b
From 13190a757d13dd7351e75486334a3f0a9f274eb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:52:44 -0300
Subject: [PATCH 22/26] New package: python3-jsonschema-spec-0.1.4
---
srcpkgs/python3-jsonschema-spec/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-jsonschema-spec/template
diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
new file mode 100644
index 000000000000..2baf429eff08
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-jsonschema-spec'
+pkgname=python3-jsonschema-spec
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema python3-pathable python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="JSONSchema Spec with object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/jsonschema-spec"
+changelog="https://github.com/p1c2u/jsonschema-spec/releases"
+distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
+checksum=2a4ffb901ced9f37d86c64b29b9bfed72362e9cae82a319346ad234e434baf94
From 45301509dc8fa93987ccf9b637753e7282a5de34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:39:45 -0300
Subject: [PATCH 23/26] New package: python3-openapi-schema-validator-0.4.4
---
.../python3-openapi-schema-validator/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-openapi-schema-validator/template
diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
new file mode 100644
index 000000000000..bb26e4a7d603
--- /dev/null
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-openapi-schema-validator'
+pkgname=python3-openapi-schema-validator
+version=0.4.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI schema validation for Python"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-schema-validator"
+changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
+checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+
+post_install() {
+ vlicense LICENSE
+}
From ce1d9be015b8670e7954cf097ed0588cc9f44017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:40:13 -0300
Subject: [PATCH 24/26] New package: python3-openapi-spec-validator-0.5.6
---
srcpkgs/python3-openapi-spec-validator/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-openapi-spec-validator/template
diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
new file mode 100644
index 000000000000..f1e9665a676a
--- /dev/null
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-openapi-spec-validator'
+pkgname=python3-openapi-spec-validator
+version=0.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema-spec python3-lazy-object-proxy
+ python3-openapi-schema-validator"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI spec validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/python-openapi/openapi-spec-validator"
+changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
+checksum=1189d0618ae0678ccf6c883cc1266d381454eece6f21fcf330cc7caea5fc25eb
From f6e304788e52c8f9b8f277796449e7ded595e07a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 01:38:55 -0300
Subject: [PATCH 25/26] New package: python3-openapi-core-0.17.1
---
srcpkgs/python3-openapi-core/template | 29 +++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 srcpkgs/python3-openapi-core/template
diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
new file mode 100644
index 000000000000..21c519c793c1
--- /dev/null
+++ b/srcpkgs/python3-openapi-core/template
@@ -0,0 +1,29 @@
+# Template file for 'python3-openapi-core'
+pkgname=python3-openapi-core
+version=0.17.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
+ python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
+ python3-responses python3-toml python3-WebOb"
+short_desc="Support for the OpenAPI Specification v3"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-core"
+changelog="https://github.com/python-openapi/openapi-core/releases"
+distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
+checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+
+# disable test files that need python packages not available
+make_check_args="
+ --ignore=tests/unit/contrib/django
+ --ignore=tests/integration/contrib/django
+ --ignore=tests/integration/contrib/falcon
+ --ignore=tests/integration/contrib/starlette
+ "
+
+post_install() {
+ vlicense LICENSE
+}
From 4d55dde268c93a9963c61e2ca9038a32e0d2be6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 21:11:54 -0300
Subject: [PATCH 26/26] New package: python3-pep440-0.1.2
---
srcpkgs/python3-pep440/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/python3-pep440/template
diff --git a/srcpkgs/python3-pep440/template b/srcpkgs/python3-pep440/template
new file mode 100644
index 000000000000..3048d03ae671
--- /dev/null
+++ b/srcpkgs/python3-pep440/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pep440'
+pkgname=python3-pep440
+version=0.1.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+checkdepends="python3-pytest-console-scripts"
+short_desc="Utils to check whether version numbers match PEP 440"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/Carreau/pep440"
+distfiles="https://github.com/Carreau/pep440/archive/refs/tags/${version}.tar.gz"
+checksum=4f38145d7b71aad9743b3f4aec6338a2dad4010a14a223493bf0b3b7b99027ef
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Updates to python packages needed for jupyter notebook and jupyterlab
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
` (3 preceding siblings ...)
2023-06-10 15:33 ` tornaria
@ 2023-06-10 15:39 ` tornaria
2023-06-10 16:14 ` [PR PATCH] [Updated] " tornaria
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tornaria @ 2023-06-10 15:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/44312#issuecomment-1585708990
Comment:
Rebased after #44272 to check with updated python test packages.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] Updates to python packages needed for jupyter notebook and jupyterlab
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
` (4 preceding siblings ...)
2023-06-10 15:39 ` tornaria
@ 2023-06-10 16:14 ` tornaria
2023-06-12 20:50 ` tornaria
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tornaria @ 2023-06-10 16:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3467 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages jupyter-deps
https://github.com/void-linux/void-packages/pull/44312
Updates to python packages needed for jupyter notebook and jupyterlab
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Mostly taken from #44160, this updates or creates several python packages needed for jupyter packages:
- python3-argcomplete: update to 3.0.8. (check: traitlets)
- python3-BeautifulSoup4: update to 4.12.2. (dep: nbconvert)
- python3-bleach: update to 6.0.0. (dep: nbconvert)
- python3-comm: update to 0.1.3. (dep: ipykernel)
- python3-fastjsonschema: update to 2.17.1 (dep: nbformat)
- python3-jsonpointer: update to 2.3. (dep: jsonschema)
- python3-nest_asyncio: update to 1.5.6. (dep: ipykernel)
- python3-pyrsistent: update to 0.19.3. (dep: jsonschema)
- python3-tornado: update to 6.3.2. (dep: ipykernel)
- New package: python3-strict-rfc3339-0.7 (check: rfc3339-validator))
- New package: python3-rfc3339-validator-0.1.4 (dep: jsonschema)
- New package: python3-rfc3987 (check: rfc3986-validator)
- New package: python3-rfc3986-validator-0.1.1 (dep: jsonschema)
- python3-jsonschema: add validators (dep: nbformat)
- New package: hatch-jupyter-builder-0.8.3 (build: nbclassic)
- New package: hatch-nodejs-version-0.3.1 (build: nbformat)
- New package: python3-async-lru-2.0.2 (dep: jupyterlab)
- New package: python3-json-logger-2.0.7 (dep: jupyter_events)
- New package: python3-jupyter_packaging-0.12.3 (build: notebook)
- New package: python3-overrides-7.3.1 (dep: jupyter_server)
- New package: python3-pathable-0.4.3 (dep: jsonschema-spec)
- New package: python3-jsonschema-spec-0.1.4 (dep: openapi-spec-validator)
- New package: python3-openapi-schema-validator-0.4.4 (dep: openapi-spec-validator)
- New package: python3-openapi-spec-validator-0.5.6 (dep: openapi-core)
- New package: python3-openapi-core-0.17.1 (check: jupyterlab_server)
- New package: python3-pep440-0.1.2 (check: nbformat)
Some of these will be used only after #44160, either because updates to some jupyter package needs them for build or runtime, or because they are needed to check (and part of #44160 is making all jupyter packages testable in CI).
I think it may be easier to handle #44272 and this PR first, and let #44160 be more manageable.
Everything uses pep517 build style, and check is working for everything.
<!--
#### 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/44312.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-deps-44312.patch --]
[-- Type: text/x-diff, Size: 40260 bytes --]
From ab859bf61ca4f5a7f8aaa4f692149e87f4815850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 01:01:14 -0300
Subject: [PATCH 01/27] python3-argcomplete: update to 3.0.8.
---
srcpkgs/python3-argcomplete/template | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-argcomplete/template b/srcpkgs/python3-argcomplete/template
index abe32205b908..209ab8569635 100644
--- a/srcpkgs/python3-argcomplete/template
+++ b/srcpkgs/python3-argcomplete/template
@@ -1,13 +1,20 @@
# Template file for 'python3-argcomplete'
pkgname=python3-argcomplete
-version=3.0.5
+version=3.0.8
revision=1
build_style=python3-pep517
-hostmakedepends="python3-wheel"
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
+checkdepends="python3-pexpect python3-pip zsh"
short_desc="Bash tab completion for argparse"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/kislyuk/argcomplete"
+changelog="https://raw.githubusercontent.com/kislyuk/argcomplete/develop/Changes.rst"
distfiles="${PYPI_SITE}/a/argcomplete/argcomplete-${version}.tar.gz"
-checksum=fe3ce77125f434a0dd1bffe5f4643e64126d5731ce8d173d36f62fa43d6eb6f7
+checksum=b9ca96448e14fa459d7450a4ab5a22bbf9cee4ba7adddf03e65c398b5daeea28
+
+do_check() {
+ # pytest is not supported
+ python3 -m unittest -b test/test.py
+}
From 809c4cc1418bcfcf3f01fb256858c5a6c64762e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:59:09 -0300
Subject: [PATCH 02/27] python3-BeautifulSoup4: update to 4.12.2.
---
srcpkgs/python3-BeautifulSoup4/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 882ea8a33214..25d104f6d0d4 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,18 +1,18 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.11.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3 python3-soupsieve"
-checkdepends="python3-pytest $depends"
+version=4.12.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-soupsieve"
+checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
-changelog="https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG"
+changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693
+checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
post_install() {
vlicense LICENSE
From 62707d162c533570bcfd641d90edd3857ea3a615 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:25:30 -0300
Subject: [PATCH 03/27] python3-bleach: update to 6.0.0.
---
srcpkgs/python3-bleach/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index aea09c368c1f..1a14acbfc21f 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,10 +1,10 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=4.1.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-six python3-webencodings python3-packaging"
+version=6.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six python3-webencodings"
checkdepends="python3-pytest $depends"
short_desc="Easy safelist-based HTML-sanitizing tool (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/mozilla/bleach"
changelog="https://raw.githubusercontent.com/mozilla/bleach/master/CHANGES"
distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
-checksum=0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da
+checksum=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
From b90830586ac01a353528e72dd7bd0a1a8f800f9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:25:45 -0300
Subject: [PATCH 04/27] python3-comm: update to 0.1.3.
---
srcpkgs/python3-comm/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template
index 0bbba8dc0eda..29ebd5afd772 100644
--- a/srcpkgs/python3-comm/template
+++ b/srcpkgs/python3-comm/template
@@ -1,6 +1,6 @@
# Template file for 'python3-comm'
pkgname=python3-comm
-version=0.1.1
+version=0.1.3
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
@@ -10,8 +10,9 @@ short_desc="Python comm implementation for the Jupyter kernel protocol"
maintainer="dkwo <npiazza@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/comm/"
-distfiles="https://github.com/ipython/comm/archive/refs/tags/$version.tar.gz"
-checksum=2868dfd1e482b821a929d662bf3d89adeb8a091239bf1497187797fe9e4c12fa
+changelog="https://raw.githubusercontent.com/ipython/comm/main/CHANGELOG.md"
+distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz"
+checksum=9bdea650a6194bf1628b17c2668bf74bf5295c87a7528a8aa4fe4472904b26f2
post_install() {
vlicense LICENSE
From f62c0f6b8f581c943280441f17f124370d5ec8ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 10:28:43 -0300
Subject: [PATCH 05/27] python3-fastjsonschema: update to 2.17.1.
---
srcpkgs/python3-fastjsonschema/template | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template
index 7e4495b9456b..54fbdb6dde10 100644
--- a/srcpkgs/python3-fastjsonschema/template
+++ b/srcpkgs/python3-fastjsonschema/template
@@ -1,19 +1,18 @@
# Template file for 'python3-fastjsonschema'
pkgname=python3-fastjsonschema
-version=2.16.3
+version=2.17.1
revision=1
-build_style=python3-module
-make_check_args="--deselect tests/benchmarks/test_benchmark.py"
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-benchmark"
short_desc="Fastest Python implementation of JSON schema"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/horejsek/python-fastjsonschema"
changelog="https://raw.githubusercontent.com/horejsek/python-fastjsonschema/master/CHANGELOG.txt"
distfiles="https://github.com/horejsek/python-fastjsonschema/archive/refs/tags/v${version}.tar.gz"
-checksum=f9834e4994830942d58949043820024261dc22e2640bcf787391deb607cc91c6
+checksum=9295090b468152cea7a53c651a46d6a1afb83f0124f86c9a64da43fd3453a9f4
post_install() {
vlicense LICENSE
From 1fdb23a8882f04076fed1a44ebc462be1fce7a26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:00:05 -0300
Subject: [PATCH 06/27] python3-jsonpointer: update to 2.3.
---
srcpkgs/python3-jsonpointer/template | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 1da8295d63fc..59b38c2228d6 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,18 +1,23 @@
# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
-version=2.0
-revision=6
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/stefankoegl/python-json-pointer"
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362
+checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
conflicts="python-jsonpointer>=0"
+do_check() {
+ # pytest is not supported
+ python3 tests.py
+}
+
post_install() {
vlicense LICENSE.txt LICENSE
}
From 1c5efd68f6597f289965586c4ea7ef6b291bded7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:30:38 -0300
Subject: [PATCH 07/27] python3-nest_asyncio: update to 1.5.6.
---
srcpkgs/python3-nest_asyncio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
index 41981f82fc19..d0165041eb17 100644
--- a/srcpkgs/python3-nest_asyncio/template
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -1,9 +1,9 @@
# Template file for 'python3-nest_asyncio'
pkgname=python3-nest_asyncio
-version=1.5.4
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+version=1.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python asyncio patch to allow nested event loops"
@@ -11,7 +11,7 @@ maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/erdewit/nest_asyncio"
distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
-checksum=f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd
+checksum=d267cc1ff794403f7df692964d1d2a3fa9418ffea2a3f6859a439ff482fef290
post_install() {
vlicense LICENSE
From fdec5a9f298045840ea62fe5bfdc2575d7bb08b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:08:30 -0300
Subject: [PATCH 08/27] python3-pyrsistent: update to 0.19.3.
---
srcpkgs/python3-pyrsistent/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
index 50ead293041f..d8e8578064ae 100644
--- a/srcpkgs/python3-pyrsistent/template
+++ b/srcpkgs/python3-pyrsistent/template
@@ -1,17 +1,18 @@
# Template file for 'python3-pyrsistent'
pkgname=python3-pyrsistent
-version=0.18.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel"
+version=0.19.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-devel"
depends="python3"
checkdepends="python3-pytest python3-hypothesis"
short_desc="Python persistent immutable data structures"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="MIT"
homepage="https://github.com/tobgu/pyrsistent/"
+changelog="https://raw.githubusercontent.com/tobgu/pyrsistent/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
-checksum=d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96
+checksum=1a2994773706bbb4995c31a97bc94f1418314923bd1048c6d964837040376440
post_install() {
vlicense LICENSE.mit LICENSE
From cdff07aff3fcaa591b50d294566f0dc13cb45a85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:32:26 -0300
Subject: [PATCH 09/27] python3-tornado: update to 6.3.2.
---
srcpkgs/python3-tornado/template | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template
index 48c9e57b0bdb..bd8a8803689f 100644
--- a/srcpkgs/python3-tornado/template
+++ b/srcpkgs/python3-tornado/template
@@ -1,20 +1,32 @@
# Template file for 'python3-tornado'
pkgname=python3-tornado
-version=6.2
+version=6.3.2
revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3 ca-certificates"
+checkdepends="python3-curl python3-pycares python3-Twisted"
short_desc="Python3 web framework and asynchronous networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
+changelog="https://www.tornadoweb.org/en/stable/releases.html"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
-checksum=9b630419bde84ec666bfd7ea0a4cb2a8a651c2d5cccdbdd1972a0c859dfc3c13
-make_check=no # tests failing, already with 6.1
+checksum=4b927c4f19b71e627b13f3db2324e4ae660527143f9e1f2e2fb404f3a187e2ba
-pre_build() {
- # use system ca-certificates
- sed -i "/install_requires.append('certifi')/d" setup.py
+do_check() {
+ # There is one instance of test_bind_source_ip (the one for
+ # curl_httpclient_test.CurlHTTPClientCommonTestCase)
+ # which for some reason is taking a little bit over 5s
+ # (but only on x86_64-musl and only on CI).
+ #
+ # The default test timeout is 5s so the test times out and fails.
+ # See: https://github.com/void-linux/void-packages/pull/44312#issuecomment-1582361791
+ #
+ # Setting the timeout to 6 works around it.
+ local -x ASYNC_TEST_TIMEOUT=6
+
+ # pytest is not supported
+ python3 -m tornado.test
}
From ab69e7d045dc8b831460eb66491a36090c56a790 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:03:16 -0300
Subject: [PATCH 10/27] New package: python3-strict-rfc3339-0.7
---
srcpkgs/python3-strict-rfc3339/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-strict-rfc3339/template
diff --git a/srcpkgs/python3-strict-rfc3339/template b/srcpkgs/python3-strict-rfc3339/template
new file mode 100644
index 000000000000..411d2e93535a
--- /dev/null
+++ b/srcpkgs/python3-strict-rfc3339/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-strict-rfc3339'
+pkgname=python3-strict-rfc3339
+version=0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Strict, simple, lightweight RFC3339 functions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="https://pypi.org/project/strict-rfc3339/"
+distfiles="${PYPI_SITE}/s/strict-rfc3339/strict-rfc3339-${version}.tar.gz"
+checksum=5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
+make_check=no # no tests available
From f76db20c69adf2fbb19c724b790e61a477d1dc02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:09:32 -0300
Subject: [PATCH 11/27] New package: python3-rfc3339-validator-0.1.4
---
srcpkgs/python3-rfc3339-validator/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-rfc3339-validator/template
diff --git a/srcpkgs/python3-rfc3339-validator/template b/srcpkgs/python3-rfc3339-validator/template
new file mode 100644
index 000000000000..bc572b2f301a
--- /dev/null
+++ b/srcpkgs/python3-rfc3339-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3339-validator'
+pkgname=python3-rfc3339-validator
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six"
+checkdepends="$depends python3-hypothesis python3-pytest python3-strict-rfc3339"
+short_desc="Pure python RFC3339 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3339-validator"
+distfiles="${PYPI_SITE}/r/rfc3339-validator/rfc3339_validator-${version}.tar.gz"
+checksum=138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b
+
+post_install() {
+ vlicense LICENSE
+}
From f6df75d81b27677c45099e2f34fc2f891cda023f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:34:03 -0300
Subject: [PATCH 12/27] New package: python3-rfc3987-1.3.8
---
srcpkgs/python3-rfc3987/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-rfc3987/template
diff --git a/srcpkgs/python3-rfc3987/template b/srcpkgs/python3-rfc3987/template
new file mode 100644
index 000000000000..f25379e582b7
--- /dev/null
+++ b/srcpkgs/python3-rfc3987/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-rfc3987'
+pkgname=python3-rfc3987
+version=1.3.8
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="http://pypi.python.org/pypi/rfc3987"
+distfiles="${PYPI_SITE}/r/rfc3987/rfc3987-${version}.tar.gz"
+checksum=d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733
+make_check=no # no tests available
From 1361f9e366273a00f278803f448909ab7a307f90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:22:20 -0300
Subject: [PATCH 13/27] New package: python3-rfc3986-validator-0.1.1
---
.../python3-rfc3986-validator/patches/3.patch | 40 +++++++++++++++++++
srcpkgs/python3-rfc3986-validator/template | 18 +++++++++
2 files changed, 58 insertions(+)
create mode 100644 srcpkgs/python3-rfc3986-validator/patches/3.patch
create mode 100644 srcpkgs/python3-rfc3986-validator/template
diff --git a/srcpkgs/python3-rfc3986-validator/patches/3.patch b/srcpkgs/python3-rfc3986-validator/patches/3.patch
new file mode 100644
index 000000000000..991662d5fb52
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/patches/3.patch
@@ -0,0 +1,40 @@
+From f34f482530170972947b259844d00830a15f81a4 Mon Sep 17 00:00:00 2001
+From: chedi toueiti <chedi.toueiti@gmail.com>
+Date: Tue, 12 Jul 2022 21:01:31 +0100
+Subject: [PATCH] Removing deprecated pytest-runner and adding missing test
+ dependencies
+
+---
+ setup.cfg | 5 +++++
+ setup.py | 4 ++--
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 21c0a34..db0c26b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -23,3 +23,8 @@ test = pytest
+ [tool:pytest]
+ collect_ignore = ['setup.py']
+
++[options.extras_require]
++test =
++ pytest >= 3
++ rfc3987
++ hypothesis
+diff --git a/setup.py b/setup.py
+index 53ebea7..1652285 100644
+--- a/setup.py
++++ b/setup.py
+@@ -10,9 +10,9 @@
+
+ requirements = []
+
+-setup_requirements = ['pytest-runner', ]
++setup_requirements = []
+
+-test_requirements = ['pytest>=3', ]
++test_requirements = []
+
+ setup(
+ author="Nicolas Aimetti",
diff --git a/srcpkgs/python3-rfc3986-validator/template b/srcpkgs/python3-rfc3986-validator/template
new file mode 100644
index 000000000000..fc402d543d14
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3986-validator'
+pkgname=python3-rfc3986-validator
+version=0.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest python3-hypothesis python3-rfc3987"
+short_desc="Pure python RFC3986 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3986-validator"
+distfiles="${PYPI_SITE}/r/rfc3986-validator/rfc3986_validator-${version}.tar.gz"
+checksum=3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
+
+post_install() {
+ vlicense LICENSE
+}
From 1a7130519105b9e018e01d885b34408ce26e0f3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:34:09 -0300
Subject: [PATCH 14/27] python3-jsonschema: add rfc3339 and rfc3986 validators.
---
srcpkgs/python3-jsonschema/template | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 8ec7cef8d755..272eb06edbdd 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.17.3
-revision=1
+revision=2
build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug"
hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-pyrsistent"
+depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
+ python3-rfc3339-validator python3-rfc3986-validator"
checkdepends="${depends} python3-pytest python3-pip"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@@ -15,10 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
-pre_build() {
- export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
-}
-
post_install() {
vlicense COPYING LICENSE
}
From ebd2c5b1e1ee400fd2551b41ea64cb1a47ce6364 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:31:37 -0300
Subject: [PATCH 15/27] New package: hatch-jupyter-builder-0.8.3
---
srcpkgs/hatch-jupyter-builder/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-jupyter-builder/template
diff --git a/srcpkgs/hatch-jupyter-builder/template b/srcpkgs/hatch-jupyter-builder/template
new file mode 100644
index 000000000000..674c221e1ebb
--- /dev/null
+++ b/srcpkgs/hatch-jupyter-builder/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-jupyter-builder'
+pkgname=hatch-jupyter-builder
+version=0.8.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest-mock python3-tomli"
+short_desc="Hatch plugin to help build Jupyter packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/hatch-jupyter-builder"
+changelog="https://raw.githubusercontent.com/jupyterlab/hatch-jupyter-builder/main/CHANGELOG.md"
+distfiles="https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v${version}.tar.gz"
+checksum=b167709e9bd196b3b92fe13a20b10c09cd30ca550759a9f06834378eb371af96
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 582f2b4f86a693044d62da6ee1c3d95e3bdaafaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 18:18:06 -0300
Subject: [PATCH 16/27] New package: hatch-nodejs-version-0.3.1
---
srcpkgs/hatch-nodejs-version/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-nodejs-version/template
diff --git a/srcpkgs/hatch-nodejs-version/template b/srcpkgs/hatch-nodejs-version/template
new file mode 100644
index 000000000000..389c85500bf2
--- /dev/null
+++ b/srcpkgs/hatch-nodejs-version/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-nodejs-version'
+pkgname=hatch-nodejs-version
+version=0.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest"
+short_desc="Hatch plugin to read pyproject.toml metadata from package.json"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/agoose77/hatch-nodejs-version"
+changelog="https://github.com/agoose77/hatch-nodejs-version/releases"
+distfiles="https://github.com/agoose77/hatch-nodejs-version/archive/refs/tags/v${version}.tar.gz"
+checksum=9959efbee3021dba4da7f8c152cacf104c746341ed176cd0488cbf3b45deba4d
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 7dc2c1d593581b8e2426cb594bd6cf69d8d48bd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 28 May 2023 00:07:40 -0300
Subject: [PATCH 17/27] New package: python3-async-lru-2.0.2
---
srcpkgs/python3-async-lru/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-async-lru/template
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
new file mode 100644
index 000000000000..0aacd0f0b07e
--- /dev/null
+++ b/srcpkgs/python3-async-lru/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-async-lru'
+pkgname=python3-async-lru
+version=2.0.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3-typing_extensions"
+checkdepends="$depends python3-pytest-asyncio python3-pytest-cov
+ python3-pytest-timeout"
+short_desc="Simple LRU cache for asyncio"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/aio-libs/async-lru"
+#changelog=""
+distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
+checksum=3b87ec4f2460c52cc7916a0138cc606b584c75d1ef7d661853c95d1d3acb869a
+
+post_install() {
+ vlicense LICENSE
+}
From 2fb4e2fde8a58cc9a972565f835dc98c1c8760d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:56:29 -0300
Subject: [PATCH 18/27] New package: python3-json-logger-2.0.7
---
srcpkgs/python3-json-logger/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-json-logger/template
diff --git a/srcpkgs/python3-json-logger/template b/srcpkgs/python3-json-logger/template
new file mode 100644
index 000000000000..747a925d56f0
--- /dev/null
+++ b/srcpkgs/python3-json-logger/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-json-logger'
+pkgname=python3-json-logger
+version=2.0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Json Formatter for the standard python logger"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-2-Clause"
+homepage="https://github.com/madzak/python-json-logger"
+changelog="https://raw.githubusercontent.com/madzak/python-json-logger/master/CHANGELOG.md"
+distfiles="https://github.com/madzak/python-json-logger/archive/refs/tags/v${version}.tar.gz"
+checksum=1d743e5573642bed1a5698dbfa5fc1c2a8e076fea95212e67518bec940e43ec1
+
+post_install() {
+ vlicense LICENSE
+}
From 87c8d43b11e904b6f41ffae959bec893363a5125 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:58:52 -0300
Subject: [PATCH 19/27] New package: python3-jupyter_packaging-0.12.3
---
.../patches/178.patch | 23 +++++++++++++++++++
srcpkgs/python3-jupyter_packaging/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-jupyter_packaging/patches/178.patch
create mode 100644 srcpkgs/python3-jupyter_packaging/template
diff --git a/srcpkgs/python3-jupyter_packaging/patches/178.patch b/srcpkgs/python3-jupyter_packaging/patches/178.patch
new file mode 100644
index 000000000000..a158454dbb73
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/patches/178.patch
@@ -0,0 +1,23 @@
+From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001
+From: Steven Silvester <steven.silvester@ieee.org>
+Date: Tue, 7 Mar 2023 10:47:22 -0600
+Subject: [PATCH] Ignore warning raised when importing
+ setuptools.command.develop
+
+---
+ pyproject.toml | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e4c1e27..b316257 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -81,5 +81,7 @@ filterwarnings= [
+ # Fail on warnings
+ "error",
+ # Ignore our own deprecation warnings.
+- "ignore:.*:deprecation.DeprecatedWarning"
++ "ignore:.*:deprecation.DeprecatedWarning",
++ # Ignore warning raised when importing setuptools.command.develop.
++ "ignore:pkg_resources is deprecated as an API:DeprecationWarning"
+ ]
diff --git a/srcpkgs/python3-jupyter_packaging/template b/srcpkgs/python3-jupyter_packaging/template
new file mode 100644
index 000000000000..8c064fb464c6
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_packaging'
+pkgname=python3-jupyter_packaging
+version=0.12.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-deprecation python3-packaging python3-setuptools
+ python3-tomlkit python3-wheel"
+checkdepends="$depends python3-pytest-timeout python3-pytest-mock"
+short_desc="Tools to help build and install Jupyter Python packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter/jupyter-packaging"
+changelog="https://raw.githubusercontent.com/jupyter/jupyter-packaging/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v${version}.tar.gz"
+checksum=3a326f3b4e8b7fea8b7abf775741996095a4caf13767a9c017e9f17043e591e0
+
+post_install() {
+ vlicense LICENSE
+}
From c314686e243057722d54518fb4471cf8bceecdaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 19:19:18 -0300
Subject: [PATCH 20/27] New package: python3-overrides-7.3.1
---
srcpkgs/python3-overrides/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-overrides/template
diff --git a/srcpkgs/python3-overrides/template b/srcpkgs/python3-overrides/template
new file mode 100644
index 000000000000..9c1b507e9240
--- /dev/null
+++ b/srcpkgs/python3-overrides/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-overrides'
+pkgname=python3-overrides
+version=7.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Decorator to automatically detect mismatch when overriding a method"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/mkorpela/overrides"
+changelog="https://github.com/mkorpela/overrides/releases"
+distfiles="https://github.com/mkorpela/overrides/archive/refs/tags/${version}.tar.gz"
+checksum=ff904c45a8a664aaeeac0a849f5097567d52a88c2324b12ad002c8b58e83625c
From 6a6f91c8e09566556edbe6ca451f486a09cbc4a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 21:18:00 -0300
Subject: [PATCH 21/27] New package: python3-pathable-0.4.3
---
srcpkgs/python3-pathable/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pathable/template
diff --git a/srcpkgs/python3-pathable/template b/srcpkgs/python3-pathable/template
new file mode 100644
index 000000000000..70892d570eaa
--- /dev/null
+++ b/srcpkgs/python3-pathable/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pathable'
+pkgname=python3-pathable
+version=0.4.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+checkdepends="python3-pytest-cov python3-toml"
+short_desc="Object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/pathable"
+changelog="https://github.com/p1c2u/pathable/releases"
+distfiles="https://github.com/p1c2u/pathable/archive/refs/tags/${version}.tar.gz"
+checksum=eea76120e5fdc54f4e9b7bc5e24748d163cef61c3e60ed32675828ade141cf4b
From 13190a757d13dd7351e75486334a3f0a9f274eb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:52:44 -0300
Subject: [PATCH 22/27] New package: python3-jsonschema-spec-0.1.4
---
srcpkgs/python3-jsonschema-spec/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-jsonschema-spec/template
diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
new file mode 100644
index 000000000000..2baf429eff08
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-jsonschema-spec'
+pkgname=python3-jsonschema-spec
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema python3-pathable python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="JSONSchema Spec with object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/jsonschema-spec"
+changelog="https://github.com/p1c2u/jsonschema-spec/releases"
+distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
+checksum=2a4ffb901ced9f37d86c64b29b9bfed72362e9cae82a319346ad234e434baf94
From 45301509dc8fa93987ccf9b637753e7282a5de34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:39:45 -0300
Subject: [PATCH 23/27] New package: python3-openapi-schema-validator-0.4.4
---
.../python3-openapi-schema-validator/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-openapi-schema-validator/template
diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
new file mode 100644
index 000000000000..bb26e4a7d603
--- /dev/null
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-openapi-schema-validator'
+pkgname=python3-openapi-schema-validator
+version=0.4.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI schema validation for Python"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-schema-validator"
+changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
+checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+
+post_install() {
+ vlicense LICENSE
+}
From ce1d9be015b8670e7954cf097ed0588cc9f44017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:40:13 -0300
Subject: [PATCH 24/27] New package: python3-openapi-spec-validator-0.5.6
---
srcpkgs/python3-openapi-spec-validator/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-openapi-spec-validator/template
diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
new file mode 100644
index 000000000000..f1e9665a676a
--- /dev/null
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-openapi-spec-validator'
+pkgname=python3-openapi-spec-validator
+version=0.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema-spec python3-lazy-object-proxy
+ python3-openapi-schema-validator"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI spec validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/python-openapi/openapi-spec-validator"
+changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
+checksum=1189d0618ae0678ccf6c883cc1266d381454eece6f21fcf330cc7caea5fc25eb
From f6e304788e52c8f9b8f277796449e7ded595e07a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 01:38:55 -0300
Subject: [PATCH 25/27] New package: python3-openapi-core-0.17.1
---
srcpkgs/python3-openapi-core/template | 29 +++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 srcpkgs/python3-openapi-core/template
diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
new file mode 100644
index 000000000000..21c519c793c1
--- /dev/null
+++ b/srcpkgs/python3-openapi-core/template
@@ -0,0 +1,29 @@
+# Template file for 'python3-openapi-core'
+pkgname=python3-openapi-core
+version=0.17.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
+ python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
+ python3-responses python3-toml python3-WebOb"
+short_desc="Support for the OpenAPI Specification v3"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-core"
+changelog="https://github.com/python-openapi/openapi-core/releases"
+distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
+checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+
+# disable test files that need python packages not available
+make_check_args="
+ --ignore=tests/unit/contrib/django
+ --ignore=tests/integration/contrib/django
+ --ignore=tests/integration/contrib/falcon
+ --ignore=tests/integration/contrib/starlette
+ "
+
+post_install() {
+ vlicense LICENSE
+}
From 4d55dde268c93a9963c61e2ca9038a32e0d2be6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 21:11:54 -0300
Subject: [PATCH 26/27] New package: python3-pep440-0.1.2
---
srcpkgs/python3-pep440/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/python3-pep440/template
diff --git a/srcpkgs/python3-pep440/template b/srcpkgs/python3-pep440/template
new file mode 100644
index 000000000000..3048d03ae671
--- /dev/null
+++ b/srcpkgs/python3-pep440/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pep440'
+pkgname=python3-pep440
+version=0.1.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+checkdepends="python3-pytest-console-scripts"
+short_desc="Utils to check whether version numbers match PEP 440"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/Carreau/pep440"
+distfiles="https://github.com/Carreau/pep440/archive/refs/tags/${version}.tar.gz"
+checksum=4f38145d7b71aad9743b3f4aec6338a2dad4010a14a223493bf0b3b7b99027ef
+
+post_install() {
+ vlicense LICENSE
+}
From 280eaa55720da51bcb477a1b252444d1af53dcad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 10 Jun 2023 12:41:19 -0300
Subject: [PATCH 27/27] fixup! New package: python3-async-lru-2.0.2
---
srcpkgs/python3-async-lru/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 0aacd0f0b07e..130589174c1c 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -11,7 +11,7 @@ short_desc="Simple LRU cache for asyncio"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
-#changelog=""
+changelog="https://github.com/aio-libs/async-lru/blob/master/CHANGES.rst"
distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
checksum=3b87ec4f2460c52cc7916a0138cc606b584c75d1ef7d661853c95d1d3acb869a
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] Updates to python packages needed for jupyter notebook and jupyterlab
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
` (5 preceding siblings ...)
2023-06-10 16:14 ` [PR PATCH] [Updated] " tornaria
@ 2023-06-12 20:50 ` tornaria
2023-06-15 2:19 ` tornaria
2023-06-15 20:46 ` [PR PATCH] [Closed]: " ahesford
8 siblings, 0 replies; 10+ messages in thread
From: tornaria @ 2023-06-12 20:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3467 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages jupyter-deps
https://github.com/void-linux/void-packages/pull/44312
Updates to python packages needed for jupyter notebook and jupyterlab
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Mostly taken from #44160, this updates or creates several python packages needed for jupyter packages:
- python3-argcomplete: update to 3.0.8. (check: traitlets)
- python3-BeautifulSoup4: update to 4.12.2. (dep: nbconvert)
- python3-bleach: update to 6.0.0. (dep: nbconvert)
- python3-comm: update to 0.1.3. (dep: ipykernel)
- python3-fastjsonschema: update to 2.17.1 (dep: nbformat)
- python3-jsonpointer: update to 2.3. (dep: jsonschema)
- python3-nest_asyncio: update to 1.5.6. (dep: ipykernel)
- python3-pyrsistent: update to 0.19.3. (dep: jsonschema)
- python3-tornado: update to 6.3.2. (dep: ipykernel)
- New package: python3-strict-rfc3339-0.7 (check: rfc3339-validator))
- New package: python3-rfc3339-validator-0.1.4 (dep: jsonschema)
- New package: python3-rfc3987 (check: rfc3986-validator)
- New package: python3-rfc3986-validator-0.1.1 (dep: jsonschema)
- python3-jsonschema: add validators (dep: nbformat)
- New package: hatch-jupyter-builder-0.8.3 (build: nbclassic)
- New package: hatch-nodejs-version-0.3.1 (build: nbformat)
- New package: python3-async-lru-2.0.2 (dep: jupyterlab)
- New package: python3-json-logger-2.0.7 (dep: jupyter_events)
- New package: python3-jupyter_packaging-0.12.3 (build: notebook)
- New package: python3-overrides-7.3.1 (dep: jupyter_server)
- New package: python3-pathable-0.4.3 (dep: jsonschema-spec)
- New package: python3-jsonschema-spec-0.1.4 (dep: openapi-spec-validator)
- New package: python3-openapi-schema-validator-0.4.4 (dep: openapi-spec-validator)
- New package: python3-openapi-spec-validator-0.5.6 (dep: openapi-core)
- New package: python3-openapi-core-0.17.1 (check: jupyterlab_server)
- New package: python3-pep440-0.1.2 (check: nbformat)
Some of these will be used only after #44160, either because updates to some jupyter package needs them for build or runtime, or because they are needed to check (and part of #44160 is making all jupyter packages testable in CI).
I think it may be easier to handle #44272 and this PR first, and let #44160 be more manageable.
Everything uses pep517 build style, and check is working for everything.
<!--
#### 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/44312.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-deps-44312.patch --]
[-- Type: text/x-diff, Size: 39353 bytes --]
From c0e9e25431a94080b25869936bbcfeb9f786485d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 01:01:14 -0300
Subject: [PATCH 01/26] python3-argcomplete: update to 3.1.1.
---
srcpkgs/python3-argcomplete/template | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-argcomplete/template b/srcpkgs/python3-argcomplete/template
index abe32205b908..62593c46ff10 100644
--- a/srcpkgs/python3-argcomplete/template
+++ b/srcpkgs/python3-argcomplete/template
@@ -1,13 +1,20 @@
# Template file for 'python3-argcomplete'
pkgname=python3-argcomplete
-version=3.0.5
+version=3.1.1
revision=1
build_style=python3-pep517
-hostmakedepends="python3-wheel"
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
+checkdepends="python3-pexpect python3-pip zsh"
short_desc="Bash tab completion for argparse"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/kislyuk/argcomplete"
+changelog="https://raw.githubusercontent.com/kislyuk/argcomplete/develop/Changes.rst"
distfiles="${PYPI_SITE}/a/argcomplete/argcomplete-${version}.tar.gz"
-checksum=fe3ce77125f434a0dd1bffe5f4643e64126d5731ce8d173d36f62fa43d6eb6f7
+checksum=6c4c563f14f01440aaffa3eae13441c5db2357b5eec639abe7c0b15334627dff
+
+do_check() {
+ # pytest is not supported
+ python3 -m unittest -b test/test.py
+}
From aad7dc1140bf60f43597e45ae46d4290bdfc28e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:59:09 -0300
Subject: [PATCH 02/26] python3-BeautifulSoup4: update to 4.12.2.
---
srcpkgs/python3-BeautifulSoup4/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 882ea8a33214..25d104f6d0d4 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,18 +1,18 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.11.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3 python3-soupsieve"
-checkdepends="python3-pytest $depends"
+version=4.12.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-soupsieve"
+checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
-changelog="https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG"
+changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693
+checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
post_install() {
vlicense LICENSE
From 49859762c7106df2844420a1bd6c81e3f5cc2da8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:25:30 -0300
Subject: [PATCH 03/26] python3-bleach: update to 6.0.0.
---
srcpkgs/python3-bleach/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index aea09c368c1f..1a14acbfc21f 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,10 +1,10 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=4.1.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-six python3-webencodings python3-packaging"
+version=6.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six python3-webencodings"
checkdepends="python3-pytest $depends"
short_desc="Easy safelist-based HTML-sanitizing tool (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/mozilla/bleach"
changelog="https://raw.githubusercontent.com/mozilla/bleach/master/CHANGES"
distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
-checksum=0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da
+checksum=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
From 3fd595029ec300c82a40c08d6d29511ed1d68cc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:25:45 -0300
Subject: [PATCH 04/26] python3-comm: update to 0.1.3.
---
srcpkgs/python3-comm/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template
index 0bbba8dc0eda..29ebd5afd772 100644
--- a/srcpkgs/python3-comm/template
+++ b/srcpkgs/python3-comm/template
@@ -1,6 +1,6 @@
# Template file for 'python3-comm'
pkgname=python3-comm
-version=0.1.1
+version=0.1.3
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
@@ -10,8 +10,9 @@ short_desc="Python comm implementation for the Jupyter kernel protocol"
maintainer="dkwo <npiazza@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/comm/"
-distfiles="https://github.com/ipython/comm/archive/refs/tags/$version.tar.gz"
-checksum=2868dfd1e482b821a929d662bf3d89adeb8a091239bf1497187797fe9e4c12fa
+changelog="https://raw.githubusercontent.com/ipython/comm/main/CHANGELOG.md"
+distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz"
+checksum=9bdea650a6194bf1628b17c2668bf74bf5295c87a7528a8aa4fe4472904b26f2
post_install() {
vlicense LICENSE
From 99711f51195be899995928aa884a4fc976cf3e1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 10:28:43 -0300
Subject: [PATCH 05/26] python3-fastjsonschema: update to 2.17.1.
---
srcpkgs/python3-fastjsonschema/template | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template
index 7e4495b9456b..54fbdb6dde10 100644
--- a/srcpkgs/python3-fastjsonschema/template
+++ b/srcpkgs/python3-fastjsonschema/template
@@ -1,19 +1,18 @@
# Template file for 'python3-fastjsonschema'
pkgname=python3-fastjsonschema
-version=2.16.3
+version=2.17.1
revision=1
-build_style=python3-module
-make_check_args="--deselect tests/benchmarks/test_benchmark.py"
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-benchmark"
short_desc="Fastest Python implementation of JSON schema"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/horejsek/python-fastjsonschema"
changelog="https://raw.githubusercontent.com/horejsek/python-fastjsonschema/master/CHANGELOG.txt"
distfiles="https://github.com/horejsek/python-fastjsonschema/archive/refs/tags/v${version}.tar.gz"
-checksum=f9834e4994830942d58949043820024261dc22e2640bcf787391deb607cc91c6
+checksum=9295090b468152cea7a53c651a46d6a1afb83f0124f86c9a64da43fd3453a9f4
post_install() {
vlicense LICENSE
From a1675b31b79c1c3086ecaa74a3fa9f5105b8332c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:00:05 -0300
Subject: [PATCH 06/26] python3-jsonpointer: update to 2.3.
---
srcpkgs/python3-jsonpointer/template | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 1da8295d63fc..59b38c2228d6 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,18 +1,23 @@
# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
-version=2.0
-revision=6
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/stefankoegl/python-json-pointer"
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362
+checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
conflicts="python-jsonpointer>=0"
+do_check() {
+ # pytest is not supported
+ python3 tests.py
+}
+
post_install() {
vlicense LICENSE.txt LICENSE
}
From f6ed700b3a8e9e29a68be174cc7417059f3469cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:30:38 -0300
Subject: [PATCH 07/26] python3-nest_asyncio: update to 1.5.6.
---
srcpkgs/python3-nest_asyncio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
index 41981f82fc19..d0165041eb17 100644
--- a/srcpkgs/python3-nest_asyncio/template
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -1,9 +1,9 @@
# Template file for 'python3-nest_asyncio'
pkgname=python3-nest_asyncio
-version=1.5.4
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+version=1.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python asyncio patch to allow nested event loops"
@@ -11,7 +11,7 @@ maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/erdewit/nest_asyncio"
distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
-checksum=f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd
+checksum=d267cc1ff794403f7df692964d1d2a3fa9418ffea2a3f6859a439ff482fef290
post_install() {
vlicense LICENSE
From 286ff43b26e6037acc13384fcb53bf07da5ce580 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:08:30 -0300
Subject: [PATCH 08/26] python3-pyrsistent: update to 0.19.3.
---
srcpkgs/python3-pyrsistent/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
index 50ead293041f..d8e8578064ae 100644
--- a/srcpkgs/python3-pyrsistent/template
+++ b/srcpkgs/python3-pyrsistent/template
@@ -1,17 +1,18 @@
# Template file for 'python3-pyrsistent'
pkgname=python3-pyrsistent
-version=0.18.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel"
+version=0.19.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-devel"
depends="python3"
checkdepends="python3-pytest python3-hypothesis"
short_desc="Python persistent immutable data structures"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="MIT"
homepage="https://github.com/tobgu/pyrsistent/"
+changelog="https://raw.githubusercontent.com/tobgu/pyrsistent/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
-checksum=d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96
+checksum=1a2994773706bbb4995c31a97bc94f1418314923bd1048c6d964837040376440
post_install() {
vlicense LICENSE.mit LICENSE
From 4d3668c3cd96665584d80b7cb72471e64ecffd4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:32:26 -0300
Subject: [PATCH 09/26] python3-tornado: update to 6.3.2.
---
srcpkgs/python3-tornado/template | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template
index 48c9e57b0bdb..bd8a8803689f 100644
--- a/srcpkgs/python3-tornado/template
+++ b/srcpkgs/python3-tornado/template
@@ -1,20 +1,32 @@
# Template file for 'python3-tornado'
pkgname=python3-tornado
-version=6.2
+version=6.3.2
revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3 ca-certificates"
+checkdepends="python3-curl python3-pycares python3-Twisted"
short_desc="Python3 web framework and asynchronous networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
+changelog="https://www.tornadoweb.org/en/stable/releases.html"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
-checksum=9b630419bde84ec666bfd7ea0a4cb2a8a651c2d5cccdbdd1972a0c859dfc3c13
-make_check=no # tests failing, already with 6.1
+checksum=4b927c4f19b71e627b13f3db2324e4ae660527143f9e1f2e2fb404f3a187e2ba
-pre_build() {
- # use system ca-certificates
- sed -i "/install_requires.append('certifi')/d" setup.py
+do_check() {
+ # There is one instance of test_bind_source_ip (the one for
+ # curl_httpclient_test.CurlHTTPClientCommonTestCase)
+ # which for some reason is taking a little bit over 5s
+ # (but only on x86_64-musl and only on CI).
+ #
+ # The default test timeout is 5s so the test times out and fails.
+ # See: https://github.com/void-linux/void-packages/pull/44312#issuecomment-1582361791
+ #
+ # Setting the timeout to 6 works around it.
+ local -x ASYNC_TEST_TIMEOUT=6
+
+ # pytest is not supported
+ python3 -m tornado.test
}
From b6c882e3537a8879d30509aca410fcc53fb6aff6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:03:16 -0300
Subject: [PATCH 10/26] New package: python3-strict-rfc3339-0.7
---
srcpkgs/python3-strict-rfc3339/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-strict-rfc3339/template
diff --git a/srcpkgs/python3-strict-rfc3339/template b/srcpkgs/python3-strict-rfc3339/template
new file mode 100644
index 000000000000..411d2e93535a
--- /dev/null
+++ b/srcpkgs/python3-strict-rfc3339/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-strict-rfc3339'
+pkgname=python3-strict-rfc3339
+version=0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Strict, simple, lightweight RFC3339 functions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="https://pypi.org/project/strict-rfc3339/"
+distfiles="${PYPI_SITE}/s/strict-rfc3339/strict-rfc3339-${version}.tar.gz"
+checksum=5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
+make_check=no # no tests available
From c70835eefeb578c457528154f62b67d658cec9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:09:32 -0300
Subject: [PATCH 11/26] New package: python3-rfc3339-validator-0.1.4
---
srcpkgs/python3-rfc3339-validator/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-rfc3339-validator/template
diff --git a/srcpkgs/python3-rfc3339-validator/template b/srcpkgs/python3-rfc3339-validator/template
new file mode 100644
index 000000000000..bc572b2f301a
--- /dev/null
+++ b/srcpkgs/python3-rfc3339-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3339-validator'
+pkgname=python3-rfc3339-validator
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six"
+checkdepends="$depends python3-hypothesis python3-pytest python3-strict-rfc3339"
+short_desc="Pure python RFC3339 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3339-validator"
+distfiles="${PYPI_SITE}/r/rfc3339-validator/rfc3339_validator-${version}.tar.gz"
+checksum=138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b
+
+post_install() {
+ vlicense LICENSE
+}
From 7405b67873fda9717670ef7e6a6e7310d83a941b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:34:03 -0300
Subject: [PATCH 12/26] New package: python3-rfc3987-1.3.8
---
srcpkgs/python3-rfc3987/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-rfc3987/template
diff --git a/srcpkgs/python3-rfc3987/template b/srcpkgs/python3-rfc3987/template
new file mode 100644
index 000000000000..f25379e582b7
--- /dev/null
+++ b/srcpkgs/python3-rfc3987/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-rfc3987'
+pkgname=python3-rfc3987
+version=1.3.8
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="http://pypi.python.org/pypi/rfc3987"
+distfiles="${PYPI_SITE}/r/rfc3987/rfc3987-${version}.tar.gz"
+checksum=d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733
+make_check=no # no tests available
From 42cd9dd1182b66c89ac1faab3722108c1719a52f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:22:20 -0300
Subject: [PATCH 13/26] New package: python3-rfc3986-validator-0.1.1
---
.../python3-rfc3986-validator/patches/3.patch | 40 +++++++++++++++++++
srcpkgs/python3-rfc3986-validator/template | 18 +++++++++
2 files changed, 58 insertions(+)
create mode 100644 srcpkgs/python3-rfc3986-validator/patches/3.patch
create mode 100644 srcpkgs/python3-rfc3986-validator/template
diff --git a/srcpkgs/python3-rfc3986-validator/patches/3.patch b/srcpkgs/python3-rfc3986-validator/patches/3.patch
new file mode 100644
index 000000000000..991662d5fb52
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/patches/3.patch
@@ -0,0 +1,40 @@
+From f34f482530170972947b259844d00830a15f81a4 Mon Sep 17 00:00:00 2001
+From: chedi toueiti <chedi.toueiti@gmail.com>
+Date: Tue, 12 Jul 2022 21:01:31 +0100
+Subject: [PATCH] Removing deprecated pytest-runner and adding missing test
+ dependencies
+
+---
+ setup.cfg | 5 +++++
+ setup.py | 4 ++--
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 21c0a34..db0c26b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -23,3 +23,8 @@ test = pytest
+ [tool:pytest]
+ collect_ignore = ['setup.py']
+
++[options.extras_require]
++test =
++ pytest >= 3
++ rfc3987
++ hypothesis
+diff --git a/setup.py b/setup.py
+index 53ebea7..1652285 100644
+--- a/setup.py
++++ b/setup.py
+@@ -10,9 +10,9 @@
+
+ requirements = []
+
+-setup_requirements = ['pytest-runner', ]
++setup_requirements = []
+
+-test_requirements = ['pytest>=3', ]
++test_requirements = []
+
+ setup(
+ author="Nicolas Aimetti",
diff --git a/srcpkgs/python3-rfc3986-validator/template b/srcpkgs/python3-rfc3986-validator/template
new file mode 100644
index 000000000000..fc402d543d14
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3986-validator'
+pkgname=python3-rfc3986-validator
+version=0.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest python3-hypothesis python3-rfc3987"
+short_desc="Pure python RFC3986 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3986-validator"
+distfiles="${PYPI_SITE}/r/rfc3986-validator/rfc3986_validator-${version}.tar.gz"
+checksum=3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
+
+post_install() {
+ vlicense LICENSE
+}
From da9f8f81f81ab724085821b0d8f2978525c6df89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:34:09 -0300
Subject: [PATCH 14/26] python3-jsonschema: add rfc3339 and rfc3986 validators.
---
srcpkgs/python3-jsonschema/template | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 8ec7cef8d755..272eb06edbdd 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.17.3
-revision=1
+revision=2
build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug"
hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-pyrsistent"
+depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
+ python3-rfc3339-validator python3-rfc3986-validator"
checkdepends="${depends} python3-pytest python3-pip"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@@ -15,10 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
-pre_build() {
- export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
-}
-
post_install() {
vlicense COPYING LICENSE
}
From f520c338061ccbac1cbbcbe094e98e9709f63f68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:31:37 -0300
Subject: [PATCH 15/26] New package: hatch-jupyter-builder-0.8.3
---
srcpkgs/hatch-jupyter-builder/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-jupyter-builder/template
diff --git a/srcpkgs/hatch-jupyter-builder/template b/srcpkgs/hatch-jupyter-builder/template
new file mode 100644
index 000000000000..674c221e1ebb
--- /dev/null
+++ b/srcpkgs/hatch-jupyter-builder/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-jupyter-builder'
+pkgname=hatch-jupyter-builder
+version=0.8.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest-mock python3-tomli"
+short_desc="Hatch plugin to help build Jupyter packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/hatch-jupyter-builder"
+changelog="https://raw.githubusercontent.com/jupyterlab/hatch-jupyter-builder/main/CHANGELOG.md"
+distfiles="https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v${version}.tar.gz"
+checksum=b167709e9bd196b3b92fe13a20b10c09cd30ca550759a9f06834378eb371af96
+
+post_install() {
+ vlicense LICENSE.txt
+}
From aa2942f066b19c157e9d1bf91a3fabc6cfd820eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 18:18:06 -0300
Subject: [PATCH 16/26] New package: hatch-nodejs-version-0.3.1
---
srcpkgs/hatch-nodejs-version/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-nodejs-version/template
diff --git a/srcpkgs/hatch-nodejs-version/template b/srcpkgs/hatch-nodejs-version/template
new file mode 100644
index 000000000000..389c85500bf2
--- /dev/null
+++ b/srcpkgs/hatch-nodejs-version/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-nodejs-version'
+pkgname=hatch-nodejs-version
+version=0.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest"
+short_desc="Hatch plugin to read pyproject.toml metadata from package.json"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/agoose77/hatch-nodejs-version"
+changelog="https://github.com/agoose77/hatch-nodejs-version/releases"
+distfiles="https://github.com/agoose77/hatch-nodejs-version/archive/refs/tags/v${version}.tar.gz"
+checksum=9959efbee3021dba4da7f8c152cacf104c746341ed176cd0488cbf3b45deba4d
+
+post_install() {
+ vlicense LICENSE.txt
+}
From b1503ff598163b39df93ed099d270e5ce9cb065d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 28 May 2023 00:07:40 -0300
Subject: [PATCH 17/26] New package: python3-async-lru-2.0.2
---
srcpkgs/python3-async-lru/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-async-lru/template
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
new file mode 100644
index 000000000000..130589174c1c
--- /dev/null
+++ b/srcpkgs/python3-async-lru/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-async-lru'
+pkgname=python3-async-lru
+version=2.0.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3-typing_extensions"
+checkdepends="$depends python3-pytest-asyncio python3-pytest-cov
+ python3-pytest-timeout"
+short_desc="Simple LRU cache for asyncio"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/aio-libs/async-lru"
+changelog="https://github.com/aio-libs/async-lru/blob/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
+checksum=3b87ec4f2460c52cc7916a0138cc606b584c75d1ef7d661853c95d1d3acb869a
+
+post_install() {
+ vlicense LICENSE
+}
From 6c1c02fed94dac8c16a58bfc68fc2a0fa1b45218 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:56:29 -0300
Subject: [PATCH 18/26] New package: python3-json-logger-2.0.7
---
srcpkgs/python3-json-logger/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-json-logger/template
diff --git a/srcpkgs/python3-json-logger/template b/srcpkgs/python3-json-logger/template
new file mode 100644
index 000000000000..747a925d56f0
--- /dev/null
+++ b/srcpkgs/python3-json-logger/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-json-logger'
+pkgname=python3-json-logger
+version=2.0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Json Formatter for the standard python logger"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-2-Clause"
+homepage="https://github.com/madzak/python-json-logger"
+changelog="https://raw.githubusercontent.com/madzak/python-json-logger/master/CHANGELOG.md"
+distfiles="https://github.com/madzak/python-json-logger/archive/refs/tags/v${version}.tar.gz"
+checksum=1d743e5573642bed1a5698dbfa5fc1c2a8e076fea95212e67518bec940e43ec1
+
+post_install() {
+ vlicense LICENSE
+}
From 5fedf14edce1f79ee0f2c8687fa8352e01f82743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:58:52 -0300
Subject: [PATCH 19/26] New package: python3-jupyter_packaging-0.12.3
---
.../patches/178.patch | 23 +++++++++++++++++++
srcpkgs/python3-jupyter_packaging/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-jupyter_packaging/patches/178.patch
create mode 100644 srcpkgs/python3-jupyter_packaging/template
diff --git a/srcpkgs/python3-jupyter_packaging/patches/178.patch b/srcpkgs/python3-jupyter_packaging/patches/178.patch
new file mode 100644
index 000000000000..a158454dbb73
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/patches/178.patch
@@ -0,0 +1,23 @@
+From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001
+From: Steven Silvester <steven.silvester@ieee.org>
+Date: Tue, 7 Mar 2023 10:47:22 -0600
+Subject: [PATCH] Ignore warning raised when importing
+ setuptools.command.develop
+
+---
+ pyproject.toml | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e4c1e27..b316257 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -81,5 +81,7 @@ filterwarnings= [
+ # Fail on warnings
+ "error",
+ # Ignore our own deprecation warnings.
+- "ignore:.*:deprecation.DeprecatedWarning"
++ "ignore:.*:deprecation.DeprecatedWarning",
++ # Ignore warning raised when importing setuptools.command.develop.
++ "ignore:pkg_resources is deprecated as an API:DeprecationWarning"
+ ]
diff --git a/srcpkgs/python3-jupyter_packaging/template b/srcpkgs/python3-jupyter_packaging/template
new file mode 100644
index 000000000000..8c064fb464c6
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_packaging'
+pkgname=python3-jupyter_packaging
+version=0.12.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-deprecation python3-packaging python3-setuptools
+ python3-tomlkit python3-wheel"
+checkdepends="$depends python3-pytest-timeout python3-pytest-mock"
+short_desc="Tools to help build and install Jupyter Python packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter/jupyter-packaging"
+changelog="https://raw.githubusercontent.com/jupyter/jupyter-packaging/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v${version}.tar.gz"
+checksum=3a326f3b4e8b7fea8b7abf775741996095a4caf13767a9c017e9f17043e591e0
+
+post_install() {
+ vlicense LICENSE
+}
From d4d95393ca48e6e47ac0045355b7cd7dbe767822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 19:19:18 -0300
Subject: [PATCH 20/26] New package: python3-overrides-7.3.1
---
srcpkgs/python3-overrides/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-overrides/template
diff --git a/srcpkgs/python3-overrides/template b/srcpkgs/python3-overrides/template
new file mode 100644
index 000000000000..9c1b507e9240
--- /dev/null
+++ b/srcpkgs/python3-overrides/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-overrides'
+pkgname=python3-overrides
+version=7.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Decorator to automatically detect mismatch when overriding a method"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/mkorpela/overrides"
+changelog="https://github.com/mkorpela/overrides/releases"
+distfiles="https://github.com/mkorpela/overrides/archive/refs/tags/${version}.tar.gz"
+checksum=ff904c45a8a664aaeeac0a849f5097567d52a88c2324b12ad002c8b58e83625c
From 43fc8e79495c7bfe59f6657130f7306066742804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 21:18:00 -0300
Subject: [PATCH 21/26] New package: python3-pathable-0.4.3
---
srcpkgs/python3-pathable/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pathable/template
diff --git a/srcpkgs/python3-pathable/template b/srcpkgs/python3-pathable/template
new file mode 100644
index 000000000000..70892d570eaa
--- /dev/null
+++ b/srcpkgs/python3-pathable/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pathable'
+pkgname=python3-pathable
+version=0.4.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+checkdepends="python3-pytest-cov python3-toml"
+short_desc="Object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/pathable"
+changelog="https://github.com/p1c2u/pathable/releases"
+distfiles="https://github.com/p1c2u/pathable/archive/refs/tags/${version}.tar.gz"
+checksum=eea76120e5fdc54f4e9b7bc5e24748d163cef61c3e60ed32675828ade141cf4b
From 05cc63ecbd0a1870e201328ebadf2c184ae8eb95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:52:44 -0300
Subject: [PATCH 22/26] New package: python3-jsonschema-spec-0.1.6
---
srcpkgs/python3-jsonschema-spec/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-jsonschema-spec/template
diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
new file mode 100644
index 000000000000..6caba5a29370
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-jsonschema-spec'
+pkgname=python3-jsonschema-spec
+version=0.1.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema python3-pathable python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="JSONSchema Spec with object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/jsonschema-spec"
+changelog="https://github.com/p1c2u/jsonschema-spec/releases"
+distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
+checksum=ab1d01d3ed40f83c3e272ffc86505830085a5306ad43db04a6e8edf560fedd1d
From 9a9c97ca95af70ae1f512ff2bc0255df8f5620ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:39:45 -0300
Subject: [PATCH 23/26] New package: python3-openapi-schema-validator-0.4.4
---
.../python3-openapi-schema-validator/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-openapi-schema-validator/template
diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
new file mode 100644
index 000000000000..bb26e4a7d603
--- /dev/null
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-openapi-schema-validator'
+pkgname=python3-openapi-schema-validator
+version=0.4.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI schema validation for Python"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-schema-validator"
+changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
+checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+
+post_install() {
+ vlicense LICENSE
+}
From a5522012191c29aa448205af9ab5fa9363758682 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:40:13 -0300
Subject: [PATCH 24/26] New package: python3-openapi-spec-validator-0.5.7
---
srcpkgs/python3-openapi-spec-validator/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-openapi-spec-validator/template
diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
new file mode 100644
index 000000000000..f75c24694c30
--- /dev/null
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-openapi-spec-validator'
+pkgname=python3-openapi-spec-validator
+version=0.5.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema-spec python3-lazy-object-proxy
+ python3-openapi-schema-validator"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI spec validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/python-openapi/openapi-spec-validator"
+changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
+checksum=6c2d42180045a80fd6314de848b94310bdb0fa4949f4b099578b69f79d9fa5ac
From fb0395269a4325d280cd909da197c101b9774a17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 01:38:55 -0300
Subject: [PATCH 25/26] New package: python3-openapi-core-0.17.1
---
srcpkgs/python3-openapi-core/template | 28 +++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 srcpkgs/python3-openapi-core/template
diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
new file mode 100644
index 000000000000..2dd5dceab1d6
--- /dev/null
+++ b/srcpkgs/python3-openapi-core/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-openapi-core'
+pkgname=python3-openapi-core
+version=0.17.1
+revision=1
+build_style=python3-pep517
+# disable tests requiring unpackaged dependencies
+make_check_args="
+ --ignore=tests/unit/contrib/django
+ --ignore=tests/integration/contrib/django
+ --ignore=tests/integration/contrib/falcon
+ --ignore=tests/integration/contrib/starlette
+ "
+hostmakedepends="python3-poetry-core"
+depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
+ python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
+ python3-responses python3-toml python3-WebOb"
+short_desc="Support for the OpenAPI Specification v3"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-core"
+changelog="https://github.com/python-openapi/openapi-core/releases"
+distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
+checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+
+post_install() {
+ vlicense LICENSE
+}
From f738837fec354998fd651efef4f2cf40ead7171a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 21:11:54 -0300
Subject: [PATCH 26/26] New package: python3-pep440-0.1.2
---
srcpkgs/python3-pep440/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/python3-pep440/template
diff --git a/srcpkgs/python3-pep440/template b/srcpkgs/python3-pep440/template
new file mode 100644
index 000000000000..3048d03ae671
--- /dev/null
+++ b/srcpkgs/python3-pep440/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pep440'
+pkgname=python3-pep440
+version=0.1.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+checkdepends="python3-pytest-console-scripts"
+short_desc="Utils to check whether version numbers match PEP 440"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/Carreau/pep440"
+distfiles="https://github.com/Carreau/pep440/archive/refs/tags/${version}.tar.gz"
+checksum=4f38145d7b71aad9743b3f4aec6338a2dad4010a14a223493bf0b3b7b99027ef
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] Updates to python packages needed for jupyter notebook and jupyterlab
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
` (6 preceding siblings ...)
2023-06-12 20:50 ` tornaria
@ 2023-06-15 2:19 ` tornaria
2023-06-15 20:46 ` [PR PATCH] [Closed]: " ahesford
8 siblings, 0 replies; 10+ messages in thread
From: tornaria @ 2023-06-15 2:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3467 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages jupyter-deps
https://github.com/void-linux/void-packages/pull/44312
Updates to python packages needed for jupyter notebook and jupyterlab
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Mostly taken from #44160, this updates or creates several python packages needed for jupyter packages:
- python3-argcomplete: update to 3.0.8. (check: traitlets)
- python3-BeautifulSoup4: update to 4.12.2. (dep: nbconvert)
- python3-bleach: update to 6.0.0. (dep: nbconvert)
- python3-comm: update to 0.1.3. (dep: ipykernel)
- python3-fastjsonschema: update to 2.17.1 (dep: nbformat)
- python3-jsonpointer: update to 2.3. (dep: jsonschema)
- python3-nest_asyncio: update to 1.5.6. (dep: ipykernel)
- python3-pyrsistent: update to 0.19.3. (dep: jsonschema)
- python3-tornado: update to 6.3.2. (dep: ipykernel)
- New package: python3-strict-rfc3339-0.7 (check: rfc3339-validator))
- New package: python3-rfc3339-validator-0.1.4 (dep: jsonschema)
- New package: python3-rfc3987 (check: rfc3986-validator)
- New package: python3-rfc3986-validator-0.1.1 (dep: jsonschema)
- python3-jsonschema: add validators (dep: nbformat)
- New package: hatch-jupyter-builder-0.8.3 (build: nbclassic)
- New package: hatch-nodejs-version-0.3.1 (build: nbformat)
- New package: python3-async-lru-2.0.2 (dep: jupyterlab)
- New package: python3-json-logger-2.0.7 (dep: jupyter_events)
- New package: python3-jupyter_packaging-0.12.3 (build: notebook)
- New package: python3-overrides-7.3.1 (dep: jupyter_server)
- New package: python3-pathable-0.4.3 (dep: jsonschema-spec)
- New package: python3-jsonschema-spec-0.1.4 (dep: openapi-spec-validator)
- New package: python3-openapi-schema-validator-0.4.4 (dep: openapi-spec-validator)
- New package: python3-openapi-spec-validator-0.5.6 (dep: openapi-core)
- New package: python3-openapi-core-0.17.1 (check: jupyterlab_server)
- New package: python3-pep440-0.1.2 (check: nbformat)
Some of these will be used only after #44160, either because updates to some jupyter package needs them for build or runtime, or because they are needed to check (and part of #44160 is making all jupyter packages testable in CI).
I think it may be easier to handle #44272 and this PR first, and let #44160 be more manageable.
Everything uses pep517 build style, and check is working for everything.
<!--
#### 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/44312.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-deps-44312.patch --]
[-- Type: text/x-diff, Size: 42327 bytes --]
From a265bd48894ec94d908fc62333f8aa1f4e870b26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 01:01:14 -0300
Subject: [PATCH 01/28] python3-argcomplete: update to 3.1.1.
---
srcpkgs/python3-argcomplete/template | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-argcomplete/template b/srcpkgs/python3-argcomplete/template
index abe32205b908..62593c46ff10 100644
--- a/srcpkgs/python3-argcomplete/template
+++ b/srcpkgs/python3-argcomplete/template
@@ -1,13 +1,20 @@
# Template file for 'python3-argcomplete'
pkgname=python3-argcomplete
-version=3.0.5
+version=3.1.1
revision=1
build_style=python3-pep517
-hostmakedepends="python3-wheel"
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
+checkdepends="python3-pexpect python3-pip zsh"
short_desc="Bash tab completion for argparse"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/kislyuk/argcomplete"
+changelog="https://raw.githubusercontent.com/kislyuk/argcomplete/develop/Changes.rst"
distfiles="${PYPI_SITE}/a/argcomplete/argcomplete-${version}.tar.gz"
-checksum=fe3ce77125f434a0dd1bffe5f4643e64126d5731ce8d173d36f62fa43d6eb6f7
+checksum=6c4c563f14f01440aaffa3eae13441c5db2357b5eec639abe7c0b15334627dff
+
+do_check() {
+ # pytest is not supported
+ python3 -m unittest -b test/test.py
+}
From 3642cb864d38faae6aaa3405375caf2805daead1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:59:09 -0300
Subject: [PATCH 02/28] python3-BeautifulSoup4: update to 4.12.2.
---
srcpkgs/python3-BeautifulSoup4/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 882ea8a33214..25d104f6d0d4 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,18 +1,18 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.11.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3 python3-soupsieve"
-checkdepends="python3-pytest $depends"
+version=4.12.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-soupsieve"
+checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
-changelog="https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG"
+changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693
+checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
post_install() {
vlicense LICENSE
From ea7415433ee3441590511bc00c512146c397a05d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:25:30 -0300
Subject: [PATCH 03/28] python3-bleach: update to 6.0.0.
---
srcpkgs/python3-bleach/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index aea09c368c1f..1a14acbfc21f 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,10 +1,10 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=4.1.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-six python3-webencodings python3-packaging"
+version=6.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six python3-webencodings"
checkdepends="python3-pytest $depends"
short_desc="Easy safelist-based HTML-sanitizing tool (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/mozilla/bleach"
changelog="https://raw.githubusercontent.com/mozilla/bleach/master/CHANGES"
distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
-checksum=0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da
+checksum=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
From 9087bad87e089ff190d4bf68c1d89fe1b5a349d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 10:28:43 -0300
Subject: [PATCH 04/28] python3-fastjsonschema: update to 2.17.1.
---
srcpkgs/python3-fastjsonschema/template | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template
index 7e4495b9456b..54fbdb6dde10 100644
--- a/srcpkgs/python3-fastjsonschema/template
+++ b/srcpkgs/python3-fastjsonschema/template
@@ -1,19 +1,18 @@
# Template file for 'python3-fastjsonschema'
pkgname=python3-fastjsonschema
-version=2.16.3
+version=2.17.1
revision=1
-build_style=python3-module
-make_check_args="--deselect tests/benchmarks/test_benchmark.py"
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-benchmark"
short_desc="Fastest Python implementation of JSON schema"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/horejsek/python-fastjsonschema"
changelog="https://raw.githubusercontent.com/horejsek/python-fastjsonschema/master/CHANGELOG.txt"
distfiles="https://github.com/horejsek/python-fastjsonschema/archive/refs/tags/v${version}.tar.gz"
-checksum=f9834e4994830942d58949043820024261dc22e2640bcf787391deb607cc91c6
+checksum=9295090b468152cea7a53c651a46d6a1afb83f0124f86c9a64da43fd3453a9f4
post_install() {
vlicense LICENSE
From 3ec421677ca393c8fba9cd7169286879807e6cd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:00:05 -0300
Subject: [PATCH 05/28] python3-jsonpointer: update to 2.3.
---
srcpkgs/python3-jsonpointer/template | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 1da8295d63fc..59b38c2228d6 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,18 +1,23 @@
# Template file for 'python3-jsonpointer'
pkgname=python3-jsonpointer
-version=2.0
-revision=6
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/stefankoegl/python-json-pointer"
distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362
+checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
conflicts="python-jsonpointer>=0"
+do_check() {
+ # pytest is not supported
+ python3 tests.py
+}
+
post_install() {
vlicense LICENSE.txt LICENSE
}
From 9c7feda0b4196338b1c5f45c771bbf378f93e50c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:30:38 -0300
Subject: [PATCH 06/28] python3-nest_asyncio: update to 1.5.6.
---
srcpkgs/python3-nest_asyncio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
index 41981f82fc19..d0165041eb17 100644
--- a/srcpkgs/python3-nest_asyncio/template
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -1,9 +1,9 @@
# Template file for 'python3-nest_asyncio'
pkgname=python3-nest_asyncio
-version=1.5.4
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+version=1.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python asyncio patch to allow nested event loops"
@@ -11,7 +11,7 @@ maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/erdewit/nest_asyncio"
distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
-checksum=f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd
+checksum=d267cc1ff794403f7df692964d1d2a3fa9418ffea2a3f6859a439ff482fef290
post_install() {
vlicense LICENSE
From 2b61520fee07d61b760db05d3048b7f3f3591c57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:08:30 -0300
Subject: [PATCH 07/28] python3-pyrsistent: update to 0.19.3.
---
srcpkgs/python3-pyrsistent/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
index 50ead293041f..d8e8578064ae 100644
--- a/srcpkgs/python3-pyrsistent/template
+++ b/srcpkgs/python3-pyrsistent/template
@@ -1,17 +1,18 @@
# Template file for 'python3-pyrsistent'
pkgname=python3-pyrsistent
-version=0.18.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel"
+version=0.19.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel python3-devel"
depends="python3"
checkdepends="python3-pytest python3-hypothesis"
short_desc="Python persistent immutable data structures"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="MIT"
homepage="https://github.com/tobgu/pyrsistent/"
+changelog="https://raw.githubusercontent.com/tobgu/pyrsistent/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
-checksum=d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96
+checksum=1a2994773706bbb4995c31a97bc94f1418314923bd1048c6d964837040376440
post_install() {
vlicense LICENSE.mit LICENSE
From 35dd6bdecc4abed42cb669f2fe8a7db0eb393439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:32:26 -0300
Subject: [PATCH 08/28] python3-tornado: update to 6.3.2.
---
srcpkgs/python3-tornado/template | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template
index 48c9e57b0bdb..bd8a8803689f 100644
--- a/srcpkgs/python3-tornado/template
+++ b/srcpkgs/python3-tornado/template
@@ -1,20 +1,32 @@
# Template file for 'python3-tornado'
pkgname=python3-tornado
-version=6.2
+version=6.3.2
revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3 ca-certificates"
+checkdepends="python3-curl python3-pycares python3-Twisted"
short_desc="Python3 web framework and asynchronous networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://www.tornadoweb.org/"
+changelog="https://www.tornadoweb.org/en/stable/releases.html"
distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
-checksum=9b630419bde84ec666bfd7ea0a4cb2a8a651c2d5cccdbdd1972a0c859dfc3c13
-make_check=no # tests failing, already with 6.1
+checksum=4b927c4f19b71e627b13f3db2324e4ae660527143f9e1f2e2fb404f3a187e2ba
-pre_build() {
- # use system ca-certificates
- sed -i "/install_requires.append('certifi')/d" setup.py
+do_check() {
+ # There is one instance of test_bind_source_ip (the one for
+ # curl_httpclient_test.CurlHTTPClientCommonTestCase)
+ # which for some reason is taking a little bit over 5s
+ # (but only on x86_64-musl and only on CI).
+ #
+ # The default test timeout is 5s so the test times out and fails.
+ # See: https://github.com/void-linux/void-packages/pull/44312#issuecomment-1582361791
+ #
+ # Setting the timeout to 6 works around it.
+ local -x ASYNC_TEST_TIMEOUT=6
+
+ # pytest is not supported
+ python3 -m tornado.test
}
From cf72da2c0290a875e9147549ada825b3b5b178f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 14 Jun 2023 22:52:21 -0300
Subject: [PATCH 09/28] python3-terminado: update to 0.17.1.
---
srcpkgs/python3-terminado/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index e31129323a30..5d524d3e803a 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,17 @@
# Template file for 'python3-terminado'
pkgname=python3-terminado
-version=0.17.0
+version=0.17.1
revision=1
build_style=python3-pep517
-hostmakedepends="python3-flit_core python3-tornado hatchling"
+hostmakedepends="hatchling"
depends="python3-ptyprocess python3-tornado"
checkdepends="python3-pytest $depends"
-short_desc="Terminals served to term.js using Tornado websockets (Python3)"
+short_desc="Terminals served to term.js using Tornado websockets"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/takluyver/terminado"
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=520feaa3aeab8ad64a69ca779be54be9234edb2d0d6567e76c93c2c9a4e6e43f
+checksum=6ccbbcd3a4f8a25a5ec04991f39a0b8db52dfcd487ea0e578d977e6752380333
post_install() {
vlicense LICENSE
From ad493687a49468d210c9f16cabd2a42d68571e1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 1 May 2023 20:46:40 -0300
Subject: [PATCH 10/28] python3-traitlets: cleanup dependencies, adopt.
---
srcpkgs/python3-traitlets/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-traitlets/template b/srcpkgs/python3-traitlets/template
index 7b4e13ff871b..a8ed6611188c 100644
--- a/srcpkgs/python3-traitlets/template
+++ b/srcpkgs/python3-traitlets/template
@@ -1,13 +1,13 @@
# Template file for 'python3-traitlets'
pkgname=python3-traitlets
version=5.9.0
-revision=1
+revision=2
build_style=python3-pep517
-hostmakedepends="python3-flit_core hatchling"
-depends="python3-decorator python3-ipython_genutils python3-six"
-checkdepends="$depends python3-pytest"
+hostmakedepends="hatchling"
+depends="python3"
+checkdepends="python3-argcomplete python3-pytest-mock"
short_desc="Configuration system for Python applications"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/traitlets"
changelog="https://github.com/ipython/traitlets/raw/main/CHANGELOG.md"
From 8359c96c54499141dd19c5b0e7712f9b8dd5e066 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:25:45 -0300
Subject: [PATCH 11/28] python3-comm: update to 0.1.3.
---
srcpkgs/python3-comm/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template
index 0bbba8dc0eda..29ebd5afd772 100644
--- a/srcpkgs/python3-comm/template
+++ b/srcpkgs/python3-comm/template
@@ -1,6 +1,6 @@
# Template file for 'python3-comm'
pkgname=python3-comm
-version=0.1.1
+version=0.1.3
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
@@ -10,8 +10,9 @@ short_desc="Python comm implementation for the Jupyter kernel protocol"
maintainer="dkwo <npiazza@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/comm/"
-distfiles="https://github.com/ipython/comm/archive/refs/tags/$version.tar.gz"
-checksum=2868dfd1e482b821a929d662bf3d89adeb8a091239bf1497187797fe9e4c12fa
+changelog="https://raw.githubusercontent.com/ipython/comm/main/CHANGELOG.md"
+distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz"
+checksum=9bdea650a6194bf1628b17c2668bf74bf5295c87a7528a8aa4fe4472904b26f2
post_install() {
vlicense LICENSE
From dc24418a7880ff5e0e389c3b6b7849f6762359af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:03:16 -0300
Subject: [PATCH 12/28] New package: python3-strict-rfc3339-0.7
---
srcpkgs/python3-strict-rfc3339/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-strict-rfc3339/template
diff --git a/srcpkgs/python3-strict-rfc3339/template b/srcpkgs/python3-strict-rfc3339/template
new file mode 100644
index 000000000000..411d2e93535a
--- /dev/null
+++ b/srcpkgs/python3-strict-rfc3339/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-strict-rfc3339'
+pkgname=python3-strict-rfc3339
+version=0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Strict, simple, lightweight RFC3339 functions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="https://pypi.org/project/strict-rfc3339/"
+distfiles="${PYPI_SITE}/s/strict-rfc3339/strict-rfc3339-${version}.tar.gz"
+checksum=5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
+make_check=no # no tests available
From cd043e9863559e95dd74b3eb9e7cb4d5bd858e03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:09:32 -0300
Subject: [PATCH 13/28] New package: python3-rfc3339-validator-0.1.4
---
srcpkgs/python3-rfc3339-validator/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-rfc3339-validator/template
diff --git a/srcpkgs/python3-rfc3339-validator/template b/srcpkgs/python3-rfc3339-validator/template
new file mode 100644
index 000000000000..bc572b2f301a
--- /dev/null
+++ b/srcpkgs/python3-rfc3339-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3339-validator'
+pkgname=python3-rfc3339-validator
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-six"
+checkdepends="$depends python3-hypothesis python3-pytest python3-strict-rfc3339"
+short_desc="Pure python RFC3339 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3339-validator"
+distfiles="${PYPI_SITE}/r/rfc3339-validator/rfc3339_validator-${version}.tar.gz"
+checksum=138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b
+
+post_install() {
+ vlicense LICENSE
+}
From 0a2372af577739db86667c0b754212dde32ffeb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 7 Jun 2023 23:34:03 -0300
Subject: [PATCH 14/28] New package: python3-rfc3987-1.3.8
---
srcpkgs/python3-rfc3987/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-rfc3987/template
diff --git a/srcpkgs/python3-rfc3987/template b/srcpkgs/python3-rfc3987/template
new file mode 100644
index 000000000000..f25379e582b7
--- /dev/null
+++ b/srcpkgs/python3-rfc3987/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-rfc3987'
+pkgname=python3-rfc3987
+version=1.3.8
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="http://pypi.python.org/pypi/rfc3987"
+distfiles="${PYPI_SITE}/r/rfc3987/rfc3987-${version}.tar.gz"
+checksum=d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733
+make_check=no # no tests available
From 8687fca0d56bd4138766fa748e7ff32e95bca506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:22:20 -0300
Subject: [PATCH 15/28] New package: python3-rfc3986-validator-0.1.1
---
.../python3-rfc3986-validator/patches/3.patch | 40 +++++++++++++++++++
srcpkgs/python3-rfc3986-validator/template | 18 +++++++++
2 files changed, 58 insertions(+)
create mode 100644 srcpkgs/python3-rfc3986-validator/patches/3.patch
create mode 100644 srcpkgs/python3-rfc3986-validator/template
diff --git a/srcpkgs/python3-rfc3986-validator/patches/3.patch b/srcpkgs/python3-rfc3986-validator/patches/3.patch
new file mode 100644
index 000000000000..991662d5fb52
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/patches/3.patch
@@ -0,0 +1,40 @@
+From f34f482530170972947b259844d00830a15f81a4 Mon Sep 17 00:00:00 2001
+From: chedi toueiti <chedi.toueiti@gmail.com>
+Date: Tue, 12 Jul 2022 21:01:31 +0100
+Subject: [PATCH] Removing deprecated pytest-runner and adding missing test
+ dependencies
+
+---
+ setup.cfg | 5 +++++
+ setup.py | 4 ++--
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 21c0a34..db0c26b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -23,3 +23,8 @@ test = pytest
+ [tool:pytest]
+ collect_ignore = ['setup.py']
+
++[options.extras_require]
++test =
++ pytest >= 3
++ rfc3987
++ hypothesis
+diff --git a/setup.py b/setup.py
+index 53ebea7..1652285 100644
+--- a/setup.py
++++ b/setup.py
+@@ -10,9 +10,9 @@
+
+ requirements = []
+
+-setup_requirements = ['pytest-runner', ]
++setup_requirements = []
+
+-test_requirements = ['pytest>=3', ]
++test_requirements = []
+
+ setup(
+ author="Nicolas Aimetti",
diff --git a/srcpkgs/python3-rfc3986-validator/template b/srcpkgs/python3-rfc3986-validator/template
new file mode 100644
index 000000000000..fc402d543d14
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-rfc3986-validator'
+pkgname=python3-rfc3986-validator
+version=0.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest python3-hypothesis python3-rfc3987"
+short_desc="Pure python RFC3986 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3986-validator"
+distfiles="${PYPI_SITE}/r/rfc3986-validator/rfc3986_validator-${version}.tar.gz"
+checksum=3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
+
+post_install() {
+ vlicense LICENSE
+}
From 1ac7ec799b7f9daf66f91db3c130cdf20eb070ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:34:09 -0300
Subject: [PATCH 16/28] python3-jsonschema: add rfc3339 and rfc3986 validators.
---
srcpkgs/python3-jsonschema/template | 10 +++-------
srcpkgs/python3-jsonschema/update | 2 +-
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 8ec7cef8d755..272eb06edbdd 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
version=4.17.3
-revision=1
+revision=2
build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug"
hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-pyrsistent"
+depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
+ python3-rfc3339-validator python3-rfc3986-validator"
checkdepends="${depends} python3-pytest python3-pip"
short_desc="Implementation of JSON Schema for Python3"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@@ -15,10 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
-pre_build() {
- export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
-}
-
post_install() {
vlicense COPYING LICENSE
}
diff --git a/srcpkgs/python3-jsonschema/update b/srcpkgs/python3-jsonschema/update
index c94d83e1b1b5..12175d032c85 100644
--- a/srcpkgs/python3-jsonschema/update
+++ b/srcpkgs/python3-jsonschema/update
@@ -1 +1 @@
-ignore="*a[1-9]"
+ignore="*a[1-9]*"
From 73ce89b79dd6bd009c03e3a1977d6a656ad16759 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:31:37 -0300
Subject: [PATCH 17/28] New package: hatch-jupyter-builder-0.8.3
---
srcpkgs/hatch-jupyter-builder/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-jupyter-builder/template
diff --git a/srcpkgs/hatch-jupyter-builder/template b/srcpkgs/hatch-jupyter-builder/template
new file mode 100644
index 000000000000..674c221e1ebb
--- /dev/null
+++ b/srcpkgs/hatch-jupyter-builder/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-jupyter-builder'
+pkgname=hatch-jupyter-builder
+version=0.8.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest-mock python3-tomli"
+short_desc="Hatch plugin to help build Jupyter packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/hatch-jupyter-builder"
+changelog="https://raw.githubusercontent.com/jupyterlab/hatch-jupyter-builder/main/CHANGELOG.md"
+distfiles="https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v${version}.tar.gz"
+checksum=b167709e9bd196b3b92fe13a20b10c09cd30ca550759a9f06834378eb371af96
+
+post_install() {
+ vlicense LICENSE.txt
+}
From ea93533ccc8f3ae217ebee222bf19d164f5c6d9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 18:18:06 -0300
Subject: [PATCH 18/28] New package: hatch-nodejs-version-0.3.1
---
srcpkgs/hatch-nodejs-version/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/hatch-nodejs-version/template
diff --git a/srcpkgs/hatch-nodejs-version/template b/srcpkgs/hatch-nodejs-version/template
new file mode 100644
index 000000000000..389c85500bf2
--- /dev/null
+++ b/srcpkgs/hatch-nodejs-version/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-nodejs-version'
+pkgname=hatch-nodejs-version
+version=0.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest"
+short_desc="Hatch plugin to read pyproject.toml metadata from package.json"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/agoose77/hatch-nodejs-version"
+changelog="https://github.com/agoose77/hatch-nodejs-version/releases"
+distfiles="https://github.com/agoose77/hatch-nodejs-version/archive/refs/tags/v${version}.tar.gz"
+checksum=9959efbee3021dba4da7f8c152cacf104c746341ed176cd0488cbf3b45deba4d
+
+post_install() {
+ vlicense LICENSE.txt
+}
From 3f878081fa53b60c2a9a111ddeba8714cd0046ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 28 May 2023 00:07:40 -0300
Subject: [PATCH 19/28] New package: python3-async-lru-2.0.2
---
srcpkgs/python3-async-lru/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-async-lru/template
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
new file mode 100644
index 000000000000..130589174c1c
--- /dev/null
+++ b/srcpkgs/python3-async-lru/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-async-lru'
+pkgname=python3-async-lru
+version=2.0.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3-typing_extensions"
+checkdepends="$depends python3-pytest-asyncio python3-pytest-cov
+ python3-pytest-timeout"
+short_desc="Simple LRU cache for asyncio"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/aio-libs/async-lru"
+changelog="https://github.com/aio-libs/async-lru/blob/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
+checksum=3b87ec4f2460c52cc7916a0138cc606b584c75d1ef7d661853c95d1d3acb869a
+
+post_install() {
+ vlicense LICENSE
+}
From bf5fb1be1ece41592992b736057fca97f10884fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:56:29 -0300
Subject: [PATCH 20/28] New package: python3-json-logger-2.0.7
---
srcpkgs/python3-json-logger/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-json-logger/template
diff --git a/srcpkgs/python3-json-logger/template b/srcpkgs/python3-json-logger/template
new file mode 100644
index 000000000000..747a925d56f0
--- /dev/null
+++ b/srcpkgs/python3-json-logger/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-json-logger'
+pkgname=python3-json-logger
+version=2.0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Json Formatter for the standard python logger"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-2-Clause"
+homepage="https://github.com/madzak/python-json-logger"
+changelog="https://raw.githubusercontent.com/madzak/python-json-logger/master/CHANGELOG.md"
+distfiles="https://github.com/madzak/python-json-logger/archive/refs/tags/v${version}.tar.gz"
+checksum=1d743e5573642bed1a5698dbfa5fc1c2a8e076fea95212e67518bec940e43ec1
+
+post_install() {
+ vlicense LICENSE
+}
From 0641b14bce3e172023e1322602e18ecb8c7c57ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:58:52 -0300
Subject: [PATCH 21/28] New package: python3-jupyter_packaging-0.12.3
---
.../patches/178.patch | 23 +++++++++++++++++++
srcpkgs/python3-jupyter_packaging/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-jupyter_packaging/patches/178.patch
create mode 100644 srcpkgs/python3-jupyter_packaging/template
diff --git a/srcpkgs/python3-jupyter_packaging/patches/178.patch b/srcpkgs/python3-jupyter_packaging/patches/178.patch
new file mode 100644
index 000000000000..a158454dbb73
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/patches/178.patch
@@ -0,0 +1,23 @@
+From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001
+From: Steven Silvester <steven.silvester@ieee.org>
+Date: Tue, 7 Mar 2023 10:47:22 -0600
+Subject: [PATCH] Ignore warning raised when importing
+ setuptools.command.develop
+
+---
+ pyproject.toml | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e4c1e27..b316257 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -81,5 +81,7 @@ filterwarnings= [
+ # Fail on warnings
+ "error",
+ # Ignore our own deprecation warnings.
+- "ignore:.*:deprecation.DeprecatedWarning"
++ "ignore:.*:deprecation.DeprecatedWarning",
++ # Ignore warning raised when importing setuptools.command.develop.
++ "ignore:pkg_resources is deprecated as an API:DeprecationWarning"
+ ]
diff --git a/srcpkgs/python3-jupyter_packaging/template b/srcpkgs/python3-jupyter_packaging/template
new file mode 100644
index 000000000000..8c064fb464c6
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_packaging'
+pkgname=python3-jupyter_packaging
+version=0.12.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-deprecation python3-packaging python3-setuptools
+ python3-tomlkit python3-wheel"
+checkdepends="$depends python3-pytest-timeout python3-pytest-mock"
+short_desc="Tools to help build and install Jupyter Python packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter/jupyter-packaging"
+changelog="https://raw.githubusercontent.com/jupyter/jupyter-packaging/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v${version}.tar.gz"
+checksum=3a326f3b4e8b7fea8b7abf775741996095a4caf13767a9c017e9f17043e591e0
+
+post_install() {
+ vlicense LICENSE
+}
From c0103c356ab28d5d07669757196d01ed21cbfac3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 19:19:18 -0300
Subject: [PATCH 22/28] New package: python3-overrides-7.3.1
---
srcpkgs/python3-overrides/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-overrides/template
diff --git a/srcpkgs/python3-overrides/template b/srcpkgs/python3-overrides/template
new file mode 100644
index 000000000000..9c1b507e9240
--- /dev/null
+++ b/srcpkgs/python3-overrides/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-overrides'
+pkgname=python3-overrides
+version=7.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Decorator to automatically detect mismatch when overriding a method"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/mkorpela/overrides"
+changelog="https://github.com/mkorpela/overrides/releases"
+distfiles="https://github.com/mkorpela/overrides/archive/refs/tags/${version}.tar.gz"
+checksum=ff904c45a8a664aaeeac0a849f5097567d52a88c2324b12ad002c8b58e83625c
From a4f9bbc4902de8c49678f5d886c1cd295d39b707 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 21:18:00 -0300
Subject: [PATCH 23/28] New package: python3-pathable-0.4.3
---
srcpkgs/python3-pathable/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pathable/template
diff --git a/srcpkgs/python3-pathable/template b/srcpkgs/python3-pathable/template
new file mode 100644
index 000000000000..70892d570eaa
--- /dev/null
+++ b/srcpkgs/python3-pathable/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pathable'
+pkgname=python3-pathable
+version=0.4.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+checkdepends="python3-pytest-cov python3-toml"
+short_desc="Object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/pathable"
+changelog="https://github.com/p1c2u/pathable/releases"
+distfiles="https://github.com/p1c2u/pathable/archive/refs/tags/${version}.tar.gz"
+checksum=eea76120e5fdc54f4e9b7bc5e24748d163cef61c3e60ed32675828ade141cf4b
From dd1dbf9deef72f3e2616edd201c0ec76e85eefdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:52:44 -0300
Subject: [PATCH 24/28] New package: python3-jsonschema-spec-0.1.6
---
srcpkgs/python3-jsonschema-spec/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-jsonschema-spec/template
diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
new file mode 100644
index 000000000000..6caba5a29370
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-jsonschema-spec'
+pkgname=python3-jsonschema-spec
+version=0.1.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema python3-pathable python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="JSONSchema Spec with object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/jsonschema-spec"
+changelog="https://github.com/p1c2u/jsonschema-spec/releases"
+distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
+checksum=ab1d01d3ed40f83c3e272ffc86505830085a5306ad43db04a6e8edf560fedd1d
From d72770f0f1323d5297460cddda7620f4a95a391b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:39:45 -0300
Subject: [PATCH 25/28] New package: python3-openapi-schema-validator-0.4.4
---
.../python3-openapi-schema-validator/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-openapi-schema-validator/template
diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
new file mode 100644
index 000000000000..bb26e4a7d603
--- /dev/null
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-openapi-schema-validator'
+pkgname=python3-openapi-schema-validator
+version=0.4.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI schema validation for Python"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-schema-validator"
+changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
+checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+
+post_install() {
+ vlicense LICENSE
+}
From 2fbe774729b2a9b86f98f1ef1eda23e7f4e2ee01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:40:13 -0300
Subject: [PATCH 26/28] New package: python3-openapi-spec-validator-0.5.7
---
srcpkgs/python3-openapi-spec-validator/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-openapi-spec-validator/template
diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
new file mode 100644
index 000000000000..f75c24694c30
--- /dev/null
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-openapi-spec-validator'
+pkgname=python3-openapi-spec-validator
+version=0.5.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema-spec python3-lazy-object-proxy
+ python3-openapi-schema-validator"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI spec validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/python-openapi/openapi-spec-validator"
+changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
+checksum=6c2d42180045a80fd6314de848b94310bdb0fa4949f4b099578b69f79d9fa5ac
From ab196516d75ab6bfbb1bf6608cdff53cb43dfa2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 01:38:55 -0300
Subject: [PATCH 27/28] New package: python3-openapi-core-0.17.1
---
srcpkgs/python3-openapi-core/template | 28 +++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 srcpkgs/python3-openapi-core/template
diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
new file mode 100644
index 000000000000..2dd5dceab1d6
--- /dev/null
+++ b/srcpkgs/python3-openapi-core/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-openapi-core'
+pkgname=python3-openapi-core
+version=0.17.1
+revision=1
+build_style=python3-pep517
+# disable tests requiring unpackaged dependencies
+make_check_args="
+ --ignore=tests/unit/contrib/django
+ --ignore=tests/integration/contrib/django
+ --ignore=tests/integration/contrib/falcon
+ --ignore=tests/integration/contrib/starlette
+ "
+hostmakedepends="python3-poetry-core"
+depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
+ python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
+ python3-responses python3-toml python3-WebOb"
+short_desc="Support for the OpenAPI Specification v3"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-core"
+changelog="https://github.com/python-openapi/openapi-core/releases"
+distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
+checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+
+post_install() {
+ vlicense LICENSE
+}
From 2363893a890253347cd534fa449a4d74e307a471 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 21:11:54 -0300
Subject: [PATCH 28/28] New package: python3-pep440-0.1.2
---
srcpkgs/python3-pep440/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/python3-pep440/template
diff --git a/srcpkgs/python3-pep440/template b/srcpkgs/python3-pep440/template
new file mode 100644
index 000000000000..3048d03ae671
--- /dev/null
+++ b/srcpkgs/python3-pep440/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pep440'
+pkgname=python3-pep440
+version=0.1.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+checkdepends="python3-pytest-console-scripts"
+short_desc="Utils to check whether version numbers match PEP 440"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/Carreau/pep440"
+distfiles="https://github.com/Carreau/pep440/archive/refs/tags/${version}.tar.gz"
+checksum=4f38145d7b71aad9743b3f4aec6338a2dad4010a14a223493bf0b3b7b99027ef
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Closed]: Updates to python packages needed for jupyter notebook and jupyterlab
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
` (7 preceding siblings ...)
2023-06-15 2:19 ` tornaria
@ 2023-06-15 20:46 ` ahesford
8 siblings, 0 replies; 10+ messages in thread
From: ahesford @ 2023-06-15 20:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3304 bytes --]
There's a closed pull request on the void-packages repository
Updates to python packages needed for jupyter notebook and jupyterlab
https://github.com/void-linux/void-packages/pull/44312
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Mostly taken from #44160, this updates or creates several python packages needed for jupyter packages:
- python3-argcomplete: update to 3.0.8. (check: traitlets)
- python3-BeautifulSoup4: update to 4.12.2. (dep: nbconvert)
- python3-bleach: update to 6.0.0. (dep: nbconvert)
- python3-comm: update to 0.1.3. (dep: ipykernel)
- python3-fastjsonschema: update to 2.17.1 (dep: nbformat)
- python3-jsonpointer: update to 2.3. (dep: jsonschema)
- python3-nest_asyncio: update to 1.5.6. (dep: ipykernel)
- python3-pyrsistent: update to 0.19.3. (dep: jsonschema)
- python3-tornado: update to 6.3.2. (dep: ipykernel)
- New package: python3-strict-rfc3339-0.7 (check: rfc3339-validator))
- New package: python3-rfc3339-validator-0.1.4 (dep: jsonschema)
- New package: python3-rfc3987 (check: rfc3986-validator)
- New package: python3-rfc3986-validator-0.1.1 (dep: jsonschema)
- python3-jsonschema: add validators (dep: nbformat)
- New package: hatch-jupyter-builder-0.8.3 (build: nbclassic)
- New package: hatch-nodejs-version-0.3.1 (build: nbformat)
- New package: python3-async-lru-2.0.2 (dep: jupyterlab)
- New package: python3-json-logger-2.0.7 (dep: jupyter_events)
- New package: python3-jupyter_packaging-0.12.3 (build: notebook)
- New package: python3-overrides-7.3.1 (dep: jupyter_server)
- New package: python3-pathable-0.4.3 (dep: jsonschema-spec)
- New package: python3-jsonschema-spec-0.1.4 (dep: openapi-spec-validator)
- New package: python3-openapi-schema-validator-0.4.4 (dep: openapi-spec-validator)
- New package: python3-openapi-spec-validator-0.5.6 (dep: openapi-core)
- New package: python3-openapi-core-0.17.1 (check: jupyterlab_server)
- New package: python3-pep440-0.1.2 (check: nbformat)
Some of these will be used only after #44160, either because updates to some jupyter package needs them for build or runtime, or because they are needed to check (and part of #44160 is making all jupyter packages testable in CI).
I think it may be easier to handle #44272 and this PR first, and let #44160 be more manageable.
Everything uses pep517 build style, and check is working for everything.
<!--
#### 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
-->
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-06-15 20:46 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-08 3:15 [PR PATCH] Updates to python packages needed for jupyter notebook and jupyterlab tornaria
2023-06-08 10:51 ` tornaria
2023-06-08 10:59 ` [PR PATCH] [Updated] " tornaria
2023-06-09 0:23 ` tornaria
2023-06-10 15:33 ` tornaria
2023-06-10 15:39 ` tornaria
2023-06-10 16:14 ` [PR PATCH] [Updated] " tornaria
2023-06-12 20:50 ` tornaria
2023-06-15 2:19 ` tornaria
2023-06-15 20:46 ` [PR PATCH] [Closed]: " ahesford
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).