git: 4fc12516da40 - main - net-im/py-matrix-synapse: Remove outdated PYTHON_REL check after lang/python37 removal
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Aug 2023 21:53:45 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4fc12516da403f8cf94b962e3bf744f7612ea99a
commit 4fc12516da403f8cf94b962e3bf744f7612ea99a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-26 21:42:17 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-26 21:42:17 +0000
net-im/py-matrix-synapse: Remove outdated PYTHON_REL check after lang/python37 removal
Approved by: portmgr (blanket)
With hat: python
---
net-im/py-matrix-synapse/Makefile | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile
index e9367d6616ae..7671525d2a43 100644
--- a/net-im/py-matrix-synapse/Makefile
+++ b/net-im/py-matrix-synapse/Makefile
@@ -94,13 +94,6 @@ REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_F
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
URLPREVIEW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.2.0:devel/py-lxml@${PY_FLAVOR}
-.include <bsd.port.pre.mk>
-
-# Dependency required by Python < 3.8
-.if (${PYTHON_REL} < 30800)
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.4:devel/py-importlib-metadata@${PY_FLAVOR}
-.endif
-
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKDIR}/log.config ${STAGEDIR}${ETCDIR}/log.config.sample
@@ -112,4 +105,4 @@ post-install-DOCS-on:
do-test:
cd ${WRKSRC} && PYTHONPATH="${STAGEDIR}/${PYTHON_SITELIBDIR}:." trial-${PYTHON_VER} -j 4 tests
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>