From 71fa75affd8c2783403a18386ec50895f44cac59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= 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 " +maintainer="Jan Christian Grünhage " 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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +maintainer="Jan Christian Grünhage " 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?= 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 " +maintainer="Jan Christian Grünhage " 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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +maintainer="Jan Christian Grünhage " 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