fca7d65664
Approved by: portmgr (blanket) With hat: python
29 lines
776 B
Makefile
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>
|