git: 6f44ea6eddf0 - main - net/py-matrix-synapse-ldap3: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:29:35 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6f44ea6eddf0320d7d56cb58a5348014015c9938
commit 6f44ea6eddf0320d7d56cb58a5348014015c9938
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:46:29 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:21:11 +0000
net/py-matrix-synapse-ldap3: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
---
net/py-matrix-synapse-ldap3/Makefile | 8 ++++----
net/py-matrix-synapse-ldap3/files/setup.py | 3 ---
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/net/py-matrix-synapse-ldap3/Makefile b/net/py-matrix-synapse-ldap3/Makefile
index e496c5d951a4..cd925320cbdd 100644
--- a/net/py-matrix-synapse-ldap3/Makefile
+++ b/net/py-matrix-synapse-ldap3/Makefile
@@ -1,5 +1,6 @@
PORTNAME= matrix-synapse-ldap3
PORTVERSION= 0.2.2
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,16 +12,15 @@ WWW= https://github.com/matrix-org/matrix-synapse-ldap3
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=39.2.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
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.7+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-post-patch:
- @${CP} ${FILESDIR}/setup.py ${WRKSRC}/
-
.include <bsd.port.mk>
diff --git a/net/py-matrix-synapse-ldap3/files/setup.py b/net/py-matrix-synapse-ldap3/files/setup.py
deleted file mode 100644
index 606849326a40..000000000000
--- a/net/py-matrix-synapse-ldap3/files/setup.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from setuptools import setup
-
-setup()