From 88c28d74bc1197d9f8f52863efcb2ca509ffd34f Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 29 Jun 2022 09:23:12 -0400 Subject: [PATCH 1/3] python3-matrix-common: update to 1.2.1. --- srcpkgs/python3-matrix-common/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-matrix-common/template b/srcpkgs/python3-matrix-common/template index b216a122778a..4ed002f4d2e6 100644 --- a/srcpkgs/python3-matrix-common/template +++ b/srcpkgs/python3-matrix-common/template @@ -1,6 +1,6 @@ # Template file for 'python3-matrix-common' pkgname=python3-matrix-common -version=1.1.0 +version=1.2.1 revision=1 wrksrc="matrix-python-common-${version}" build_style=python3-pep517 @@ -11,5 +11,5 @@ maintainer="Joel Beckmeyer " license="Apache-2.0" homepage="https://github.com/matrix-org/matrix-python-common" distfiles="https://github.com/matrix-org/matrix-python-common/archive/v${version}.tar.gz" -checksum=ad2efb9dfe878df88b115f44eb036046b2cee9d09a03c6bc2e464772a3622082 +checksum=75ccb0de5b5cd551d81770addea1d2b227831f9cb83d46079ee0c74af0fb0a69 make_check=no # requires unpackaged python3 module aiounittest From 6ed841898ec2e8789884d42ee212b1850ad8b036 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Sun, 10 Jul 2022 20:17:28 -0400 Subject: [PATCH 2/3] python3-phonenumbers: update to 8.12.51. --- 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 b9773a67edfe..c9be872c9dac 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.50 +version=8.12.51 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=f00d67f20875804f4fade4803a9438294029982ac929c6ba303e1f0290cf5d45 +checksum=9d4a9460127ffd288ae071dd1f7942e2329da5b5c5d57d8aabe7103427ca7cbf From 37240663ceef53223660a46e62013dc5fdc605ee Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 29 Jun 2022 09:22:59 -0400 Subject: [PATCH 3/3] synapse: update to 1.62.0. use trial from Twisted directly for tests to avoid issue with pytest and to allow for proper parallel run of tests if desired --- srcpkgs/synapse/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template index 6490cdf94035..d550b91c3ccb 100644 --- a/srcpkgs/synapse/template +++ b/srcpkgs/synapse/template @@ -1,6 +1,6 @@ # Template file for 'synapse' pkgname=synapse -version=1.61.1 +version=1.62.0 revision=1 build_style=python3-pep517 make_check_target=tests @@ -15,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 unzip" +checkdepends="$depends python3-parameterized 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=79b216330a22711521d0ff6694c9f12e40de7e7345a1601bac22021fcace36fc +checksum=395a5ebaefe6a027149017bfc110b11fbae1e9fb3f6165272406ab00334b1515 system_accounts="synapse" synapse_homedir="/var/lib/synapse" @@ -36,6 +36,10 @@ pre_check() { unzip ${make_install_target} "*.dist-info/*" } +do_check() { + PYTHONPATH="." trial3 ${makejobs} tests +} + post_install() { vsv synapse