git: 990876d01bb4 - main - net/py-matrix-synapse-ldap3: Update to 0.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:44:54 UTC
The branch main has been updated by sunpoet:

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

commit 990876d01bb4818b85e0b98ee781fc1836fa7997
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:01:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:07 +0000

    net/py-matrix-synapse-ldap3: Update to 0.2.0
    
    Changes:        https://github.com/matrix-org/matrix-synapse-ldap3/releases
---
 net/py-matrix-synapse-ldap3/Makefile       | 8 ++++++--
 net/py-matrix-synapse-ldap3/distinfo       | 6 +++---
 net/py-matrix-synapse-ldap3/files/setup.py | 3 +++
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/net/py-matrix-synapse-ldap3/Makefile b/net/py-matrix-synapse-ldap3/Makefile
index b2d42129a896..5efa5ec6862c 100644
--- a/net/py-matrix-synapse-ldap3/Makefile
+++ b/net/py-matrix-synapse-ldap3/Makefile
@@ -1,7 +1,7 @@
 # Created by: Mark Felder <feld@FreeBSD.org>
 
 PORTNAME=	matrix-synapse-ldap3
-PORTVERSION=	0.1.5
+PORTVERSION=	0.2.0
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,11 +13,15 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ldap3>=2.8:net/py-ldap3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}service_identity>=0:security/py-service_identity@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}twisted>=15.1.0:devel/py-twisted@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+post-patch:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
 .include <bsd.port.mk>
diff --git a/net/py-matrix-synapse-ldap3/distinfo b/net/py-matrix-synapse-ldap3/distinfo
index b9cc3ac07ad9..67d21fbc1b30 100644
--- a/net/py-matrix-synapse-ldap3/distinfo
+++ b/net/py-matrix-synapse-ldap3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1624189741
-SHA256 (matrix-synapse-ldap3-0.1.5.tar.gz) = 9fdf8df7c8ec756642aa0fea53b31c0b2f1924f70d7f049a2090b523125456fe
-SIZE (matrix-synapse-ldap3-0.1.5.tar.gz) = 19086
+TIMESTAMP = 1647264614
+SHA256 (matrix-synapse-ldap3-0.2.0.tar.gz) = 91a0715b43a41ec3033244174fca20846836da98fda711fb01687f7199eecd2e
+SIZE (matrix-synapse-ldap3-0.2.0.tar.gz) = 20185
diff --git a/net/py-matrix-synapse-ldap3/files/setup.py b/net/py-matrix-synapse-ldap3/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/net/py-matrix-synapse-ldap3/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()