Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps
@ 2022-11-18 13:49 jcgruenhage
  2022-11-18 14:28 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-18 13:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1707 bytes --]

There is a new pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-matrix-nio-0.20.1_1
https://github.com/void-linux/void-packages/pull/40596

python3-matrix-nio: adopt, update to 0.20.1, update deps
- olm: adopt, update to 3.2.13.
- olm-python3: adopt, update to 3.2.13.
- python3-logbook: adopt
- New package: python3-Faker-15.3.2
- New package: python3-aioresponses-0.7.3
- New package: python3-pytest-benchmark-4.0.0
- New package: python3-pytest-black-0.3.12
- New package: python3-pytest-isort-3.1.0
- python3-matrix-nio: adopt, update to 0.20.1.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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/40596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-matrix-nio-0.20.1_1-40596.patch --]
[-- Type: text/x-diff, Size: 12388 bytes --]

From cf9798b3b421933bff6788451c60febf691e850e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:39 +0100
Subject: [PATCH 1/9] olm: adopt, update to 3.2.13.

---
 srcpkgs/olm/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template
index 8b5c5d64b892..ce82a5c8dc60 100644
--- a/srcpkgs/olm/template
+++ b/srcpkgs/olm/template
@@ -1,14 +1,15 @@
 # Template file for 'olm'
 pkgname=olm
-version=3.2.8
+version=3.2.13
 revision=1
 build_style=cmake
 short_desc="Implementation of the Double Ratchet cryptographic ratchet"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 do_check() {
 	cd build/tests

From 1907de6a035441bd060a225c7186ca6649e31222 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:47 +0100
Subject: [PATCH 2/9] olm-python3: adopt, update to 3.2.13.

---
 srcpkgs/olm-python3/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template
index db5bf6270aea..103a6eb53cde 100644
--- a/srcpkgs/olm-python3/template
+++ b/srcpkgs/olm-python3/template
@@ -1,18 +1,19 @@
 # Template file for 'olm-python3'
 pkgname=olm-python3
-version=3.2.8
-revision=2
+version=3.2.13
+revision=1
 build_wrksrc=python
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-cffi"
 makedepends="python3-devel libffi-devel olm-devel"
 depends="python3-cffi python3-future"
 short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 # requires unpackaged pytest-{benchmark,isort}
 make_check=no
 

From b4c79ad083f7ce014d11c32b47523adc33d8fe2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:46:50 +0100
Subject: [PATCH 3/9] python3-logbook: adopt

---
 srcpkgs/python3-logbook/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/python3-logbook/template b/srcpkgs/python3-logbook/template
index 1c1ba1856fbf..5f7746efd728 100644
--- a/srcpkgs/python3-logbook/template
+++ b/srcpkgs/python3-logbook/template
@@ -6,7 +6,7 @@ build_style=python3-module
 hostmakedepends="python3-setuptools python3-devel python3-Cython"
 depends="python3"
 short_desc="Replacement for python's standard library logging module"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://logbook.readthedocs.org"
 distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz"

From fc038f283e49c78167cb931b562b330781a16818 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:12 +0100
Subject: [PATCH 4/9] New package: python3-Faker-15.3.2

---
 srcpkgs/python3-Faker/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-Faker/template

diff --git a/srcpkgs/python3-Faker/template b/srcpkgs/python3-Faker/template
new file mode 100644
index 000000000000..4cbb0314f098
--- /dev/null
+++ b/srcpkgs/python3-Faker/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-Faker'
+pkgname=python3-Faker
+version=15.3.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-dateutil"
+short_desc="Python package for generating fake data"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://faker.readthedocs.io/en/master/"
+changelog="https://github.com/joke2k/faker/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/F/Faker/Faker-${version}.tar.gz"
+checksum=0094fe3340ad73c490d3ffccc59cc171b161acfccccd52925c70970ba23e6d6b
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 65fe2a9a8ef4817c686b73245f5cacd82ce471ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:18 +0100
Subject: [PATCH 5/9] New package: python3-aioresponses-0.7.3

---
 srcpkgs/python3-aioresponses/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-aioresponses/template

diff --git a/srcpkgs/python3-aioresponses/template b/srcpkgs/python3-aioresponses/template
new file mode 100644
index 000000000000..a209c7e0c39f
--- /dev/null
+++ b/srcpkgs/python3-aioresponses/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-aioresponses'
+pkgname=python3-aioresponses
+version=0.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pbr python3-setuptools"
+depends="python3-aiohttp"
+short_desc="Helper for mock/fake web requests in python aiohttp package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pnuckowski/aioresponses"
+distfiles="${PYPI_SITE}/a/aioresponses/aioresponses-${version}.tar.gz"
+checksum=2c64ed5710ee8cb4e958c569184dad12f4c9cd5939135cb38f88c6a8261cceb3
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7cd73e653d6529ff6cd6183ea930ba94ee8e3f72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:25 +0100
Subject: [PATCH 6/9] New package: python3-pytest-benchmark-4.0.0

---
 srcpkgs/python3-pytest-benchmark/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-benchmark/template

diff --git a/srcpkgs/python3-pytest-benchmark/template b/srcpkgs/python3-pytest-benchmark/template
new file mode 100644
index 000000000000..f14b4dc774de
--- /dev/null
+++ b/srcpkgs/python3-pytest-benchmark/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-benchmark'
+pkgname=python3-pytest-benchmark
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-pytest python3-py-cpuinfo"
+short_desc="Pytest fixture for benchmarking code"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/pytest-benchmark"
+changelog="https://github.com/ionelmc/pytest-benchmark/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-benchmark/pytest-benchmark-${version}.tar.gz"
+checksum=fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1
+# requires itself to be properly installed
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From f5fe7c8253067ccddb7c02fe1b4d26e9e2f2e137 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:30 +0100
Subject: [PATCH 7/9] New package: python3-pytest-black-0.3.12

---
 srcpkgs/python3-pytest-black/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-black/template

diff --git a/srcpkgs/python3-pytest-black/template b/srcpkgs/python3-pytest-black/template
new file mode 100644
index 000000000000..45c0089069b5
--- /dev/null
+++ b/srcpkgs/python3-pytest-black/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-black'
+pkgname=python3-pytest-black
+version=0.3.12
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest black python3-toml"
+checkdepends="${depends} flake8"
+short_desc="Pytest plugin to enable formatting checks with black"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/shopkeep/pytest-black"
+distfiles="${PYPI_SITE}/p/pytest-black/pytest-black-${version}.tar.gz"
+checksum=1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5
+
+post_install() {
+	vlicense LICENSE
+}

From bf90378fcf94f7400ad291727fd2f28062b1604d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:34 +0100
Subject: [PATCH 8/9] New package: python3-pytest-isort-3.1.0

---
 srcpkgs/python3-pytest-isort/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..c3566853a180
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest python3-isort"
+checkdepends="${depends} python3-pytest-flake8 python3-pytest-black flake8"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
+checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.rst
+}

From f7beddd3b48d9a82e9905eb533c0575c2c842daa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:38:17 +0100
Subject: [PATCH 9/9] python3-matrix-nio: adopt, update to 0.20.1.

---
 srcpkgs/python3-matrix-nio/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-matrix-nio/template b/srcpkgs/python3-matrix-nio/template
index bc37e3f6e935..6f11edf91a7d 100644
--- a/srcpkgs/python3-matrix-nio/template
+++ b/srcpkgs/python3-matrix-nio/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-matrix-nio'
 pkgname=python3-matrix-nio
-version=0.15.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.20.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
 depends="python3-future python3-aiohttp python3-aiofiles python3-h11
  python3-h2 python3-logbook python3-jsonschema python3-unpaddedbase64
  python3-pycryptodome olm-python3 python3-peewee python3-cachetools
- python3-atomicwrites"
+ python3-atomicwrites python3-aiohttp_socks"
+checkdepends="${depends} python3-pytest python3-pytest-isort python3-pytest-cov
+ python3-hyperframe python3-hypothesis python3-hpack python3-Faker python3-mypy
+ python3-pytest-aiohttp python3-aioresponses python3-pytest-benchmark"
 short_desc="Python3 matrix.org client library designed without builtin io"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="ISC"
 homepage="https://github.com/poljar/matrix-nio"
+changelog="https://github.com/poljar/matrix-nio/raw/main/CHANGELOG.md"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=4fb0e9c5c9a89146ece71e8908974e41892679ee79a65182c2b2963445929935
+checksum=0b09c068be2dd975b083b7fc6730b8bc842014678945be4db1509aabe7b18237
 
 post_install() {
 	vlicense LICENSE.md

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR PATCH] [Updated] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
@ 2022-11-18 14:28 ` jcgruenhage
  2022-11-18 16:56 ` jcgruenhage
                   ` (24 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-18 14:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-matrix-nio-0.20.1_1
https://github.com/void-linux/void-packages/pull/40596

python3-matrix-nio: adopt, update to 0.20.1, update deps
- olm: adopt, update to 3.2.13.
- olm-python3: adopt, update to 3.2.13.
- python3-logbook: adopt
- New package: python3-Faker-15.3.2
- New package: python3-aioresponses-0.7.3
- New package: python3-pytest-benchmark-4.0.0
- New package: python3-pytest-black-0.3.12
- New package: python3-pytest-isort-3.1.0
- python3-matrix-nio: adopt, update to 0.20.1.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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/40596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-matrix-nio-0.20.1_1-40596.patch --]
[-- Type: text/x-diff, Size: 12388 bytes --]

From cf9798b3b421933bff6788451c60febf691e850e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:39 +0100
Subject: [PATCH 1/9] olm: adopt, update to 3.2.13.

---
 srcpkgs/olm/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template
index 8b5c5d64b892..ce82a5c8dc60 100644
--- a/srcpkgs/olm/template
+++ b/srcpkgs/olm/template
@@ -1,14 +1,15 @@
 # Template file for 'olm'
 pkgname=olm
-version=3.2.8
+version=3.2.13
 revision=1
 build_style=cmake
 short_desc="Implementation of the Double Ratchet cryptographic ratchet"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 do_check() {
 	cd build/tests

From 1907de6a035441bd060a225c7186ca6649e31222 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:47 +0100
Subject: [PATCH 2/9] olm-python3: adopt, update to 3.2.13.

---
 srcpkgs/olm-python3/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template
index db5bf6270aea..103a6eb53cde 100644
--- a/srcpkgs/olm-python3/template
+++ b/srcpkgs/olm-python3/template
@@ -1,18 +1,19 @@
 # Template file for 'olm-python3'
 pkgname=olm-python3
-version=3.2.8
-revision=2
+version=3.2.13
+revision=1
 build_wrksrc=python
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-cffi"
 makedepends="python3-devel libffi-devel olm-devel"
 depends="python3-cffi python3-future"
 short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 # requires unpackaged pytest-{benchmark,isort}
 make_check=no
 

From b4c79ad083f7ce014d11c32b47523adc33d8fe2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:46:50 +0100
Subject: [PATCH 3/9] python3-logbook: adopt

---
 srcpkgs/python3-logbook/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/python3-logbook/template b/srcpkgs/python3-logbook/template
index 1c1ba1856fbf..5f7746efd728 100644
--- a/srcpkgs/python3-logbook/template
+++ b/srcpkgs/python3-logbook/template
@@ -6,7 +6,7 @@ build_style=python3-module
 hostmakedepends="python3-setuptools python3-devel python3-Cython"
 depends="python3"
 short_desc="Replacement for python's standard library logging module"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://logbook.readthedocs.org"
 distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz"

From fc038f283e49c78167cb931b562b330781a16818 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:12 +0100
Subject: [PATCH 4/9] New package: python3-Faker-15.3.2

---
 srcpkgs/python3-Faker/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-Faker/template

diff --git a/srcpkgs/python3-Faker/template b/srcpkgs/python3-Faker/template
new file mode 100644
index 000000000000..4cbb0314f098
--- /dev/null
+++ b/srcpkgs/python3-Faker/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-Faker'
+pkgname=python3-Faker
+version=15.3.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-dateutil"
+short_desc="Python package for generating fake data"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://faker.readthedocs.io/en/master/"
+changelog="https://github.com/joke2k/faker/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/F/Faker/Faker-${version}.tar.gz"
+checksum=0094fe3340ad73c490d3ffccc59cc171b161acfccccd52925c70970ba23e6d6b
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 65fe2a9a8ef4817c686b73245f5cacd82ce471ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:18 +0100
Subject: [PATCH 5/9] New package: python3-aioresponses-0.7.3

---
 srcpkgs/python3-aioresponses/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-aioresponses/template

diff --git a/srcpkgs/python3-aioresponses/template b/srcpkgs/python3-aioresponses/template
new file mode 100644
index 000000000000..a209c7e0c39f
--- /dev/null
+++ b/srcpkgs/python3-aioresponses/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-aioresponses'
+pkgname=python3-aioresponses
+version=0.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pbr python3-setuptools"
+depends="python3-aiohttp"
+short_desc="Helper for mock/fake web requests in python aiohttp package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pnuckowski/aioresponses"
+distfiles="${PYPI_SITE}/a/aioresponses/aioresponses-${version}.tar.gz"
+checksum=2c64ed5710ee8cb4e958c569184dad12f4c9cd5939135cb38f88c6a8261cceb3
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7cd73e653d6529ff6cd6183ea930ba94ee8e3f72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:25 +0100
Subject: [PATCH 6/9] New package: python3-pytest-benchmark-4.0.0

---
 srcpkgs/python3-pytest-benchmark/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-benchmark/template

diff --git a/srcpkgs/python3-pytest-benchmark/template b/srcpkgs/python3-pytest-benchmark/template
new file mode 100644
index 000000000000..f14b4dc774de
--- /dev/null
+++ b/srcpkgs/python3-pytest-benchmark/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-benchmark'
+pkgname=python3-pytest-benchmark
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-pytest python3-py-cpuinfo"
+short_desc="Pytest fixture for benchmarking code"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/pytest-benchmark"
+changelog="https://github.com/ionelmc/pytest-benchmark/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-benchmark/pytest-benchmark-${version}.tar.gz"
+checksum=fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1
+# requires itself to be properly installed
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From f5fe7c8253067ccddb7c02fe1b4d26e9e2f2e137 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:30 +0100
Subject: [PATCH 7/9] New package: python3-pytest-black-0.3.12

---
 srcpkgs/python3-pytest-black/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-black/template

diff --git a/srcpkgs/python3-pytest-black/template b/srcpkgs/python3-pytest-black/template
new file mode 100644
index 000000000000..45c0089069b5
--- /dev/null
+++ b/srcpkgs/python3-pytest-black/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-black'
+pkgname=python3-pytest-black
+version=0.3.12
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest black python3-toml"
+checkdepends="${depends} flake8"
+short_desc="Pytest plugin to enable formatting checks with black"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/shopkeep/pytest-black"
+distfiles="${PYPI_SITE}/p/pytest-black/pytest-black-${version}.tar.gz"
+checksum=1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5
+
+post_install() {
+	vlicense LICENSE
+}

From bf90378fcf94f7400ad291727fd2f28062b1604d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:34 +0100
Subject: [PATCH 8/9] New package: python3-pytest-isort-3.1.0

---
 srcpkgs/python3-pytest-isort/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..c3566853a180
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest python3-isort"
+checkdepends="${depends} python3-pytest-flake8 python3-pytest-black flake8"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
+checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.rst
+}

From f7beddd3b48d9a82e9905eb533c0575c2c842daa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:38:17 +0100
Subject: [PATCH 9/9] python3-matrix-nio: adopt, update to 0.20.1.

---
 srcpkgs/python3-matrix-nio/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-matrix-nio/template b/srcpkgs/python3-matrix-nio/template
index bc37e3f6e935..6f11edf91a7d 100644
--- a/srcpkgs/python3-matrix-nio/template
+++ b/srcpkgs/python3-matrix-nio/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-matrix-nio'
 pkgname=python3-matrix-nio
-version=0.15.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.20.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
 depends="python3-future python3-aiohttp python3-aiofiles python3-h11
  python3-h2 python3-logbook python3-jsonschema python3-unpaddedbase64
  python3-pycryptodome olm-python3 python3-peewee python3-cachetools
- python3-atomicwrites"
+ python3-atomicwrites python3-aiohttp_socks"
+checkdepends="${depends} python3-pytest python3-pytest-isort python3-pytest-cov
+ python3-hyperframe python3-hypothesis python3-hpack python3-Faker python3-mypy
+ python3-pytest-aiohttp python3-aioresponses python3-pytest-benchmark"
 short_desc="Python3 matrix.org client library designed without builtin io"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="ISC"
 homepage="https://github.com/poljar/matrix-nio"
+changelog="https://github.com/poljar/matrix-nio/raw/main/CHANGELOG.md"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=4fb0e9c5c9a89146ece71e8908974e41892679ee79a65182c2b2963445929935
+checksum=0b09c068be2dd975b083b7fc6730b8bc842014678945be4db1509aabe7b18237
 
 post_install() {
 	vlicense LICENSE.md

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR PATCH] [Updated] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
  2022-11-18 14:28 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-11-18 16:56 ` jcgruenhage
  2022-11-18 19:09 ` icp1994
                   ` (23 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-18 16:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-matrix-nio-0.20.1_1
https://github.com/void-linux/void-packages/pull/40596

python3-matrix-nio: adopt, update to 0.20.1, update deps
- olm: adopt, update to 3.2.13.
- olm-python3: adopt, update to 3.2.13.
- python3-logbook: adopt
- New package: python3-Faker-15.3.2
- New package: python3-aioresponses-0.7.3
- New package: python3-pytest-benchmark-4.0.0
- New package: python3-pytest-black-0.3.12
- New package: python3-pytest-isort-3.1.0
- python3-matrix-nio: adopt, update to 0.20.1.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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/40596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-matrix-nio-0.20.1_1-40596.patch --]
[-- Type: text/x-diff, Size: 12844 bytes --]

From f73f11a6e2bde31afe3e2370edc40de73ac820c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:39 +0100
Subject: [PATCH 1/9] olm: adopt, update to 3.2.13.

---
 srcpkgs/olm/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template
index 8b5c5d64b892..ce82a5c8dc60 100644
--- a/srcpkgs/olm/template
+++ b/srcpkgs/olm/template
@@ -1,14 +1,15 @@
 # Template file for 'olm'
 pkgname=olm
-version=3.2.8
+version=3.2.13
 revision=1
 build_style=cmake
 short_desc="Implementation of the Double Ratchet cryptographic ratchet"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 do_check() {
 	cd build/tests

From 34fa1af6bf9f2f437984678e2c37b9bd4cfe9a57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:47 +0100
Subject: [PATCH 2/9] olm-python3: adopt, update to 3.2.13.

---
 srcpkgs/olm-python3/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template
index db5bf6270aea..103a6eb53cde 100644
--- a/srcpkgs/olm-python3/template
+++ b/srcpkgs/olm-python3/template
@@ -1,18 +1,19 @@
 # Template file for 'olm-python3'
 pkgname=olm-python3
-version=3.2.8
-revision=2
+version=3.2.13
+revision=1
 build_wrksrc=python
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-cffi"
 makedepends="python3-devel libffi-devel olm-devel"
 depends="python3-cffi python3-future"
 short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 # requires unpackaged pytest-{benchmark,isort}
 make_check=no
 

From 4b1379f3511bfdd5f1320ea18d3ae6b690d33055 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:46:50 +0100
Subject: [PATCH 3/9] python3-logbook: adopt, fix build and tests

---
 srcpkgs/python3-logbook/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-logbook/template b/srcpkgs/python3-logbook/template
index 1c1ba1856fbf..b49bd495ae46 100644
--- a/srcpkgs/python3-logbook/template
+++ b/srcpkgs/python3-logbook/template
@@ -1,12 +1,16 @@
 # Template file for 'python3-logbook'
 pkgname=python3-logbook
 version=1.5.3
-revision=5
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel python3-Cython"
+revision=6
+build_style=python3-pep517
+make_check_args="--ignore=scripts"
+make_install_target="dist/Logbook-${version}-*-*-*_*.whl"
+hostmakedepends="python3-setuptools python3-wheel python3-devel python3-Cython"
 depends="python3"
+checkdepends="python3-execnet python3-pytest python3-pyzmq python3-SQLAlchemy
+ python3-Jinja2 python3-Brotli"
 short_desc="Replacement for python's standard library logging module"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://logbook.readthedocs.org"
 distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz"

From e0c990518ddf511f7688cb338a6629ae719af65a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:12 +0100
Subject: [PATCH 4/9] New package: python3-Faker-15.3.2

---
 srcpkgs/python3-Faker/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-Faker/template

diff --git a/srcpkgs/python3-Faker/template b/srcpkgs/python3-Faker/template
new file mode 100644
index 000000000000..4cbb0314f098
--- /dev/null
+++ b/srcpkgs/python3-Faker/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-Faker'
+pkgname=python3-Faker
+version=15.3.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-dateutil"
+short_desc="Python package for generating fake data"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://faker.readthedocs.io/en/master/"
+changelog="https://github.com/joke2k/faker/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/F/Faker/Faker-${version}.tar.gz"
+checksum=0094fe3340ad73c490d3ffccc59cc171b161acfccccd52925c70970ba23e6d6b
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 925a276c4243b73bcca7983b0d4b763be206c6fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:18 +0100
Subject: [PATCH 5/9] New package: python3-aioresponses-0.7.3

---
 srcpkgs/python3-aioresponses/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-aioresponses/template

diff --git a/srcpkgs/python3-aioresponses/template b/srcpkgs/python3-aioresponses/template
new file mode 100644
index 000000000000..a209c7e0c39f
--- /dev/null
+++ b/srcpkgs/python3-aioresponses/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-aioresponses'
+pkgname=python3-aioresponses
+version=0.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pbr python3-setuptools"
+depends="python3-aiohttp"
+short_desc="Helper for mock/fake web requests in python aiohttp package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pnuckowski/aioresponses"
+distfiles="${PYPI_SITE}/a/aioresponses/aioresponses-${version}.tar.gz"
+checksum=2c64ed5710ee8cb4e958c569184dad12f4c9cd5939135cb38f88c6a8261cceb3
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From a9fab9b6834aaa933f823b94942d512fd9e4bdf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:25 +0100
Subject: [PATCH 6/9] New package: python3-pytest-benchmark-4.0.0

---
 srcpkgs/python3-pytest-benchmark/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-benchmark/template

diff --git a/srcpkgs/python3-pytest-benchmark/template b/srcpkgs/python3-pytest-benchmark/template
new file mode 100644
index 000000000000..f14b4dc774de
--- /dev/null
+++ b/srcpkgs/python3-pytest-benchmark/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-benchmark'
+pkgname=python3-pytest-benchmark
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-pytest python3-py-cpuinfo"
+short_desc="Pytest fixture for benchmarking code"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/pytest-benchmark"
+changelog="https://github.com/ionelmc/pytest-benchmark/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-benchmark/pytest-benchmark-${version}.tar.gz"
+checksum=fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1
+# requires itself to be properly installed
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 57f4ffe55981e6ffd9410fc8d301b3e263a3b5d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:30 +0100
Subject: [PATCH 7/9] New package: python3-pytest-black-0.3.12

---
 srcpkgs/python3-pytest-black/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-black/template

diff --git a/srcpkgs/python3-pytest-black/template b/srcpkgs/python3-pytest-black/template
new file mode 100644
index 000000000000..45c0089069b5
--- /dev/null
+++ b/srcpkgs/python3-pytest-black/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-black'
+pkgname=python3-pytest-black
+version=0.3.12
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest black python3-toml"
+checkdepends="${depends} flake8"
+short_desc="Pytest plugin to enable formatting checks with black"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/shopkeep/pytest-black"
+distfiles="${PYPI_SITE}/p/pytest-black/pytest-black-${version}.tar.gz"
+checksum=1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5
+
+post_install() {
+	vlicense LICENSE
+}

From daf4ce5fdbed7727d05cfd2e8cff04e94cb1f431 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:34 +0100
Subject: [PATCH 8/9] New package: python3-pytest-isort-3.1.0

---
 srcpkgs/python3-pytest-isort/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..c3566853a180
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest python3-isort"
+checkdepends="${depends} python3-pytest-flake8 python3-pytest-black flake8"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
+checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.rst
+}

From ebf4fd6b5bd7b931c9892ba168d5920d52583f73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:38:17 +0100
Subject: [PATCH 9/9] python3-matrix-nio: adopt, update to 0.20.1.

---
 srcpkgs/python3-matrix-nio/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-matrix-nio/template b/srcpkgs/python3-matrix-nio/template
index bc37e3f6e935..6f11edf91a7d 100644
--- a/srcpkgs/python3-matrix-nio/template
+++ b/srcpkgs/python3-matrix-nio/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-matrix-nio'
 pkgname=python3-matrix-nio
-version=0.15.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.20.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
 depends="python3-future python3-aiohttp python3-aiofiles python3-h11
  python3-h2 python3-logbook python3-jsonschema python3-unpaddedbase64
  python3-pycryptodome olm-python3 python3-peewee python3-cachetools
- python3-atomicwrites"
+ python3-atomicwrites python3-aiohttp_socks"
+checkdepends="${depends} python3-pytest python3-pytest-isort python3-pytest-cov
+ python3-hyperframe python3-hypothesis python3-hpack python3-Faker python3-mypy
+ python3-pytest-aiohttp python3-aioresponses python3-pytest-benchmark"
 short_desc="Python3 matrix.org client library designed without builtin io"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="ISC"
 homepage="https://github.com/poljar/matrix-nio"
+changelog="https://github.com/poljar/matrix-nio/raw/main/CHANGELOG.md"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=4fb0e9c5c9a89146ece71e8908974e41892679ee79a65182c2b2963445929935
+checksum=0b09c068be2dd975b083b7fc6730b8bc842014678945be4db1509aabe7b18237
 
 post_install() {
 	vlicense LICENSE.md

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
  2022-11-18 14:28 ` [PR PATCH] [Updated] " jcgruenhage
  2022-11-18 16:56 ` jcgruenhage
@ 2022-11-18 19:09 ` icp1994
  2022-11-18 19:49 ` [PR REVIEW] " icp1994
                   ` (22 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-18 19:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#issuecomment-1320422873

Comment:
Do we actually want to run the coverage/linting/benchmark tests while packaging? I checked locally and it seems we can get away with
```
checkdepends="${depends} python3-pytest-aiohttp python3-hyperframe
 python3-hypothesis python3-hpack python3-Faker python3-aioresponses"
```
with only one failing test due to missing pytest-benchmark. IMO it's safe to deselect without needing to package all these code-style pytest plugins.

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (4 preceding siblings ...)
  2022-11-18 19:49 ` icp1994
@ 2022-11-18 19:49 ` icp1994
  2022-11-18 19:49 ` icp1994
                   ` (19 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-18 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1026816360

Comment:
```suggestion
depends="python3-dateutil"
checkdepends="${depends} python3-freezegun python3-validators python3-Pillow python3-pytest"
```

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (2 preceding siblings ...)
  2022-11-18 19:09 ` icp1994
@ 2022-11-18 19:49 ` icp1994
  2022-11-18 19:49 ` icp1994
                   ` (21 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-18 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1026818994

Comment:
```suggestion
distfiles="https://github.com/poljar/matrix-nio/archive/refs/tags/${version}.tar.gz"
```

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (9 preceding siblings ...)
  2022-11-18 19:49 ` icp1994
@ 2022-11-18 19:49 ` icp1994
  2022-11-19 11:06 ` jcgruenhage
                   ` (14 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-18 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1026817150

Comment:
```suggestion
depends="python3-aiohttp"
checkdepends="${depends} python3-ddt python3-pytest"
```

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (8 preceding siblings ...)
  2022-11-18 19:49 ` icp1994
@ 2022-11-18 19:49 ` icp1994
  2022-11-18 19:49 ` icp1994
                   ` (15 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-18 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1026815723

Comment:
```suggestion
```

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (5 preceding siblings ...)
  2022-11-18 19:49 ` icp1994
@ 2022-11-18 19:49 ` icp1994
  2022-11-18 19:49 ` icp1994
                   ` (18 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-18 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1026815332

Comment:
```suggestion
depends="python3-cffi python3-future"
checkdepends="${depends} python3-pytest"
```

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (3 preceding siblings ...)
  2022-11-18 19:49 ` [PR REVIEW] " icp1994
@ 2022-11-18 19:49 ` icp1994
  2022-11-18 19:49 ` icp1994
                   ` (20 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-18 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1026814924

Comment:
```suggestion
build_style=python3-module
make_check_args="--deselect tests/group_session_test.py::TestClass::test_encrypt
 --deselect tests/group_session_test.py::TestClass::test_decrypt"
```

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (6 preceding siblings ...)
  2022-11-18 19:49 ` icp1994
@ 2022-11-18 19:49 ` icp1994
  2022-11-18 19:49 ` icp1994
                   ` (17 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-18 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1026816693

Comment:
```suggestion
```

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (7 preceding siblings ...)
  2022-11-18 19:49 ` icp1994
@ 2022-11-18 19:49 ` icp1994
  2022-11-18 19:49 ` icp1994
                   ` (16 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-18 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1026817337

Comment:
```suggestion
```

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (10 preceding siblings ...)
  2022-11-18 19:49 ` icp1994
@ 2022-11-19 11:06 ` jcgruenhage
  2022-11-19 11:16 ` jcgruenhage
                   ` (13 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-19 11:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1027075542

Comment:
this is definitely better than what we had before, but tbh, these are two really important tests for this library. They test core functionality, and deselecting those doesn't feel quite right.

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (11 preceding siblings ...)
  2022-11-19 11:06 ` jcgruenhage
@ 2022-11-19 11:16 ` jcgruenhage
  2022-11-19 11:18 ` jcgruenhage
                   ` (12 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-19 11:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#issuecomment-1320862258

Comment:
> Do we actually want to run the coverage/linting/benchmark tests while packaging? I checked locally and it seems we can get away [...] without needing to package all these code-style pytest plugins.

I'd rather package them instead of deselecting tests that require them all over the place. `olm-python3` is a good example here: The tests that have to be deselected because the deps are missing are the ones testing encryption and decryption, which are very much core features.

Even if it's not about core functionality being tested: I'd rather have a few more plugins packaged and have to think less about what I need to deselect and why, especially for widely used plugins like black, isort, mypy etc.

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (12 preceding siblings ...)
  2022-11-19 11:16 ` jcgruenhage
@ 2022-11-19 11:18 ` jcgruenhage
  2022-11-19 11:19 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (11 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-19 11:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#issuecomment-1320862638

Comment:
Either way though, thanks for looking into the tests for olm-python3, python3-Faker and python3-aioresponses, @icp1994!

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR PATCH] [Updated] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (13 preceding siblings ...)
  2022-11-19 11:18 ` jcgruenhage
@ 2022-11-19 11:19 ` jcgruenhage
  2022-11-19 11:23 ` jcgruenhage
                   ` (10 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-19 11:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-matrix-nio-0.20.1_1
https://github.com/void-linux/void-packages/pull/40596

python3-matrix-nio: adopt, update to 0.20.1, update deps
- olm: adopt, update to 3.2.13.
- olm-python3: adopt, update to 3.2.13.
- python3-logbook: adopt
- New package: python3-Faker-15.3.2
- New package: python3-aioresponses-0.7.3
- New package: python3-pytest-benchmark-4.0.0
- New package: python3-pytest-black-0.3.12
- New package: python3-pytest-isort-3.1.0
- python3-matrix-nio: adopt, update to 0.20.1.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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/40596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-matrix-nio-0.20.1_1-40596.patch --]
[-- Type: text/x-diff, Size: 13168 bytes --]

From 6ed68a8c09f83055b1a8a897846f52ce7aa0bdfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:39 +0100
Subject: [PATCH 1/9] olm: adopt, update to 3.2.13.

---
 srcpkgs/olm/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template
index 8b5c5d64b892..ce82a5c8dc60 100644
--- a/srcpkgs/olm/template
+++ b/srcpkgs/olm/template
@@ -1,14 +1,15 @@
 # Template file for 'olm'
 pkgname=olm
-version=3.2.8
+version=3.2.13
 revision=1
 build_style=cmake
 short_desc="Implementation of the Double Ratchet cryptographic ratchet"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 do_check() {
 	cd build/tests

From 5217be6289b5cca9927263fe3f655a7346089be0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:47 +0100
Subject: [PATCH 2/9] olm-python3: adopt, update to 3.2.13.

---
 srcpkgs/olm-python3/template | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template
index db5bf6270aea..6e08cdfdcf4e 100644
--- a/srcpkgs/olm-python3/template
+++ b/srcpkgs/olm-python3/template
@@ -1,20 +1,22 @@
 # Template file for 'olm-python3'
 pkgname=olm-python3
-version=3.2.8
-revision=2
+version=3.2.13
+revision=1
 build_wrksrc=python
 build_style=python3-module
+make_check_args="--deselect tests/group_session_test.py::TestClass::test_encrypt
+ --deselect tests/group_session_test.py::TestClass::test_decrypt" 
 hostmakedepends="python3-setuptools python3-cffi"
 makedepends="python3-devel libffi-devel olm-devel"
 depends="python3-cffi python3-future"
+checkdepends="${depends} python3-pytest"
 short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
-# requires unpackaged pytest-{benchmark,isort}
-make_check=no
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 pre_build() {
 	make include/olm/olm.h

From 4fa61a4d3971f15e338e9735c46d3ff10b03b654 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:46:50 +0100
Subject: [PATCH 3/9] python3-logbook: adopt, fix build and tests

---
 srcpkgs/python3-logbook/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-logbook/template b/srcpkgs/python3-logbook/template
index 1c1ba1856fbf..b49bd495ae46 100644
--- a/srcpkgs/python3-logbook/template
+++ b/srcpkgs/python3-logbook/template
@@ -1,12 +1,16 @@
 # Template file for 'python3-logbook'
 pkgname=python3-logbook
 version=1.5.3
-revision=5
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel python3-Cython"
+revision=6
+build_style=python3-pep517
+make_check_args="--ignore=scripts"
+make_install_target="dist/Logbook-${version}-*-*-*_*.whl"
+hostmakedepends="python3-setuptools python3-wheel python3-devel python3-Cython"
 depends="python3"
+checkdepends="python3-execnet python3-pytest python3-pyzmq python3-SQLAlchemy
+ python3-Jinja2 python3-Brotli"
 short_desc="Replacement for python's standard library logging module"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://logbook.readthedocs.org"
 distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz"

From 897128cadd2a3ebf7654bfccf81137e6388c248e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:12 +0100
Subject: [PATCH 4/9] New package: python3-Faker-15.3.2

---
 srcpkgs/python3-Faker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-Faker/template

diff --git a/srcpkgs/python3-Faker/template b/srcpkgs/python3-Faker/template
new file mode 100644
index 000000000000..f0b15a8f0757
--- /dev/null
+++ b/srcpkgs/python3-Faker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-Faker'
+pkgname=python3-Faker
+version=15.3.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-dateutil"
+checkdepends="${depends} python3-freezegun python3-validators python3-Pillow python3-pytest"
+short_desc="Python package for generating fake data"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://faker.readthedocs.io/en/master/"
+changelog="https://github.com/joke2k/faker/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/F/Faker/Faker-${version}.tar.gz"
+checksum=0094fe3340ad73c490d3ffccc59cc171b161acfccccd52925c70970ba23e6d6b
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 611ba23274ad43ff549e7134d55990678b6fd7b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:18 +0100
Subject: [PATCH 5/9] New package: python3-aioresponses-0.7.3

---
 srcpkgs/python3-aioresponses/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-aioresponses/template

diff --git a/srcpkgs/python3-aioresponses/template b/srcpkgs/python3-aioresponses/template
new file mode 100644
index 000000000000..dde93fd41a6a
--- /dev/null
+++ b/srcpkgs/python3-aioresponses/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-aioresponses'
+pkgname=python3-aioresponses
+version=0.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pbr python3-setuptools"
+depends="python3-aiohttp"
+checkdepends="${depends} python3-ddt python3-pytest"
+short_desc="Helper for mock/fake web requests in python aiohttp package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pnuckowski/aioresponses"
+distfiles="${PYPI_SITE}/a/aioresponses/aioresponses-${version}.tar.gz"
+checksum=2c64ed5710ee8cb4e958c569184dad12f4c9cd5939135cb38f88c6a8261cceb3
+
+post_install() {
+	vlicense LICENSE
+}

From 1859a41131c25a9d5a78c47a270ca7914e1973b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:25 +0100
Subject: [PATCH 6/9] New package: python3-pytest-benchmark-4.0.0

---
 srcpkgs/python3-pytest-benchmark/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-benchmark/template

diff --git a/srcpkgs/python3-pytest-benchmark/template b/srcpkgs/python3-pytest-benchmark/template
new file mode 100644
index 000000000000..f14b4dc774de
--- /dev/null
+++ b/srcpkgs/python3-pytest-benchmark/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-benchmark'
+pkgname=python3-pytest-benchmark
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-pytest python3-py-cpuinfo"
+short_desc="Pytest fixture for benchmarking code"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/pytest-benchmark"
+changelog="https://github.com/ionelmc/pytest-benchmark/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-benchmark/pytest-benchmark-${version}.tar.gz"
+checksum=fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1
+# requires itself to be properly installed
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 5d15a750ff68f1b5038585db652bbdcbeac9d9d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:30 +0100
Subject: [PATCH 7/9] New package: python3-pytest-black-0.3.12

---
 srcpkgs/python3-pytest-black/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-black/template

diff --git a/srcpkgs/python3-pytest-black/template b/srcpkgs/python3-pytest-black/template
new file mode 100644
index 000000000000..45c0089069b5
--- /dev/null
+++ b/srcpkgs/python3-pytest-black/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-black'
+pkgname=python3-pytest-black
+version=0.3.12
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest black python3-toml"
+checkdepends="${depends} flake8"
+short_desc="Pytest plugin to enable formatting checks with black"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/shopkeep/pytest-black"
+distfiles="${PYPI_SITE}/p/pytest-black/pytest-black-${version}.tar.gz"
+checksum=1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5
+
+post_install() {
+	vlicense LICENSE
+}

From ffcadc2545748c4dcd960fc40996065663a3d21f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:34 +0100
Subject: [PATCH 8/9] New package: python3-pytest-isort-3.1.0

---
 srcpkgs/python3-pytest-isort/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..c3566853a180
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest python3-isort"
+checkdepends="${depends} python3-pytest-flake8 python3-pytest-black flake8"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
+checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.rst
+}

From 610cfac41eb19270deaffbee565380b95d1a524b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:38:17 +0100
Subject: [PATCH 9/9] python3-matrix-nio: adopt, update to 0.20.1.

---
 srcpkgs/python3-matrix-nio/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-matrix-nio/template b/srcpkgs/python3-matrix-nio/template
index bc37e3f6e935..6f11edf91a7d 100644
--- a/srcpkgs/python3-matrix-nio/template
+++ b/srcpkgs/python3-matrix-nio/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-matrix-nio'
 pkgname=python3-matrix-nio
-version=0.15.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.20.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
 depends="python3-future python3-aiohttp python3-aiofiles python3-h11
  python3-h2 python3-logbook python3-jsonschema python3-unpaddedbase64
  python3-pycryptodome olm-python3 python3-peewee python3-cachetools
- python3-atomicwrites"
+ python3-atomicwrites python3-aiohttp_socks"
+checkdepends="${depends} python3-pytest python3-pytest-isort python3-pytest-cov
+ python3-hyperframe python3-hypothesis python3-hpack python3-Faker python3-mypy
+ python3-pytest-aiohttp python3-aioresponses python3-pytest-benchmark"
 short_desc="Python3 matrix.org client library designed without builtin io"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="ISC"
 homepage="https://github.com/poljar/matrix-nio"
+changelog="https://github.com/poljar/matrix-nio/raw/main/CHANGELOG.md"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=4fb0e9c5c9a89146ece71e8908974e41892679ee79a65182c2b2963445929935
+checksum=0b09c068be2dd975b083b7fc6730b8bc842014678945be4db1509aabe7b18237
 
 post_install() {
 	vlicense LICENSE.md

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR PATCH] [Updated] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (14 preceding siblings ...)
  2022-11-19 11:19 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-11-19 11:23 ` jcgruenhage
  2022-11-19 12:35 ` [PR REVIEW] " icp1994
                   ` (9 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-19 11:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-matrix-nio-0.20.1_1
https://github.com/void-linux/void-packages/pull/40596

python3-matrix-nio: adopt, update to 0.20.1, update deps
- olm: adopt, update to 3.2.13.
- olm-python3: adopt, update to 3.2.13.
- python3-logbook: adopt
- New package: python3-Faker-15.3.2
- New package: python3-aioresponses-0.7.3
- New package: python3-pytest-benchmark-4.0.0
- New package: python3-pytest-black-0.3.12
- New package: python3-pytest-isort-3.1.0
- python3-matrix-nio: adopt, update to 0.20.1.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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/40596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-matrix-nio-0.20.1_1-40596.patch --]
[-- Type: text/x-diff, Size: 13167 bytes --]

From 6ed68a8c09f83055b1a8a897846f52ce7aa0bdfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:39 +0100
Subject: [PATCH 1/9] olm: adopt, update to 3.2.13.

---
 srcpkgs/olm/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template
index 8b5c5d64b892..ce82a5c8dc60 100644
--- a/srcpkgs/olm/template
+++ b/srcpkgs/olm/template
@@ -1,14 +1,15 @@
 # Template file for 'olm'
 pkgname=olm
-version=3.2.8
+version=3.2.13
 revision=1
 build_style=cmake
 short_desc="Implementation of the Double Ratchet cryptographic ratchet"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 do_check() {
 	cd build/tests

From 0c5af67afad5ce881118fd7998ec95d96b4bd076 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:47 +0100
Subject: [PATCH 2/9] olm-python3: adopt, update to 3.2.13.

---
 srcpkgs/olm-python3/template | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template
index db5bf6270aea..b58730a12600 100644
--- a/srcpkgs/olm-python3/template
+++ b/srcpkgs/olm-python3/template
@@ -1,20 +1,22 @@
 # Template file for 'olm-python3'
 pkgname=olm-python3
-version=3.2.8
-revision=2
+version=3.2.13
+revision=1
 build_wrksrc=python
 build_style=python3-module
+make_check_args="--deselect tests/group_session_test.py::TestClass::test_encrypt
+ --deselect tests/group_session_test.py::TestClass::test_decrypt"
 hostmakedepends="python3-setuptools python3-cffi"
 makedepends="python3-devel libffi-devel olm-devel"
 depends="python3-cffi python3-future"
+checkdepends="${depends} python3-pytest"
 short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
-# requires unpackaged pytest-{benchmark,isort}
-make_check=no
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 pre_build() {
 	make include/olm/olm.h

From 00374daa6fc21d2516ccdfbc2e5a03d8bc5a2974 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:46:50 +0100
Subject: [PATCH 3/9] python3-logbook: adopt, fix build and tests

---
 srcpkgs/python3-logbook/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-logbook/template b/srcpkgs/python3-logbook/template
index 1c1ba1856fbf..b49bd495ae46 100644
--- a/srcpkgs/python3-logbook/template
+++ b/srcpkgs/python3-logbook/template
@@ -1,12 +1,16 @@
 # Template file for 'python3-logbook'
 pkgname=python3-logbook
 version=1.5.3
-revision=5
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel python3-Cython"
+revision=6
+build_style=python3-pep517
+make_check_args="--ignore=scripts"
+make_install_target="dist/Logbook-${version}-*-*-*_*.whl"
+hostmakedepends="python3-setuptools python3-wheel python3-devel python3-Cython"
 depends="python3"
+checkdepends="python3-execnet python3-pytest python3-pyzmq python3-SQLAlchemy
+ python3-Jinja2 python3-Brotli"
 short_desc="Replacement for python's standard library logging module"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://logbook.readthedocs.org"
 distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz"

From 88c3fb141c08ed8184bfa97053b381a9b96158e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:12 +0100
Subject: [PATCH 4/9] New package: python3-Faker-15.3.2

---
 srcpkgs/python3-Faker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-Faker/template

diff --git a/srcpkgs/python3-Faker/template b/srcpkgs/python3-Faker/template
new file mode 100644
index 000000000000..f0b15a8f0757
--- /dev/null
+++ b/srcpkgs/python3-Faker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-Faker'
+pkgname=python3-Faker
+version=15.3.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-dateutil"
+checkdepends="${depends} python3-freezegun python3-validators python3-Pillow python3-pytest"
+short_desc="Python package for generating fake data"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://faker.readthedocs.io/en/master/"
+changelog="https://github.com/joke2k/faker/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/F/Faker/Faker-${version}.tar.gz"
+checksum=0094fe3340ad73c490d3ffccc59cc171b161acfccccd52925c70970ba23e6d6b
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 5f762954809ca4e5bc8a8ef2fbd253cb89eff5f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:18 +0100
Subject: [PATCH 5/9] New package: python3-aioresponses-0.7.3

---
 srcpkgs/python3-aioresponses/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-aioresponses/template

diff --git a/srcpkgs/python3-aioresponses/template b/srcpkgs/python3-aioresponses/template
new file mode 100644
index 000000000000..dde93fd41a6a
--- /dev/null
+++ b/srcpkgs/python3-aioresponses/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-aioresponses'
+pkgname=python3-aioresponses
+version=0.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pbr python3-setuptools"
+depends="python3-aiohttp"
+checkdepends="${depends} python3-ddt python3-pytest"
+short_desc="Helper for mock/fake web requests in python aiohttp package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pnuckowski/aioresponses"
+distfiles="${PYPI_SITE}/a/aioresponses/aioresponses-${version}.tar.gz"
+checksum=2c64ed5710ee8cb4e958c569184dad12f4c9cd5939135cb38f88c6a8261cceb3
+
+post_install() {
+	vlicense LICENSE
+}

From 3dd86c0a2d2b2942e37c1aa5182def353920afaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:25 +0100
Subject: [PATCH 6/9] New package: python3-pytest-benchmark-4.0.0

---
 srcpkgs/python3-pytest-benchmark/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-benchmark/template

diff --git a/srcpkgs/python3-pytest-benchmark/template b/srcpkgs/python3-pytest-benchmark/template
new file mode 100644
index 000000000000..f14b4dc774de
--- /dev/null
+++ b/srcpkgs/python3-pytest-benchmark/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-benchmark'
+pkgname=python3-pytest-benchmark
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-pytest python3-py-cpuinfo"
+short_desc="Pytest fixture for benchmarking code"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/pytest-benchmark"
+changelog="https://github.com/ionelmc/pytest-benchmark/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-benchmark/pytest-benchmark-${version}.tar.gz"
+checksum=fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1
+# requires itself to be properly installed
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From e3bf95bf2c1b936a37cb3ff5f5feb19444eda13a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:30 +0100
Subject: [PATCH 7/9] New package: python3-pytest-black-0.3.12

---
 srcpkgs/python3-pytest-black/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-black/template

diff --git a/srcpkgs/python3-pytest-black/template b/srcpkgs/python3-pytest-black/template
new file mode 100644
index 000000000000..45c0089069b5
--- /dev/null
+++ b/srcpkgs/python3-pytest-black/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-black'
+pkgname=python3-pytest-black
+version=0.3.12
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest black python3-toml"
+checkdepends="${depends} flake8"
+short_desc="Pytest plugin to enable formatting checks with black"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/shopkeep/pytest-black"
+distfiles="${PYPI_SITE}/p/pytest-black/pytest-black-${version}.tar.gz"
+checksum=1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5
+
+post_install() {
+	vlicense LICENSE
+}

From deb62c56535736846e4e520619bf6f2c867fff59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:34 +0100
Subject: [PATCH 8/9] New package: python3-pytest-isort-3.1.0

---
 srcpkgs/python3-pytest-isort/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..c3566853a180
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest python3-isort"
+checkdepends="${depends} python3-pytest-flake8 python3-pytest-black flake8"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
+checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.rst
+}

From 8e875206fb5bf0a1b43d4b567f3e3ced17afc86f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:38:17 +0100
Subject: [PATCH 9/9] python3-matrix-nio: adopt, update to 0.20.1.

---
 srcpkgs/python3-matrix-nio/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-matrix-nio/template b/srcpkgs/python3-matrix-nio/template
index bc37e3f6e935..6f11edf91a7d 100644
--- a/srcpkgs/python3-matrix-nio/template
+++ b/srcpkgs/python3-matrix-nio/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-matrix-nio'
 pkgname=python3-matrix-nio
-version=0.15.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.20.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
 depends="python3-future python3-aiohttp python3-aiofiles python3-h11
  python3-h2 python3-logbook python3-jsonschema python3-unpaddedbase64
  python3-pycryptodome olm-python3 python3-peewee python3-cachetools
- python3-atomicwrites"
+ python3-atomicwrites python3-aiohttp_socks"
+checkdepends="${depends} python3-pytest python3-pytest-isort python3-pytest-cov
+ python3-hyperframe python3-hypothesis python3-hpack python3-Faker python3-mypy
+ python3-pytest-aiohttp python3-aioresponses python3-pytest-benchmark"
 short_desc="Python3 matrix.org client library designed without builtin io"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="ISC"
 homepage="https://github.com/poljar/matrix-nio"
+changelog="https://github.com/poljar/matrix-nio/raw/main/CHANGELOG.md"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=4fb0e9c5c9a89146ece71e8908974e41892679ee79a65182c2b2963445929935
+checksum=0b09c068be2dd975b083b7fc6730b8bc842014678945be4db1509aabe7b18237
 
 post_install() {
 	vlicense LICENSE.md

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (15 preceding siblings ...)
  2022-11-19 11:23 ` jcgruenhage
@ 2022-11-19 12:35 ` icp1994
  2022-11-19 13:00 ` icp1994
                   ` (8 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-19 12:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1027084788

Comment:
Looking at some repos, to include those tests you need the pytest-benchmark and then package [aspectlib](https://pypi.org/project/fields/) which requires packaging [fields](https://pypi.org/project/fields/). After that, theoretically all the tests should pass :laughing: 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (16 preceding siblings ...)
  2022-11-19 12:35 ` [PR REVIEW] " icp1994
@ 2022-11-19 13:00 ` icp1994
  2022-11-19 13:25 ` jcgruenhage
                   ` (7 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: icp1994 @ 2022-11-19 13:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1027087246

Comment:
Or you could apply this patch which runs the tests without benchmarking thus removing the need of any extra dependency. Apply at your own risk!
```patch
--- a/python/tests/group_session_test.py
+++ b/python/tests/group_session_test.py
@@ -62,14 +62,12 @@
         index = inbound.first_known_index
         assert isinstance(index, int)
 
-    def test_encrypt(self, benchmark):
-        benchmark.weave(OutboundGroupSession.encrypt, lazy=True)
+    def test_encrypt(self):
         outbound = OutboundGroupSession()
         inbound = InboundGroupSession(outbound.session_key)
         assert "Test", 0 == inbound.decrypt(outbound.encrypt("Test"))
 
-    def test_decrypt(self, benchmark):
-        benchmark.weave(InboundGroupSession.decrypt, lazy=True)
+    def test_decrypt(self):
         outbound = OutboundGroupSession()
         inbound = InboundGroupSession(outbound.session_key)
         assert "Test", 0 == inbound.decrypt(outbound.encrypt("Test"))
```

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (17 preceding siblings ...)
  2022-11-19 13:00 ` icp1994
@ 2022-11-19 13:25 ` jcgruenhage
  2022-11-27 12:27 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (6 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-19 13:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1027089870

Comment:
I could, but I'd expect that the function passed to benchmark.weave is going to have some sort of side effect. And at this point, we're putting in *way* more effort into this than just packaging pytest-benchmark. What I've not mentioned though, is that for this specific case to work we also need aspectlib, which needs fields, both of which aren't packaged yet. I think I'll package these later on though, so that these test can just work as they are right now.

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR PATCH] [Updated] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (18 preceding siblings ...)
  2022-11-19 13:25 ` jcgruenhage
@ 2022-11-27 12:27 ` jcgruenhage
  2022-11-27 12:28 ` [PR REVIEW] " jcgruenhage
                   ` (5 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-27 12:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-matrix-nio-0.20.1_1
https://github.com/void-linux/void-packages/pull/40596

python3-matrix-nio: adopt, update to 0.20.1, update deps
- olm: adopt, update to 3.2.13.
- olm-python3: adopt, update to 3.2.13.
- python3-logbook: adopt
- New package: python3-Faker-15.3.2
- New package: python3-aioresponses-0.7.3
- New package: python3-pytest-benchmark-4.0.0
- New package: python3-pytest-black-0.3.12
- New package: python3-pytest-isort-3.1.0
- python3-matrix-nio: adopt, update to 0.20.1.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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/40596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-matrix-nio-0.20.1_1-40596.patch --]
[-- Type: text/x-diff, Size: 15947 bytes --]

From 71fa75affd8c2783403a18386ec50895f44cac59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:39 +0100
Subject: [PATCH 01/11] olm: adopt, update to 3.2.13.

---
 srcpkgs/olm/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template
index 8b5c5d64b892..ce82a5c8dc60 100644
--- a/srcpkgs/olm/template
+++ b/srcpkgs/olm/template
@@ -1,14 +1,15 @@
 # Template file for 'olm'
 pkgname=olm
-version=3.2.8
+version=3.2.13
 revision=1
 build_style=cmake
 short_desc="Implementation of the Double Ratchet cryptographic ratchet"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 do_check() {
 	cd build/tests

From 4967a98c7fd475f0d7995260e3fe8953b992c607 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:25 +0100
Subject: [PATCH 02/11] New package: python3-pytest-benchmark-4.0.0

---
 srcpkgs/python3-pytest-benchmark/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-benchmark/template

diff --git a/srcpkgs/python3-pytest-benchmark/template b/srcpkgs/python3-pytest-benchmark/template
new file mode 100644
index 000000000000..f14b4dc774de
--- /dev/null
+++ b/srcpkgs/python3-pytest-benchmark/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-benchmark'
+pkgname=python3-pytest-benchmark
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-pytest python3-py-cpuinfo"
+short_desc="Pytest fixture for benchmarking code"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/pytest-benchmark"
+changelog="https://github.com/ionelmc/pytest-benchmark/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-benchmark/pytest-benchmark-${version}.tar.gz"
+checksum=fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1
+# requires itself to be properly installed
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 4dbb223d0cc9cb6d70d06f501ff0e63b3884dc31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:34 +0100
Subject: [PATCH 03/11] New package: python3-pytest-isort-3.1.0

---
 srcpkgs/python3-pytest-isort/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..c3566853a180
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest python3-isort"
+checkdepends="${depends} python3-pytest-flake8 python3-pytest-black flake8"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
+checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.rst
+}

From 80793e5f8017f69ec8407b8781d071c2dcbc9ef9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 27 Nov 2022 13:15:46 +0100
Subject: [PATCH 04/11] New package: python3-fields-5.0.0

---
 srcpkgs/python3-fields/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-fields/template

diff --git a/srcpkgs/python3-fields/template b/srcpkgs/python3-fields/template
new file mode 100644
index 000000000000..8dd9ccb1a00c
--- /dev/null
+++ b/srcpkgs/python3-fields/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-fields'
+pkgname=python3-fields
+version=5.0.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Python lib for boilerplate-less containers"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/python-fields"
+changelog="https://github.com/ionelmc/python-fields/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/f/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=31d4aa03d8d44e35df13c431de35136997f047a924a597d84f7bc209e1be5727
+# Requires patching to get working, is using ancient pytest options because
+# it's not been updated since 2016
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From e883c69b4a1f69838d4c9148a9cbde3b864e733c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 27 Nov 2022 13:15:41 +0100
Subject: [PATCH 05/11] New package: python3-aspectlib-2.0.0

---
 srcpkgs/python3-aspectlib/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-aspectlib/template

diff --git a/srcpkgs/python3-aspectlib/template b/srcpkgs/python3-aspectlib/template
new file mode 100644
index 000000000000..27b1e36966b5
--- /dev/null
+++ b/srcpkgs/python3-aspectlib/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-aspectlib'
+pkgname=python3-aspectlib
+version=2.0.0
+revision=1
+build_style=python3-pep517
+make_check_args="--ignore tests/test_integrations.py"
+make_check_pre="env PYTHONPATH=src"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-fields"
+checkdepends="python3-pytest"
+short_desc="Aspect-oriented programming, monkey-patch and decorators library."
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/python-aspectlib"
+changelog="https://github.com/ionelmc/python-aspectlib/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92
+
+post_install() {
+	vlicense LICENSE
+}

From 992c4e28205e6e081ef5b1ba1d987030c79e4fca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:47 +0100
Subject: [PATCH 06/11] olm-python3: adopt, update to 3.2.13.

---
 srcpkgs/olm-python3/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template
index db5bf6270aea..ce0c3ed8ed8e 100644
--- a/srcpkgs/olm-python3/template
+++ b/srcpkgs/olm-python3/template
@@ -1,20 +1,20 @@
 # Template file for 'olm-python3'
 pkgname=olm-python3
-version=3.2.8
-revision=2
+version=3.2.13
+revision=1
 build_wrksrc=python
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-cffi"
 makedepends="python3-devel libffi-devel olm-devel"
 depends="python3-cffi python3-future"
+checkdepends="${depends} python3-pytest python3-pytest-benchmark python3-aspectlib python3-pytest-isort"
 short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
-# requires unpackaged pytest-{benchmark,isort}
-make_check=no
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 pre_build() {
 	make include/olm/olm.h

From 6d1036f1da0534539d873f9b4387c4308140d72a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:46:50 +0100
Subject: [PATCH 07/11] python3-logbook: adopt, fix build and tests

---
 srcpkgs/python3-logbook/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-logbook/template b/srcpkgs/python3-logbook/template
index 1c1ba1856fbf..b49bd495ae46 100644
--- a/srcpkgs/python3-logbook/template
+++ b/srcpkgs/python3-logbook/template
@@ -1,12 +1,16 @@
 # Template file for 'python3-logbook'
 pkgname=python3-logbook
 version=1.5.3
-revision=5
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel python3-Cython"
+revision=6
+build_style=python3-pep517
+make_check_args="--ignore=scripts"
+make_install_target="dist/Logbook-${version}-*-*-*_*.whl"
+hostmakedepends="python3-setuptools python3-wheel python3-devel python3-Cython"
 depends="python3"
+checkdepends="python3-execnet python3-pytest python3-pyzmq python3-SQLAlchemy
+ python3-Jinja2 python3-Brotli"
 short_desc="Replacement for python's standard library logging module"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://logbook.readthedocs.org"
 distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz"

From 325502c0bccf162e45c46663bcc31af5834b2b4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:12 +0100
Subject: [PATCH 08/11] New package: python3-Faker-15.3.2

---
 srcpkgs/python3-Faker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-Faker/template

diff --git a/srcpkgs/python3-Faker/template b/srcpkgs/python3-Faker/template
new file mode 100644
index 000000000000..f0b15a8f0757
--- /dev/null
+++ b/srcpkgs/python3-Faker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-Faker'
+pkgname=python3-Faker
+version=15.3.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-dateutil"
+checkdepends="${depends} python3-freezegun python3-validators python3-Pillow python3-pytest"
+short_desc="Python package for generating fake data"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://faker.readthedocs.io/en/master/"
+changelog="https://github.com/joke2k/faker/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/F/Faker/Faker-${version}.tar.gz"
+checksum=0094fe3340ad73c490d3ffccc59cc171b161acfccccd52925c70970ba23e6d6b
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 5a4b5e9cc2e8e8a373e3b43d9ae018e1f3bb3807 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:18 +0100
Subject: [PATCH 09/11] New package: python3-aioresponses-0.7.3

---
 srcpkgs/python3-aioresponses/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-aioresponses/template

diff --git a/srcpkgs/python3-aioresponses/template b/srcpkgs/python3-aioresponses/template
new file mode 100644
index 000000000000..dde93fd41a6a
--- /dev/null
+++ b/srcpkgs/python3-aioresponses/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-aioresponses'
+pkgname=python3-aioresponses
+version=0.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pbr python3-setuptools"
+depends="python3-aiohttp"
+checkdepends="${depends} python3-ddt python3-pytest"
+short_desc="Helper for mock/fake web requests in python aiohttp package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pnuckowski/aioresponses"
+distfiles="${PYPI_SITE}/a/aioresponses/aioresponses-${version}.tar.gz"
+checksum=2c64ed5710ee8cb4e958c569184dad12f4c9cd5939135cb38f88c6a8261cceb3
+
+post_install() {
+	vlicense LICENSE
+}

From 38873478090c0fe84fa766b777407b47f33f094b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:30 +0100
Subject: [PATCH 10/11] New package: python3-pytest-black-0.3.12

---
 srcpkgs/python3-pytest-black/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-black/template

diff --git a/srcpkgs/python3-pytest-black/template b/srcpkgs/python3-pytest-black/template
new file mode 100644
index 000000000000..45c0089069b5
--- /dev/null
+++ b/srcpkgs/python3-pytest-black/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-black'
+pkgname=python3-pytest-black
+version=0.3.12
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest black python3-toml"
+checkdepends="${depends} flake8"
+short_desc="Pytest plugin to enable formatting checks with black"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/shopkeep/pytest-black"
+distfiles="${PYPI_SITE}/p/pytest-black/pytest-black-${version}.tar.gz"
+checksum=1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5
+
+post_install() {
+	vlicense LICENSE
+}

From 2788b9ab498a7ff1ba637d17af04e781bfc13031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:38:17 +0100
Subject: [PATCH 11/11] python3-matrix-nio: adopt, update to 0.20.1.

---
 srcpkgs/python3-matrix-nio/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-matrix-nio/template b/srcpkgs/python3-matrix-nio/template
index bc37e3f6e935..6f11edf91a7d 100644
--- a/srcpkgs/python3-matrix-nio/template
+++ b/srcpkgs/python3-matrix-nio/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-matrix-nio'
 pkgname=python3-matrix-nio
-version=0.15.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.20.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
 depends="python3-future python3-aiohttp python3-aiofiles python3-h11
  python3-h2 python3-logbook python3-jsonschema python3-unpaddedbase64
  python3-pycryptodome olm-python3 python3-peewee python3-cachetools
- python3-atomicwrites"
+ python3-atomicwrites python3-aiohttp_socks"
+checkdepends="${depends} python3-pytest python3-pytest-isort python3-pytest-cov
+ python3-hyperframe python3-hypothesis python3-hpack python3-Faker python3-mypy
+ python3-pytest-aiohttp python3-aioresponses python3-pytest-benchmark"
 short_desc="Python3 matrix.org client library designed without builtin io"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="ISC"
 homepage="https://github.com/poljar/matrix-nio"
+changelog="https://github.com/poljar/matrix-nio/raw/main/CHANGELOG.md"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=4fb0e9c5c9a89146ece71e8908974e41892679ee79a65182c2b2963445929935
+checksum=0b09c068be2dd975b083b7fc6730b8bc842014678945be4db1509aabe7b18237
 
 post_install() {
 	vlicense LICENSE.md

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR REVIEW] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (19 preceding siblings ...)
  2022-11-27 12:27 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-11-27 12:28 ` jcgruenhage
  2022-11-27 12:29 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (4 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-27 12:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#discussion_r1032922725

Comment:
I've added aspectlib and fields now, these tests now work as they should.

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR PATCH] [Updated] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (20 preceding siblings ...)
  2022-11-27 12:28 ` [PR REVIEW] " jcgruenhage
@ 2022-11-27 12:29 ` jcgruenhage
  2022-11-27 12:54 ` jcgruenhage
                   ` (3 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-27 12:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-matrix-nio-0.20.1_1
https://github.com/void-linux/void-packages/pull/40596

python3-matrix-nio: adopt, update to 0.20.1, update deps
- olm: adopt, update to 3.2.13.
- olm-python3: adopt, update to 3.2.13.
- python3-logbook: adopt
- New package: python3-Faker-15.3.2
- New package: python3-aioresponses-0.7.3
- New package: python3-pytest-benchmark-4.0.0
- New package: python3-pytest-black-0.3.12
- New package: python3-pytest-isort-3.1.0
- python3-matrix-nio: adopt, update to 0.20.1.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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/40596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-matrix-nio-0.20.1_1-40596.patch --]
[-- Type: text/x-diff, Size: 15946 bytes --]

From 71fa75affd8c2783403a18386ec50895f44cac59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:39 +0100
Subject: [PATCH 01/11] olm: adopt, update to 3.2.13.

---
 srcpkgs/olm/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template
index 8b5c5d64b892..ce82a5c8dc60 100644
--- a/srcpkgs/olm/template
+++ b/srcpkgs/olm/template
@@ -1,14 +1,15 @@
 # Template file for 'olm'
 pkgname=olm
-version=3.2.8
+version=3.2.13
 revision=1
 build_style=cmake
 short_desc="Implementation of the Double Ratchet cryptographic ratchet"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 do_check() {
 	cd build/tests

From 4967a98c7fd475f0d7995260e3fe8953b992c607 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:25 +0100
Subject: [PATCH 02/11] New package: python3-pytest-benchmark-4.0.0

---
 srcpkgs/python3-pytest-benchmark/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-benchmark/template

diff --git a/srcpkgs/python3-pytest-benchmark/template b/srcpkgs/python3-pytest-benchmark/template
new file mode 100644
index 000000000000..f14b4dc774de
--- /dev/null
+++ b/srcpkgs/python3-pytest-benchmark/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-benchmark'
+pkgname=python3-pytest-benchmark
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-pytest python3-py-cpuinfo"
+short_desc="Pytest fixture for benchmarking code"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/pytest-benchmark"
+changelog="https://github.com/ionelmc/pytest-benchmark/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-benchmark/pytest-benchmark-${version}.tar.gz"
+checksum=fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1
+# requires itself to be properly installed
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 4dbb223d0cc9cb6d70d06f501ff0e63b3884dc31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:34 +0100
Subject: [PATCH 03/11] New package: python3-pytest-isort-3.1.0

---
 srcpkgs/python3-pytest-isort/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..c3566853a180
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest python3-isort"
+checkdepends="${depends} python3-pytest-flake8 python3-pytest-black flake8"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
+checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.rst
+}

From 80793e5f8017f69ec8407b8781d071c2dcbc9ef9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 27 Nov 2022 13:15:46 +0100
Subject: [PATCH 04/11] New package: python3-fields-5.0.0

---
 srcpkgs/python3-fields/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-fields/template

diff --git a/srcpkgs/python3-fields/template b/srcpkgs/python3-fields/template
new file mode 100644
index 000000000000..8dd9ccb1a00c
--- /dev/null
+++ b/srcpkgs/python3-fields/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-fields'
+pkgname=python3-fields
+version=5.0.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Python lib for boilerplate-less containers"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/python-fields"
+changelog="https://github.com/ionelmc/python-fields/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/f/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=31d4aa03d8d44e35df13c431de35136997f047a924a597d84f7bc209e1be5727
+# Requires patching to get working, is using ancient pytest options because
+# it's not been updated since 2016
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 1c97fe1a4c3ac1c938b1c785e860f6a186d292e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 27 Nov 2022 13:15:41 +0100
Subject: [PATCH 05/11] New package: python3-aspectlib-2.0.0

---
 srcpkgs/python3-aspectlib/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-aspectlib/template

diff --git a/srcpkgs/python3-aspectlib/template b/srcpkgs/python3-aspectlib/template
new file mode 100644
index 000000000000..dddae2684c5f
--- /dev/null
+++ b/srcpkgs/python3-aspectlib/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-aspectlib'
+pkgname=python3-aspectlib
+version=2.0.0
+revision=1
+build_style=python3-pep517
+make_check_args="--ignore tests/test_integrations.py"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-fields"
+checkdepends="python3-pytest"
+short_desc="Aspect-oriented programming, monkey-patch and decorators library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/python-aspectlib"
+changelog="https://github.com/ionelmc/python-aspectlib/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92
+make_check_pre="env PYTHONPATH=src"
+
+post_install() {
+	vlicense LICENSE
+}

From 6b44f0722baa892e9964256c6fa06673a0610d72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:47 +0100
Subject: [PATCH 06/11] olm-python3: adopt, update to 3.2.13.

---
 srcpkgs/olm-python3/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template
index db5bf6270aea..ce0c3ed8ed8e 100644
--- a/srcpkgs/olm-python3/template
+++ b/srcpkgs/olm-python3/template
@@ -1,20 +1,20 @@
 # Template file for 'olm-python3'
 pkgname=olm-python3
-version=3.2.8
-revision=2
+version=3.2.13
+revision=1
 build_wrksrc=python
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-cffi"
 makedepends="python3-devel libffi-devel olm-devel"
 depends="python3-cffi python3-future"
+checkdepends="${depends} python3-pytest python3-pytest-benchmark python3-aspectlib python3-pytest-isort"
 short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
-# requires unpackaged pytest-{benchmark,isort}
-make_check=no
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 pre_build() {
 	make include/olm/olm.h

From 5b7ef6fb88862a2f95217016b74d2d77fbbef82e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:46:50 +0100
Subject: [PATCH 07/11] python3-logbook: adopt, fix build and tests

---
 srcpkgs/python3-logbook/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-logbook/template b/srcpkgs/python3-logbook/template
index 1c1ba1856fbf..b49bd495ae46 100644
--- a/srcpkgs/python3-logbook/template
+++ b/srcpkgs/python3-logbook/template
@@ -1,12 +1,16 @@
 # Template file for 'python3-logbook'
 pkgname=python3-logbook
 version=1.5.3
-revision=5
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel python3-Cython"
+revision=6
+build_style=python3-pep517
+make_check_args="--ignore=scripts"
+make_install_target="dist/Logbook-${version}-*-*-*_*.whl"
+hostmakedepends="python3-setuptools python3-wheel python3-devel python3-Cython"
 depends="python3"
+checkdepends="python3-execnet python3-pytest python3-pyzmq python3-SQLAlchemy
+ python3-Jinja2 python3-Brotli"
 short_desc="Replacement for python's standard library logging module"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://logbook.readthedocs.org"
 distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz"

From d93a2a5fd2b78ff07be2a37481baba33f3dff543 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:12 +0100
Subject: [PATCH 08/11] New package: python3-Faker-15.3.2

---
 srcpkgs/python3-Faker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-Faker/template

diff --git a/srcpkgs/python3-Faker/template b/srcpkgs/python3-Faker/template
new file mode 100644
index 000000000000..f0b15a8f0757
--- /dev/null
+++ b/srcpkgs/python3-Faker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-Faker'
+pkgname=python3-Faker
+version=15.3.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-dateutil"
+checkdepends="${depends} python3-freezegun python3-validators python3-Pillow python3-pytest"
+short_desc="Python package for generating fake data"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://faker.readthedocs.io/en/master/"
+changelog="https://github.com/joke2k/faker/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/F/Faker/Faker-${version}.tar.gz"
+checksum=0094fe3340ad73c490d3ffccc59cc171b161acfccccd52925c70970ba23e6d6b
+
+post_install() {
+	vlicense LICENSE.txt
+}

From c16814ceb0b83098f260b95e86a5436cb0ab46d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:18 +0100
Subject: [PATCH 09/11] New package: python3-aioresponses-0.7.3

---
 srcpkgs/python3-aioresponses/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-aioresponses/template

diff --git a/srcpkgs/python3-aioresponses/template b/srcpkgs/python3-aioresponses/template
new file mode 100644
index 000000000000..dde93fd41a6a
--- /dev/null
+++ b/srcpkgs/python3-aioresponses/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-aioresponses'
+pkgname=python3-aioresponses
+version=0.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pbr python3-setuptools"
+depends="python3-aiohttp"
+checkdepends="${depends} python3-ddt python3-pytest"
+short_desc="Helper for mock/fake web requests in python aiohttp package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pnuckowski/aioresponses"
+distfiles="${PYPI_SITE}/a/aioresponses/aioresponses-${version}.tar.gz"
+checksum=2c64ed5710ee8cb4e958c569184dad12f4c9cd5939135cb38f88c6a8261cceb3
+
+post_install() {
+	vlicense LICENSE
+}

From cd0856ef054d22648e41766e08c023966c098611 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:30 +0100
Subject: [PATCH 10/11] New package: python3-pytest-black-0.3.12

---
 srcpkgs/python3-pytest-black/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-black/template

diff --git a/srcpkgs/python3-pytest-black/template b/srcpkgs/python3-pytest-black/template
new file mode 100644
index 000000000000..45c0089069b5
--- /dev/null
+++ b/srcpkgs/python3-pytest-black/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-black'
+pkgname=python3-pytest-black
+version=0.3.12
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest black python3-toml"
+checkdepends="${depends} flake8"
+short_desc="Pytest plugin to enable formatting checks with black"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/shopkeep/pytest-black"
+distfiles="${PYPI_SITE}/p/pytest-black/pytest-black-${version}.tar.gz"
+checksum=1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5
+
+post_install() {
+	vlicense LICENSE
+}

From a502958a70c25eab12387c15f0a58793ac7814f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:38:17 +0100
Subject: [PATCH 11/11] python3-matrix-nio: adopt, update to 0.20.1.

---
 srcpkgs/python3-matrix-nio/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-matrix-nio/template b/srcpkgs/python3-matrix-nio/template
index bc37e3f6e935..6f11edf91a7d 100644
--- a/srcpkgs/python3-matrix-nio/template
+++ b/srcpkgs/python3-matrix-nio/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-matrix-nio'
 pkgname=python3-matrix-nio
-version=0.15.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.20.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
 depends="python3-future python3-aiohttp python3-aiofiles python3-h11
  python3-h2 python3-logbook python3-jsonschema python3-unpaddedbase64
  python3-pycryptodome olm-python3 python3-peewee python3-cachetools
- python3-atomicwrites"
+ python3-atomicwrites python3-aiohttp_socks"
+checkdepends="${depends} python3-pytest python3-pytest-isort python3-pytest-cov
+ python3-hyperframe python3-hypothesis python3-hpack python3-Faker python3-mypy
+ python3-pytest-aiohttp python3-aioresponses python3-pytest-benchmark"
 short_desc="Python3 matrix.org client library designed without builtin io"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="ISC"
 homepage="https://github.com/poljar/matrix-nio"
+changelog="https://github.com/poljar/matrix-nio/raw/main/CHANGELOG.md"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=4fb0e9c5c9a89146ece71e8908974e41892679ee79a65182c2b2963445929935
+checksum=0b09c068be2dd975b083b7fc6730b8bc842014678945be4db1509aabe7b18237
 
 post_install() {
 	vlicense LICENSE.md

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR PATCH] [Updated] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (21 preceding siblings ...)
  2022-11-27 12:29 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-11-27 12:54 ` jcgruenhage
  2022-11-28 16:57 ` non-Jedi
                   ` (2 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-27 12:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1383 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-matrix-nio-0.20.1_1
https://github.com/void-linux/void-packages/pull/40596

python3-matrix-nio: adopt, update to 0.20.1, update deps
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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/40596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-matrix-nio-0.20.1_1-40596.patch --]
[-- Type: text/x-diff, Size: 15946 bytes --]

From 71fa75affd8c2783403a18386ec50895f44cac59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:39 +0100
Subject: [PATCH 01/11] olm: adopt, update to 3.2.13.

---
 srcpkgs/olm/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template
index 8b5c5d64b892..ce82a5c8dc60 100644
--- a/srcpkgs/olm/template
+++ b/srcpkgs/olm/template
@@ -1,14 +1,15 @@
 # Template file for 'olm'
 pkgname=olm
-version=3.2.8
+version=3.2.13
 revision=1
 build_style=cmake
 short_desc="Implementation of the Double Ratchet cryptographic ratchet"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 do_check() {
 	cd build/tests

From 4967a98c7fd475f0d7995260e3fe8953b992c607 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:25 +0100
Subject: [PATCH 02/11] New package: python3-pytest-benchmark-4.0.0

---
 srcpkgs/python3-pytest-benchmark/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-benchmark/template

diff --git a/srcpkgs/python3-pytest-benchmark/template b/srcpkgs/python3-pytest-benchmark/template
new file mode 100644
index 000000000000..f14b4dc774de
--- /dev/null
+++ b/srcpkgs/python3-pytest-benchmark/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-benchmark'
+pkgname=python3-pytest-benchmark
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-pytest python3-py-cpuinfo"
+short_desc="Pytest fixture for benchmarking code"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/pytest-benchmark"
+changelog="https://github.com/ionelmc/pytest-benchmark/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-benchmark/pytest-benchmark-${version}.tar.gz"
+checksum=fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1
+# requires itself to be properly installed
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 4dbb223d0cc9cb6d70d06f501ff0e63b3884dc31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:34 +0100
Subject: [PATCH 03/11] New package: python3-pytest-isort-3.1.0

---
 srcpkgs/python3-pytest-isort/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..c3566853a180
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest python3-isort"
+checkdepends="${depends} python3-pytest-flake8 python3-pytest-black flake8"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
+checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.rst
+}

From 80793e5f8017f69ec8407b8781d071c2dcbc9ef9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 27 Nov 2022 13:15:46 +0100
Subject: [PATCH 04/11] New package: python3-fields-5.0.0

---
 srcpkgs/python3-fields/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-fields/template

diff --git a/srcpkgs/python3-fields/template b/srcpkgs/python3-fields/template
new file mode 100644
index 000000000000..8dd9ccb1a00c
--- /dev/null
+++ b/srcpkgs/python3-fields/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-fields'
+pkgname=python3-fields
+version=5.0.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Python lib for boilerplate-less containers"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/python-fields"
+changelog="https://github.com/ionelmc/python-fields/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/f/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=31d4aa03d8d44e35df13c431de35136997f047a924a597d84f7bc209e1be5727
+# Requires patching to get working, is using ancient pytest options because
+# it's not been updated since 2016
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 1c97fe1a4c3ac1c938b1c785e860f6a186d292e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 27 Nov 2022 13:15:41 +0100
Subject: [PATCH 05/11] New package: python3-aspectlib-2.0.0

---
 srcpkgs/python3-aspectlib/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-aspectlib/template

diff --git a/srcpkgs/python3-aspectlib/template b/srcpkgs/python3-aspectlib/template
new file mode 100644
index 000000000000..dddae2684c5f
--- /dev/null
+++ b/srcpkgs/python3-aspectlib/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-aspectlib'
+pkgname=python3-aspectlib
+version=2.0.0
+revision=1
+build_style=python3-pep517
+make_check_args="--ignore tests/test_integrations.py"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-fields"
+checkdepends="python3-pytest"
+short_desc="Aspect-oriented programming, monkey-patch and decorators library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/python-aspectlib"
+changelog="https://github.com/ionelmc/python-aspectlib/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92
+make_check_pre="env PYTHONPATH=src"
+
+post_install() {
+	vlicense LICENSE
+}

From 6b44f0722baa892e9964256c6fa06673a0610d72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:47 +0100
Subject: [PATCH 06/11] olm-python3: adopt, update to 3.2.13.

---
 srcpkgs/olm-python3/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template
index db5bf6270aea..ce0c3ed8ed8e 100644
--- a/srcpkgs/olm-python3/template
+++ b/srcpkgs/olm-python3/template
@@ -1,20 +1,20 @@
 # Template file for 'olm-python3'
 pkgname=olm-python3
-version=3.2.8
-revision=2
+version=3.2.13
+revision=1
 build_wrksrc=python
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-cffi"
 makedepends="python3-devel libffi-devel olm-devel"
 depends="python3-cffi python3-future"
+checkdepends="${depends} python3-pytest python3-pytest-benchmark python3-aspectlib python3-pytest-isort"
 short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
-# requires unpackaged pytest-{benchmark,isort}
-make_check=no
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 pre_build() {
 	make include/olm/olm.h

From 5b7ef6fb88862a2f95217016b74d2d77fbbef82e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:46:50 +0100
Subject: [PATCH 07/11] python3-logbook: adopt, fix build and tests

---
 srcpkgs/python3-logbook/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-logbook/template b/srcpkgs/python3-logbook/template
index 1c1ba1856fbf..b49bd495ae46 100644
--- a/srcpkgs/python3-logbook/template
+++ b/srcpkgs/python3-logbook/template
@@ -1,12 +1,16 @@
 # Template file for 'python3-logbook'
 pkgname=python3-logbook
 version=1.5.3
-revision=5
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel python3-Cython"
+revision=6
+build_style=python3-pep517
+make_check_args="--ignore=scripts"
+make_install_target="dist/Logbook-${version}-*-*-*_*.whl"
+hostmakedepends="python3-setuptools python3-wheel python3-devel python3-Cython"
 depends="python3"
+checkdepends="python3-execnet python3-pytest python3-pyzmq python3-SQLAlchemy
+ python3-Jinja2 python3-Brotli"
 short_desc="Replacement for python's standard library logging module"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://logbook.readthedocs.org"
 distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz"

From f79d3c818da976ca1f2c82be2a25d54535885903 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:12 +0100
Subject: [PATCH 08/11] New package: python3-Faker-15.3.2

---
 srcpkgs/python3-Faker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-Faker/template

diff --git a/srcpkgs/python3-Faker/template b/srcpkgs/python3-Faker/template
new file mode 100644
index 000000000000..828a7b0515ab
--- /dev/null
+++ b/srcpkgs/python3-Faker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-Faker'
+pkgname=python3-Faker
+version=15.3.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-dateutil"
+checkdepends="${depends} python3-freezegun python3-validators python3-Pillow python3-pytest"
+short_desc="Python package for generating fake data"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://faker.readthedocs.io/en/master/"
+changelog="https://github.com/joke2k/faker/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/F/Faker/Faker-${version}.tar.gz"
+checksum=20d090e661bbe88a5d801ea5eb3d853564940352120c84c9a14968847aca2893
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 83f25fb87cc0a6b1ed7dbf3a8996577e45252026 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:18 +0100
Subject: [PATCH 09/11] New package: python3-aioresponses-0.7.3

---
 srcpkgs/python3-aioresponses/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-aioresponses/template

diff --git a/srcpkgs/python3-aioresponses/template b/srcpkgs/python3-aioresponses/template
new file mode 100644
index 000000000000..dde93fd41a6a
--- /dev/null
+++ b/srcpkgs/python3-aioresponses/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-aioresponses'
+pkgname=python3-aioresponses
+version=0.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pbr python3-setuptools"
+depends="python3-aiohttp"
+checkdepends="${depends} python3-ddt python3-pytest"
+short_desc="Helper for mock/fake web requests in python aiohttp package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pnuckowski/aioresponses"
+distfiles="${PYPI_SITE}/a/aioresponses/aioresponses-${version}.tar.gz"
+checksum=2c64ed5710ee8cb4e958c569184dad12f4c9cd5939135cb38f88c6a8261cceb3
+
+post_install() {
+	vlicense LICENSE
+}

From 4e9161ed09546b836cc37c9d48c23cd48ab52710 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:30 +0100
Subject: [PATCH 10/11] New package: python3-pytest-black-0.3.12

---
 srcpkgs/python3-pytest-black/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-black/template

diff --git a/srcpkgs/python3-pytest-black/template b/srcpkgs/python3-pytest-black/template
new file mode 100644
index 000000000000..45c0089069b5
--- /dev/null
+++ b/srcpkgs/python3-pytest-black/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-black'
+pkgname=python3-pytest-black
+version=0.3.12
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest black python3-toml"
+checkdepends="${depends} flake8"
+short_desc="Pytest plugin to enable formatting checks with black"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/shopkeep/pytest-black"
+distfiles="${PYPI_SITE}/p/pytest-black/pytest-black-${version}.tar.gz"
+checksum=1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5
+
+post_install() {
+	vlicense LICENSE
+}

From 17562ba16593d615f5214a5eaca6804c571e8547 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:38:17 +0100
Subject: [PATCH 11/11] python3-matrix-nio: adopt, update to 0.20.1.

---
 srcpkgs/python3-matrix-nio/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-matrix-nio/template b/srcpkgs/python3-matrix-nio/template
index bc37e3f6e935..6f11edf91a7d 100644
--- a/srcpkgs/python3-matrix-nio/template
+++ b/srcpkgs/python3-matrix-nio/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-matrix-nio'
 pkgname=python3-matrix-nio
-version=0.15.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.20.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
 depends="python3-future python3-aiohttp python3-aiofiles python3-h11
  python3-h2 python3-logbook python3-jsonschema python3-unpaddedbase64
  python3-pycryptodome olm-python3 python3-peewee python3-cachetools
- python3-atomicwrites"
+ python3-atomicwrites python3-aiohttp_socks"
+checkdepends="${depends} python3-pytest python3-pytest-isort python3-pytest-cov
+ python3-hyperframe python3-hypothesis python3-hpack python3-Faker python3-mypy
+ python3-pytest-aiohttp python3-aioresponses python3-pytest-benchmark"
 short_desc="Python3 matrix.org client library designed without builtin io"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="ISC"
 homepage="https://github.com/poljar/matrix-nio"
+changelog="https://github.com/poljar/matrix-nio/raw/main/CHANGELOG.md"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=4fb0e9c5c9a89146ece71e8908974e41892679ee79a65182c2b2963445929935
+checksum=0b09c068be2dd975b083b7fc6730b8bc842014678945be4db1509aabe7b18237
 
 post_install() {
 	vlicense LICENSE.md

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (22 preceding siblings ...)
  2022-11-27 12:54 ` jcgruenhage
@ 2022-11-28 16:57 ` non-Jedi
  2022-11-30 10:08 ` [PR PATCH] [Updated] " jcgruenhage
  2022-12-02  0:18 ` [PR PATCH] [Closed]: " Piraty
  25 siblings, 0 replies; 27+ messages in thread
From: non-Jedi @ 2022-11-28 16:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

New comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/40596#issuecomment-1329432287

Comment:
Confirming that I'm 100% okay with @jcgruenhage adoping these. Thanks!

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR PATCH] [Updated] python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (23 preceding siblings ...)
  2022-11-28 16:57 ` non-Jedi
@ 2022-11-30 10:08 ` jcgruenhage
  2022-12-02  0:18 ` [PR PATCH] [Closed]: " Piraty
  25 siblings, 0 replies; 27+ messages in thread
From: jcgruenhage @ 2022-11-30 10:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-matrix-nio-0.20.1_1
https://github.com/void-linux/void-packages/pull/40596

python3-matrix-nio: adopt, update to 0.20.1, update deps
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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/40596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-matrix-nio-0.20.1_1-40596.patch --]
[-- Type: text/x-diff, Size: 15943 bytes --]

From bb29dfb92644cd13ca27d2013b9df1a2e28d8161 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:39 +0100
Subject: [PATCH 01/11] olm: update to 3.2.13, adopt

---
 srcpkgs/olm/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template
index 8b5c5d64b892..ce82a5c8dc60 100644
--- a/srcpkgs/olm/template
+++ b/srcpkgs/olm/template
@@ -1,14 +1,15 @@
 # Template file for 'olm'
 pkgname=olm
-version=3.2.8
+version=3.2.13
 revision=1
 build_style=cmake
 short_desc="Implementation of the Double Ratchet cryptographic ratchet"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 do_check() {
 	cd build/tests

From 06f103f76afa3a6fc12fa700dcb4be3d1b5f4a63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:25 +0100
Subject: [PATCH 02/11] New package: python3-pytest-benchmark-4.0.0

---
 srcpkgs/python3-pytest-benchmark/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-benchmark/template

diff --git a/srcpkgs/python3-pytest-benchmark/template b/srcpkgs/python3-pytest-benchmark/template
new file mode 100644
index 000000000000..f14b4dc774de
--- /dev/null
+++ b/srcpkgs/python3-pytest-benchmark/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-benchmark'
+pkgname=python3-pytest-benchmark
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-pytest python3-py-cpuinfo"
+short_desc="Pytest fixture for benchmarking code"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/pytest-benchmark"
+changelog="https://github.com/ionelmc/pytest-benchmark/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-benchmark/pytest-benchmark-${version}.tar.gz"
+checksum=fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1
+# requires itself to be properly installed
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From b02555d88e62a084cc549538f46443d70824ecfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:34 +0100
Subject: [PATCH 03/11] New package: python3-pytest-isort-3.1.0

---
 srcpkgs/python3-pytest-isort/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..c3566853a180
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest python3-isort"
+checkdepends="${depends} python3-pytest-flake8 python3-pytest-black flake8"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest_isort/pytest_isort-${version}.tar.gz"
+checksum=067801dc5e54a474330d074d521c815948ff6d5cf0ed3b9d057b78216851186c
+# cba for now
+make_check=no
+
+post_install() {
+	vlicense LICENSE.rst
+}

From 541801b484c7934a7c729f3e3b66b2535957bb45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 27 Nov 2022 13:15:46 +0100
Subject: [PATCH 04/11] New package: python3-fields-5.0.0

---
 srcpkgs/python3-fields/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-fields/template

diff --git a/srcpkgs/python3-fields/template b/srcpkgs/python3-fields/template
new file mode 100644
index 000000000000..8dd9ccb1a00c
--- /dev/null
+++ b/srcpkgs/python3-fields/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-fields'
+pkgname=python3-fields
+version=5.0.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Python lib for boilerplate-less containers"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/python-fields"
+changelog="https://github.com/ionelmc/python-fields/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/f/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=31d4aa03d8d44e35df13c431de35136997f047a924a597d84f7bc209e1be5727
+# Requires patching to get working, is using ancient pytest options because
+# it's not been updated since 2016
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From bc14bf51d41c05c8f0aed4f8bf12b8e466eea148 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 27 Nov 2022 13:15:41 +0100
Subject: [PATCH 05/11] New package: python3-aspectlib-2.0.0

---
 srcpkgs/python3-aspectlib/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-aspectlib/template

diff --git a/srcpkgs/python3-aspectlib/template b/srcpkgs/python3-aspectlib/template
new file mode 100644
index 000000000000..dddae2684c5f
--- /dev/null
+++ b/srcpkgs/python3-aspectlib/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-aspectlib'
+pkgname=python3-aspectlib
+version=2.0.0
+revision=1
+build_style=python3-pep517
+make_check_args="--ignore tests/test_integrations.py"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-fields"
+checkdepends="python3-pytest"
+short_desc="Aspect-oriented programming, monkey-patch and decorators library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/python-aspectlib"
+changelog="https://github.com/ionelmc/python-aspectlib/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92
+make_check_pre="env PYTHONPATH=src"
+
+post_install() {
+	vlicense LICENSE
+}

From c055bb5443e36d3d4afdeaa09147ebd7985f8971 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:36:47 +0100
Subject: [PATCH 06/11] olm-python3: update to 3.2.13, adopt

---
 srcpkgs/olm-python3/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template
index db5bf6270aea..ce0c3ed8ed8e 100644
--- a/srcpkgs/olm-python3/template
+++ b/srcpkgs/olm-python3/template
@@ -1,20 +1,20 @@
 # Template file for 'olm-python3'
 pkgname=olm-python3
-version=3.2.8
-revision=2
+version=3.2.13
+revision=1
 build_wrksrc=python
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-cffi"
 makedepends="python3-devel libffi-devel olm-devel"
 depends="python3-cffi python3-future"
+checkdepends="${depends} python3-pytest python3-pytest-benchmark python3-aspectlib python3-pytest-isort"
 short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0"
 homepage="https://gitlab.matrix.org/matrix-org/olm"
+changelog="https://gitlab.matrix.org/matrix-org/olm/-/raw/master/CHANGELOG.rst"
 distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
-checksum=012e4c358404f273ab2f8502a06a4d80c8df41b17cc8dc1f47d195a71af8dda0
-# requires unpackaged pytest-{benchmark,isort}
-make_check=no
+checksum=8ac0c5e4a62d5464f0a6f3f35dd41b53d31bc3a188e93e3614d38237e0a32f81
 
 pre_build() {
 	make include/olm/olm.h

From 1d17ca5a4bff5b82c72c01e6ae98a8b5fb856d90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:46:50 +0100
Subject: [PATCH 07/11] python3-logbook: fix build and tests, adopt

---
 srcpkgs/python3-logbook/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-logbook/template b/srcpkgs/python3-logbook/template
index 1c1ba1856fbf..b49bd495ae46 100644
--- a/srcpkgs/python3-logbook/template
+++ b/srcpkgs/python3-logbook/template
@@ -1,12 +1,16 @@
 # Template file for 'python3-logbook'
 pkgname=python3-logbook
 version=1.5.3
-revision=5
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-devel python3-Cython"
+revision=6
+build_style=python3-pep517
+make_check_args="--ignore=scripts"
+make_install_target="dist/Logbook-${version}-*-*-*_*.whl"
+hostmakedepends="python3-setuptools python3-wheel python3-devel python3-Cython"
 depends="python3"
+checkdepends="python3-execnet python3-pytest python3-pyzmq python3-SQLAlchemy
+ python3-Jinja2 python3-Brotli"
 short_desc="Replacement for python's standard library logging module"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://logbook.readthedocs.org"
 distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz"

From 17c0339aa5a1c81410392f701d9273af0457e5e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:12 +0100
Subject: [PATCH 08/11] New package: python3-Faker-15.3.2

---
 srcpkgs/python3-Faker/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-Faker/template

diff --git a/srcpkgs/python3-Faker/template b/srcpkgs/python3-Faker/template
new file mode 100644
index 000000000000..828a7b0515ab
--- /dev/null
+++ b/srcpkgs/python3-Faker/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-Faker'
+pkgname=python3-Faker
+version=15.3.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-dateutil"
+checkdepends="${depends} python3-freezegun python3-validators python3-Pillow python3-pytest"
+short_desc="Python package for generating fake data"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://faker.readthedocs.io/en/master/"
+changelog="https://github.com/joke2k/faker/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/F/Faker/Faker-${version}.tar.gz"
+checksum=20d090e661bbe88a5d801ea5eb3d853564940352120c84c9a14968847aca2893
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 806f032a9aa64a291b42b844b19dc17bfc03d07f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:18 +0100
Subject: [PATCH 09/11] New package: python3-aioresponses-0.7.3

---
 srcpkgs/python3-aioresponses/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-aioresponses/template

diff --git a/srcpkgs/python3-aioresponses/template b/srcpkgs/python3-aioresponses/template
new file mode 100644
index 000000000000..dde93fd41a6a
--- /dev/null
+++ b/srcpkgs/python3-aioresponses/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-aioresponses'
+pkgname=python3-aioresponses
+version=0.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pbr python3-setuptools"
+depends="python3-aiohttp"
+checkdepends="${depends} python3-ddt python3-pytest"
+short_desc="Helper for mock/fake web requests in python aiohttp package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pnuckowski/aioresponses"
+distfiles="${PYPI_SITE}/a/aioresponses/aioresponses-${version}.tar.gz"
+checksum=2c64ed5710ee8cb4e958c569184dad12f4c9cd5939135cb38f88c6a8261cceb3
+
+post_install() {
+	vlicense LICENSE
+}

From 78c826995e574511ce0859a88fdec65f0b74eceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:37:30 +0100
Subject: [PATCH 10/11] New package: python3-pytest-black-0.3.12

---
 srcpkgs/python3-pytest-black/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-black/template

diff --git a/srcpkgs/python3-pytest-black/template b/srcpkgs/python3-pytest-black/template
new file mode 100644
index 000000000000..45c0089069b5
--- /dev/null
+++ b/srcpkgs/python3-pytest-black/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-black'
+pkgname=python3-pytest-black
+version=0.3.12
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest black python3-toml"
+checkdepends="${depends} flake8"
+short_desc="Pytest plugin to enable formatting checks with black"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/shopkeep/pytest-black"
+distfiles="${PYPI_SITE}/p/pytest-black/pytest-black-${version}.tar.gz"
+checksum=1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5
+
+post_install() {
+	vlicense LICENSE
+}

From 69ae773c3b0939e897321cacdcf61283dddf6489 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 18 Nov 2022 14:38:17 +0100
Subject: [PATCH 11/11] python3-matrix-nio: update to 0.20.1, adopt

---
 srcpkgs/python3-matrix-nio/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-matrix-nio/template b/srcpkgs/python3-matrix-nio/template
index bc37e3f6e935..6f11edf91a7d 100644
--- a/srcpkgs/python3-matrix-nio/template
+++ b/srcpkgs/python3-matrix-nio/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-matrix-nio'
 pkgname=python3-matrix-nio
-version=0.15.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.20.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
 depends="python3-future python3-aiohttp python3-aiofiles python3-h11
  python3-h2 python3-logbook python3-jsonschema python3-unpaddedbase64
  python3-pycryptodome olm-python3 python3-peewee python3-cachetools
- python3-atomicwrites"
+ python3-atomicwrites python3-aiohttp_socks"
+checkdepends="${depends} python3-pytest python3-pytest-isort python3-pytest-cov
+ python3-hyperframe python3-hypothesis python3-hpack python3-Faker python3-mypy
+ python3-pytest-aiohttp python3-aioresponses python3-pytest-benchmark"
 short_desc="Python3 matrix.org client library designed without builtin io"
-maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="ISC"
 homepage="https://github.com/poljar/matrix-nio"
+changelog="https://github.com/poljar/matrix-nio/raw/main/CHANGELOG.md"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=4fb0e9c5c9a89146ece71e8908974e41892679ee79a65182c2b2963445929935
+checksum=0b09c068be2dd975b083b7fc6730b8bc842014678945be4db1509aabe7b18237
 
 post_install() {
 	vlicense LICENSE.md

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PR PATCH] [Closed]: python3-matrix-nio: adopt, update to 0.20.1, update deps
  2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
                   ` (24 preceding siblings ...)
  2022-11-30 10:08 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-12-02  0:18 ` Piraty
  25 siblings, 0 replies; 27+ messages in thread
From: Piraty @ 2022-12-02  0:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]

There's a closed pull request on the void-packages repository

python3-matrix-nio: adopt, update to 0.20.1, update deps
https://github.com/void-linux/void-packages/pull/40596

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

Talked about this with @non-Jedi, he's okay with me adopting his packages.

<!--
#### 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] 27+ messages in thread

end of thread, other threads:[~2022-12-02  0:18 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18 13:49 [PR PATCH] python3-matrix-nio: adopt, update to 0.20.1, update deps jcgruenhage
2022-11-18 14:28 ` [PR PATCH] [Updated] " jcgruenhage
2022-11-18 16:56 ` jcgruenhage
2022-11-18 19:09 ` icp1994
2022-11-18 19:49 ` [PR REVIEW] " icp1994
2022-11-18 19:49 ` icp1994
2022-11-18 19:49 ` icp1994
2022-11-18 19:49 ` icp1994
2022-11-18 19:49 ` icp1994
2022-11-18 19:49 ` icp1994
2022-11-18 19:49 ` icp1994
2022-11-18 19:49 ` icp1994
2022-11-19 11:06 ` jcgruenhage
2022-11-19 11:16 ` jcgruenhage
2022-11-19 11:18 ` jcgruenhage
2022-11-19 11:19 ` [PR PATCH] [Updated] " jcgruenhage
2022-11-19 11:23 ` jcgruenhage
2022-11-19 12:35 ` [PR REVIEW] " icp1994
2022-11-19 13:00 ` icp1994
2022-11-19 13:25 ` jcgruenhage
2022-11-27 12:27 ` [PR PATCH] [Updated] " jcgruenhage
2022-11-27 12:28 ` [PR REVIEW] " jcgruenhage
2022-11-27 12:29 ` [PR PATCH] [Updated] " jcgruenhage
2022-11-27 12:54 ` jcgruenhage
2022-11-28 16:57 ` non-Jedi
2022-11-30 10:08 ` [PR PATCH] [Updated] " jcgruenhage
2022-12-02  0:18 ` [PR PATCH] [Closed]: " Piraty

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).