From 2e7ec3208b9d923e60059f083bcc999f41ed1628 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Tue, 26 Apr 2022 10:13:14 -0400 Subject: [PATCH 1/4] python3-frozendict: update to 2.3.2. --- srcpkgs/python3-frozendict/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-frozendict/template b/srcpkgs/python3-frozendict/template index 3946c2ee05b1..4badb45e2d89 100644 --- a/srcpkgs/python3-frozendict/template +++ b/srcpkgs/python3-frozendict/template @@ -1,6 +1,6 @@ # Template file for 'python3-frozendict' pkgname=python3-frozendict -version=2.3.1 +version=2.3.2 revision=1 wrksrc="frozendict-${version}" build_style=python3-module @@ -13,7 +13,7 @@ maintainer="Joel Beckmeyer " license="LGPL-3.0-only" homepage="https://github.com/Marco-Sulla/python-frozendict" distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz" -checksum=bc91c69233eb916bb6ebc40988b6d849735770240efc9c60be45b4ab919c1bde +checksum=7fac4542f0a13fbe704db4942f41ba3abffec5af8b100025973e59dff6a09d0d do_check() { PYTHONPATH="$(cd build/lib* && pwd)" pytest3 From 4f48e2e8a16b2b5b46b03519525955fecd05c612 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Tue, 26 Apr 2022 10:14:03 -0400 Subject: [PATCH 2/4] python3-phonenumbers: update to 8.12.47. --- srcpkgs/python3-phonenumbers/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-phonenumbers/template b/srcpkgs/python3-phonenumbers/template index 0a952e920922..5b4179baaacf 100644 --- a/srcpkgs/python3-phonenumbers/template +++ b/srcpkgs/python3-phonenumbers/template @@ -1,6 +1,6 @@ # Template file for 'python3-phonenumbers' pkgname=python3-phonenumbers -version=8.12.46 +version=8.12.47 revision=1 wrksrc="phonenumbers-${version}" build_style=python3-module @@ -12,4 +12,4 @@ license="Apache-2.0" homepage="https://github.com/daviddrysdale/python-phonenumbers" changelog="https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/python/HISTORY.md" distfiles="${PYPI_SITE}/p/phonenumbers/phonenumbers-${version}.tar.gz" -checksum=1c440f6336cb49893ff1a8326c70b4df693802ae981f210f545cd4215ac48133 +checksum=56fd605d2f5460e1df2117085b653bb38322295ec658e6acaafc9c976867d522 From 6daef018898710ff466322b26bb1a92f09ec6b78 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Tue, 3 May 2022 07:58:38 -0400 Subject: [PATCH 3/4] python3-canonicaljson: update to 1.6.1. --- srcpkgs/python3-canonicaljson/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-canonicaljson/template b/srcpkgs/python3-canonicaljson/template index b9535436442b..2124a48c545b 100644 --- a/srcpkgs/python3-canonicaljson/template +++ b/srcpkgs/python3-canonicaljson/template @@ -1,6 +1,6 @@ # Template file for 'python3-canonicaljson' pkgname=python3-canonicaljson -version=1.6.0 +version=1.6.1 revision=1 wrksrc="canonicaljson-${version}" build_style=python3-module @@ -12,4 +12,4 @@ maintainer="Joel Beckmeyer " license="Apache-2.0" homepage="https://github.com/matrix-org/python-canonicaljson" distfiles="${PYPI_SITE}/c/canonicaljson/canonicaljson-${version}.tar.gz" -checksum=8739d5fd91aca7281d425660ae65af7663808c8177778965f67e90b16a2b2427 +checksum=a93664f698556dbd4bab9c3fc4fb35834cf2535da1ea00b6b7758d8fe2bbb824 From 6a8e113f65438e26a6e9528f7d8cb34752464cdd Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Tue, 26 Apr 2022 10:17:05 -0400 Subject: [PATCH 4/4] synapse: update to 1.58.0. upstream dropped support for setup.py --- srcpkgs/synapse/template | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template index 22ad01847677..5e23260063e5 100644 --- a/srcpkgs/synapse/template +++ b/srcpkgs/synapse/template @@ -1,10 +1,11 @@ # Template file for 'synapse' pkgname=synapse -version=1.57.0 +version=1.58.0 revision=1 -build_style=python3-module +build_style=python3-pep517 make_check_target=tests -hostmakedepends="python3-setuptools" +make_install_target="matrix_synapse-${version}-*-*-*.whl" +hostmakedepends="python3-poetry-core" depends="python3-jsonschema python3-frozendict python3-canonicaljson python3-signedjson python3-pynacl python3-service_identity python3-Twisted python3-openssl python3-yaml python3-pyasn1 python3-pyasn1-modules @@ -14,14 +15,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson python3-saml2 python3-treq python3-macaroons python3-sortedcontainers python3-typing_extensions python3-ijson python3-matrix-common python3-packaging" -checkdepends="$depends python3-parameterized python3-pytest" +checkdepends="$depends python3-parameterized python3-pytest unzip" short_desc="Matrix reference homeserver" maintainer="Joel Beckmeyer " license="Apache-2.0" homepage="https://github.com/matrix-org/synapse" changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md" distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz" -checksum=d574f6f599f00d139045e04d017a201397b21248b560b69c5cdfccccd920cc0a +checksum=f859c3c426aff099360c84cfb580ba23b9d784b1a1b0e7b68965428f17e697ab system_accounts="synapse" synapse_homedir="/var/lib/synapse" @@ -31,6 +32,10 @@ make_dirs=" /etc/synapse 755 synapse synapse /var/log/synapse 0755 synapse synapse" +pre_check() { + unzip ${make_install_target} "*.dist-info/*" +} + post_install() { vsv synapse