freebsd-ports/devel/py-matrix-common/Makefile
Po-Chuan Hsieh fca7d65664
devel/py-matrix-common: Remove outdated PYTHON_REL check after lang/python37 removal
Approved by:	portmgr (blanket)
With hat:	python
2023-08-27 05:42:07 +08:00

29 lines
776 B
Makefile

PORTNAME= matrix-common
DISTVERSION= 1.3.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= matrix_common-${PORTVERSION}
MAINTAINER= ports@skyforge.at
COMMENT= Common utilities for Synapse, Sydent and Sygnal
WWW= https://www.matrix.org
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>19.2.0:devel/py-attrs@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=18.9.0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
post-extract:
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
do-test:
cd ${WRKSRC} && PYTHONPATH="." trial-${PYTHON_VER} tests
.include <bsd.port.mk>