git: e51b5b86095b - main - net-im/py-matrix-synapse: Unbreak the port

From: Ashish SHUKLA <ashish_at_FreeBSD.org>
Date: Tue, 18 Jan 2022 17:48:28 UTC
The branch main has been updated by ashish:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e51b5b86095bdb962b05f3c1e504fb33a91d5c96

commit e51b5b86095bdb962b05f3c1e504fb33a91d5c96
Author:     Sascha Biberhofer <ports@skyforge.at>
AuthorDate: 2022-01-18 17:37:18 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2022-01-18 17:47:40 +0000

    net-im/py-matrix-synapse: Unbreak the port
    
    - Remove the dependency constraint added by upstream for problem
      on Debian GNU/Linux, which does not occur on FreeBSD
    
    PR:             261232
---
 net-im/py-matrix-synapse/Makefile                           |  2 +-
 .../files/patch-synapse_python__dependencies.py             | 13 +++++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile
index 648f62536e42..124dc556428f 100644
--- a/net-im/py-matrix-synapse/Makefile
+++ b/net-im/py-matrix-synapse/Makefile
@@ -3,7 +3,7 @@
 PORTNAME=	matrix-synapse
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.49.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-im python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
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 4b3041fc7432..808f68974615 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,6 +1,15 @@
---- synapse/python_dependencies.py.orig	2021-12-17 15:03:44 UTC
+--- synapse/python_dependencies.py.orig	2022-01-15 14:42:17 UTC
 +++ synapse/python_dependencies.py
-@@ -85,7 +85,7 @@ REQUIREMENTS = [
+@@ -51,7 +51,7 @@ REQUIREMENTS = [
+     # we use the TYPE_CHECKER.redefine method added in jsonschema 3.0.0
+     "jsonschema>=3.0.0",
+     # frozendict 2.1.2 is broken on Debian 10: https://github.com/Marco-Sulla/python-frozendict/issues/41
+-    "frozendict>=1,<2.1.2",
++    "frozendict>=1",
+     "unpaddedbase64>=1.1.0",
+     "canonicaljson>=1.4.0",
+     # we use the type definitions added in signedjson 1.1.
+@@ -86,7 +86,7 @@ REQUIREMENTS = [
      "typing-extensions>=3.7.4",
      # We enforce that we have a `cryptography` version that bundles an `openssl`
      # with the latest security patches.