Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= matrix-synapse |
4 |
PORTNAME= matrix-synapse |
5 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSION= 1.12.4 |
6 |
DISTVERSION= 1.14.0 |
7 |
CATEGORIES= net-im python |
7 |
CATEGORIES= net-im python |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
|
9 |
|
Lines 50-56
Link Here
|
50 |
${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR} \ |
50 |
${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR} \ |
51 |
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ |
51 |
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ |
52 |
${PYTHON_PKGNAMEPREFIX}mock>=2.0:devel/py-mock@${PY_FLAVOR} \ |
52 |
${PYTHON_PKGNAMEPREFIX}mock>=2.0:devel/py-mock@${PY_FLAVOR} \ |
53 |
${PYTHON_PKGNAMEPREFIX}parameterized>=0:devel/py-parameterized@${PY_FLAVOR} |
53 |
${PYTHON_PKGNAMEPREFIX}parameterized>=0:devel/py-parameterized@${PY_FLAVOR} \ |
|
|
54 |
${PYTHON_PKGNAMEPREFIX}authlib>=0.14.0:security/py-authlib@${PY_FLAVOR} |
54 |
|
55 |
|
55 |
USES= python:3.6+ |
56 |
USES= python:3.6+ |
56 |
USE_GITHUB= yes |
57 |
USE_GITHUB= yes |
Lines 77-91
Link Here
|
77 |
|
78 |
|
78 |
NO_ARCH= yes |
79 |
NO_ARCH= yes |
79 |
|
80 |
|
80 |
OPTIONS_DEFINE= LDAP PGSQL SQLITE URLPREVIEW DOCS |
81 |
OPTIONS_DEFINE= LDAP PGSQL SQLITE URLPREVIEW OIDC REDIS DOCS |
81 |
OPTIONS_DEFAULT= SQLITE PGSQL DOCS |
82 |
OPTIONS_DEFAULT= SQLITE PGSQL DOCS |
82 |
|
83 |
|
83 |
URLPREVIEW_DESC= Add dependencies necessary for URL previews |
84 |
URLPREVIEW_DESC= Add dependencies necessary for URL previews |
|
|
85 |
OIDC_DESC= Add dependencies for OpenID Connect based logins |
86 |
REDIS_DESC= Add support replication over Redis for synapse workers |
84 |
|
87 |
|
85 |
LDAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR} |
88 |
LDAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR} |
86 |
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>2.7:databases/py-psycopg2@${PY_FLAVOR} |
89 |
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>2.7:databases/py-psycopg2@${PY_FLAVOR} |
87 |
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} |
90 |
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} |
88 |
URLPREVIEW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR} |
91 |
URLPREVIEW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR} |
|
|
92 |
OIDC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}authlib>=0.14.0:security/py-authlib@${PY_FLAVOR} |
93 |
REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} \ |
94 |
${PYTHON_PKGNAMEPREFIX}txredisapi>=0:databases/py-txredisapi@${PY_FLAVOR} |
89 |
|
95 |
|
90 |
do-test: |
96 |
do-test: |
91 |
cd ${WRKSRC} && PYTHONPATH="." trial-${PYTHON_VER} tests |
97 |
cd ${WRKSRC} && PYTHONPATH="." trial-${PYTHON_VER} tests |