View | Details | Raw Unified | Return to bug 239013 | Differences between
and this patch

Collapse All | Expand All

(-)py-matrix-synapse/Makefile (-8 / +8 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	matrix-synapse
4
PORTNAME=	matrix-synapse
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
DISTVERSION=	0.99.5.2
6
DISTVERSION=	1.1.0
7
CATEGORIES=	net-im python
7
CATEGORIES=	net-im python
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
9
Lines 20-26 Link Here
20
		${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.1.3:devel/py-canonicaljson@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.1.3:devel/py-canonicaljson@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}signedjson>=1.0.0:security/py-signedjson@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}signedjson>=1.0.0:security/py-signedjson@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}pynacl>=1.2.1:security/py-pynacl@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}pynacl>=1.2.1:security/py-pynacl@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}service_identity>=16.0.0:security/py-service_identity@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}twisted>=18.7.0:devel/py-twisted@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}twisted>=18.7.0:devel/py-twisted@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}treq>=15.1:www/py-treq@${PY_FLAVOR} \
26
		${PYTHON_PKGNAMEPREFIX}treq>=15.1:www/py-treq@${PY_FLAVOR} \
26
		${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \
27
		${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \
Lines 32-46 Link Here
32
		${PYTHON_PKGNAMEPREFIX}pillow>=4.3.0:graphics/py-pillow@${PY_FLAVOR} \
33
		${PYTHON_PKGNAMEPREFIX}pillow>=4.3.0:graphics/py-pillow@${PY_FLAVOR} \
33
		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.4.4:devel/py-sortedcontainers@${PY_FLAVOR} \
34
		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.4.4:devel/py-sortedcontainers@${PY_FLAVOR} \
34
		${PYTHON_PKGNAMEPREFIX}psutil>=2.0.0:sysutils/py-psutil@${PY_FLAVOR} \
35
		${PYTHON_PKGNAMEPREFIX}psutil>=2.0.0:sysutils/py-psutil@${PY_FLAVOR} \
35
		${PYTHON_PKGNAMEPREFIX}pysaml2>=4.0.2:security/py-pysaml2@${PY_FLAVOR} \
36
		${PYTHON_PKGNAMEPREFIX}pysaml2>=4.5.2:security/py-pysaml2@${PY_FLAVOR} \
36
		${PYTHON_PKGNAMEPREFIX}pymacaroons-pynacl>=0.13.0:security/py-pymacaroons-pynacl@${PY_FLAVOR} \
37
		${PYTHON_PKGNAMEPREFIX}pymacaroons-pynacl>=0.13.0:security/py-pymacaroons-pynacl@${PY_FLAVOR} \
37
		${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.0:devel/py-msgpack@${PY_FLAVOR} \
38
		${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.2:devel/py-msgpack@${PY_FLAVOR} \
38
		${PYTHON_PKGNAMEPREFIX}phonenumbers>=8.2.0:devel/py-phonenumbers@${PY_FLAVOR} \
39
		${PYTHON_PKGNAMEPREFIX}phonenumbers>=8.2.0:devel/py-phonenumbers@${PY_FLAVOR} \
39
		${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${PY_FLAVOR} \
40
		${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${PY_FLAVOR} \
40
		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.2.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \
41
		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.2.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \
41
		${PYTHON_PKGNAMEPREFIX}attrs>17.4.0:devel/py-attrs@${PY_FLAVOR} \
42
		${PYTHON_PKGNAMEPREFIX}attrs>17.4.0:devel/py-attrs@${PY_FLAVOR} \
42
		${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \
43
		${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \
43
		${PYTHON_PKGNAMEPREFIX}simplejson>=3.10.0:devel/py-simplejson@${PY_FLAVOR} \
44
		${PYTHON_PKGNAMEPREFIX}simplejson>=3.10.0:devel/py-simplejson@${PY_FLAVOR} \
45
		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.9:devel/py-Jinja2@${PY_FLAVOR} \
46
		${PYTHON_PKGNAMEPREFIX}bleach>=1.4.3:www/py-bleach@${PY_FLAVOR} \
44
		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
47
		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
45
48
46
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}virtualenv>=15.0:devel/py-virtualenv@${PY_FLAVOR} \
49
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}virtualenv>=15.0:devel/py-virtualenv@${PY_FLAVOR} \
Lines 71-83 Link Here
71
74
72
NO_ARCH=	yes
75
NO_ARCH=	yes
73
76
74
OPTIONS_DEFINE=		EMAIL LDAP PGSQL SQLITE URLPREVIEW DOCS
77
OPTIONS_DEFINE=		LDAP PGSQL SQLITE URLPREVIEW DOCS
75
OPTIONS_DEFAULT=	SQLITE DOCS
78
OPTIONS_DEFAULT=	SQLITE DOCS
76
EMAIL_DESC=		Email notifications for missed messages
77
URLPREVIEW_DESC=	Add dependencies necessary for URL previews
79
URLPREVIEW_DESC=	Add dependencies necessary for URL previews
78
URLPREVIEW_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR}
80
URLPREVIEW_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR}
79
EMAIL_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}Jinja2>=2.9:devel/py-Jinja2@${PY_FLAVOR} \
80
			${PYTHON_PKGNAMEPREFIX}bleach>=1.4.2:www/py-bleach@${PY_FLAVOR}
81
LDAP_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR}
81
LDAP_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR}
82
PGSQL_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}psycopg2>2.7:databases/py-psycopg2@${PY_FLAVOR}
82
PGSQL_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}psycopg2>2.7:databases/py-psycopg2@${PY_FLAVOR}
83
SQLITE_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
83
SQLITE_RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
(-)py-matrix-synapse/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1559912139
1
TIMESTAMP = 1562250222
2
SHA256 (matrix-org-synapse-v0.99.5.2_GH0.tar.gz) = 0b820a1fbf81a4db2cd04f806f9a463dfcd8c0cd799701a4104e652431a6920b
2
SHA256 (matrix-org-synapse-v1.1.0_GH0.tar.gz) = a1dbb7b7d1421dc3839332151d26773956b6d3dedd2890dee0d2692232bb90ed
3
SIZE (matrix-org-synapse-v0.99.5.2_GH0.tar.gz) = 1277988
3
SIZE (matrix-org-synapse-v1.1.0_GH0.tar.gz) = 1347367
(-)py-matrix-synapse/files/patch-python_dependencies.py (-4 / +4 lines)
Lines 1-11 Link Here
1
--- synapse/python_dependencies.py.orig	2019-02-14 17:20:02.000000000 +0000
1
--- synapse/python_dependencies.py.orig	2019-07-06 10:05:12.487752833 +0200
2
+++ synapse/python_dependencies.py	2019-02-28 20:31:10.838648000 +0000
2
+++ synapse/python_dependencies.py	2019-07-06 10:05:32.045702936 +0200
3
@@ -62,7 +62,7 @@
3
@@ -67,7 +67,7 @@
4
     "six>=1.10",
4
     "six>=1.10",
5
     # prometheus_client 0.4.0 changed the format of counter metrics
5
     # prometheus_client 0.4.0 changed the format of counter metrics
6
     # (cf https://github.com/matrix-org/synapse/issues/4001)
6
     # (cf https://github.com/matrix-org/synapse/issues/4001)
7
-    "prometheus_client>=0.0.18,<0.4.0",
7
-    "prometheus_client>=0.0.18,<0.4.0",
8
+    "prometheus_client>=0.0.18",
8
+    "prometheus_client>=0.0.18",
9
 
10
     # we use attr.s(slots), which arrived in 16.0.0
9
     # we use attr.s(slots), which arrived in 16.0.0
11
     # Twisted 18.7.0 requires attrs>=17.4.0
10
     # Twisted 18.7.0 requires attrs>=17.4.0
11
     "attrs>=17.4.0",

Return to bug 239013