git: ee166a9c9823 - main - net-im/py-matrix-synapse: Update to 1.52.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Feb 2022 18:38:51 UTC
The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee166a9c98232279b50f1aecf30d69c933225317 commit ee166a9c98232279b50f1aecf30d69c933225317 Author: Sascha Biberhofer <ports@skyforge.at> AuthorDate: 2022-02-09 18:21:25 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2022-02-09 18:38:35 +0000 net-im/py-matrix-synapse: Update to 1.52.0 - Update dependencies patch to relax constraint on prometheus-client dependency, as the current version in ports is beyond the constraints PR: 261836 --- net-im/py-matrix-synapse/Makefile | 4 ++-- net-im/py-matrix-synapse/distinfo | 6 +++--- .../files/patch-synapse_python__dependencies.py | 15 ++++++++++++--- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile index 811c9a4a326d..dbb127e845d3 100644 --- a/net-im/py-matrix-synapse/Makefile +++ b/net-im/py-matrix-synapse/Makefile @@ -2,7 +2,7 @@ PORTNAME= matrix-synapse DISTVERSIONPREFIX= v -DISTVERSION= 1.51.0 +DISTVERSION= 1.52.0 CATEGORIES= net-im python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -86,7 +86,7 @@ PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>2.8:databases/py-psycopg2@${P REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}txredisapi>=1.4.7:databases/py-txredisapi@${PY_FLAVOR} SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} -URLPREVIEW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR} +URLPREVIEW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.2.0:devel/py-lxml@${PY_FLAVOR} post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} diff --git a/net-im/py-matrix-synapse/distinfo b/net-im/py-matrix-synapse/distinfo index 11ec774bdd7e..fb16c6565125 100644 --- a/net-im/py-matrix-synapse/distinfo +++ b/net-im/py-matrix-synapse/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1643126257 -SHA256 (matrix-org-synapse-v1.51.0_GH0.tar.gz) = acb587b9d4a92f15bc5f6e1f5b598ee1e1a7c3a298c923ff73ffd505de779353 -SIZE (matrix-org-synapse-v1.51.0_GH0.tar.gz) = 7665238 +TIMESTAMP = 1644421568 +SHA256 (matrix-org-synapse-v1.52.0_GH0.tar.gz) = 943cd2e3131c754bf0f7bd98d1614e65d56161fb4e2cc159bcd58853525bdef0 +SIZE (matrix-org-synapse-v1.52.0_GH0.tar.gz) = 7679941 diff --git a/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py b/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py index 808f68974615..71ff80f3a9fe 100644 --- a/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py +++ b/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py @@ -1,4 +1,4 @@ ---- synapse/python_dependencies.py.orig 2022-01-15 14:42:17 UTC +--- synapse/python_dependencies.py.orig 2022-02-08 11:47:35 UTC +++ synapse/python_dependencies.py @@ -51,7 +51,7 @@ REQUIREMENTS = [ # we use the TYPE_CHECKER.redefine method added in jsonschema 3.0.0 @@ -9,12 +9,21 @@ "unpaddedbase64>=1.1.0", "canonicaljson>=1.4.0", # we use the type definitions added in signedjson 1.1. -@@ -86,7 +86,7 @@ REQUIREMENTS = [ +@@ -77,7 +77,7 @@ REQUIREMENTS = [ + "phonenumbers>=8.2.0", + # we use GaugeHistogramMetric, which was added in prom-client 0.4.0. + # 0.13.0 has an incorrect type annotation, see #11832. +- "prometheus_client>=0.4.0,<0.13.0", ++ "prometheus_client>=0.4.0", + # we use `order`, which arrived in attrs 19.2.0. + # Note: 21.1.0 broke `/sync`, see #9936 + "attrs>=19.2.0,!=21.1.0", +@@ -87,7 +87,7 @@ REQUIREMENTS = [ "typing-extensions>=3.7.4", # We enforce that we have a `cryptography` version that bundles an `openssl` # with the latest security patches. - "cryptography>=3.4.7", + "cryptography", "ijson>=3.1", + "matrix-common==1.0.0", ] -