aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/py-matrix-synapse/Makefile
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2018-10-07 12:18:14 +0800
committerswills <swills@FreeBSD.org>2018-10-07 12:18:14 +0800
commit3aba6dff6734e354b93d345039039ae72d13e711 (patch)
tree33a8ca40aba7466bcaff2813618d8123038b12b5 /net-im/py-matrix-synapse/Makefile
parent315b2876d68b22b7c884a00e8e847db6c427cb92 (diff)
downloadfreebsd-ports-gnome-3aba6dff6734e354b93d345039039ae72d13e711.tar.gz
freebsd-ports-gnome-3aba6dff6734e354b93d345039039ae72d13e711.tar.zst
freebsd-ports-gnome-3aba6dff6734e354b93d345039039ae72d13e711.zip
net-im/py-matrix-synapse: update to 0.33.5.1
PR: 231885 Submitted by: Sascha Biberhofer <ports@skyforge.at> (maintainer)
Diffstat (limited to 'net-im/py-matrix-synapse/Makefile')
-rw-r--r--net-im/py-matrix-synapse/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile
index 8637a058716a..6ef035993eed 100644
--- a/net-im/py-matrix-synapse/Makefile
+++ b/net-im/py-matrix-synapse/Makefile
@@ -3,7 +3,7 @@
PORTNAME= matrix-synapse
DISTVERSIONPREFIX= v
-DISTVERSION= 0.33.3.1
+DISTVERSION= 0.33.5.1
CATEGORIES= net-im python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,8 +20,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.5.1:devel/py-jsonschema@${PY_F
${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.1.3:devel/py-canonicaljson@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}signedjson>=1.0.0:security/py-signedjson@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pynacl>=1.2.1:security/py-pynacl@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}service_identity>=16.0:security/py-service_identity@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}twisted>=16.6.0:devel/py-twisted@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}service_identity>=1.0.0:security/py-service_identity@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}twisted>=17.1.0:devel/py-twisted@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}treq>=15.1:www/py-treq@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.9:devel/py-pyasn1@${PY_FLAVOR} \
@@ -48,7 +49,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=3.10.0:devel/py-simplejson@${PY
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>=15.0:devel/py-virtualenv@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
@@ -74,9 +76,10 @@ PLIST_FILES+= "@sample %%ETCDIR%%/log.config.sample"
NO_ARCH= yes
-OPTIONS_DEFINE= EMAIL LDAP PGSQL SQLITE
+OPTIONS_DEFINE= EMAIL LDAP PGSQL SQLITE URL_PREVIEW
OPTIONS_DEFAULT= SQLITE
-EMAIL_DESC= Email notifications for missed messages
+EMAIL_DESC= Email notifications for missed messages
+URL_PREVIEW_DESC= Add dependencies necessary for URL previews
EMAIL_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.8:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}bleach>=1.4.2:www/py-bleach@${PY_FLAVOR}
LDAP_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR}
@@ -87,9 +90,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/synapse/python_dependencies.py
do-test:
- # -epy27 added to skip running python packaging and other dist tests
- @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${TEST_TARGET} \
- -a "-epy27")
+ cd ${WRKSRC} && PYTHONPATH="." trial tests
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}