summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2018-11-05 16:56:02 +0100
committerAvatar Timo Gurr <tgurr@exherbo.org> 2018-11-05 16:56:02 +0100
commite3959822345f3cbe2ca1a522a482241a6bc6e62c (patch)
tree97732e9a11bad9b96953fb060d29e3cd41a4bed8
parent334376a4058721bb7f6e368227704861609dd13e (diff)
downloadnet-e3959822345f3cbe2ca1a522a482241a6bc6e62c.tar.gz
net-e3959822345f3cbe2ca1a522a482241a6bc6e62c.tar.xz
synapse: version bump to 0.33.8
-rw-r--r--packages/net/synapse/synapse-0.33.8.exheres-0 (renamed from packages/net/synapse/synapse-0.33.7.exheres-0)11
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/net/synapse/synapse-0.33.7.exheres-0 b/packages/net/synapse/synapse-0.33.8.exheres-0
index 70ec54c..c5b1a21 100644
--- a/packages/net/synapse/synapse-0.33.7.exheres-0
+++ b/packages/net/synapse/synapse-0.33.8.exheres-0
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
require github [ user=matrix-org tag=v${PV} ] \
- setup-py [ import=setuptools has_bin=true multibuild=false blacklist=3 test=pytest ] \
+ setup-py [ import=setuptools has_bin=true multibuild=false test=pytest ] \
systemd-service [ systemd_files=[ contrib/systemd/synapse.service ] ]
SUMMARY="Matrix reference homeserver"
@@ -30,7 +30,7 @@ DEPENDENCIES="
dev-python/daemonize[>=2.3.1][python_abis:*(-)?]
dev-python/frozendict[>=1][python_abis:*(-)?]
dev-python/jsonschema[>=2.5.1][python_abis:*(-)?]
- dev-python/msgpack[>=0.3.0][python_abis:*(-)?]
+ dev-python/msgpack[>=0.4.2][python_abis:*(-)?]
dev-python/netaddr[>=0.7.18][python_abis:*(-)?]
dev-python/phonenumbers[>=8.2.0][python_abis:*(-)?]
dev-python/Pillow[>=3.1.2][python_abis:*(-)?]
@@ -67,6 +67,11 @@ src_prepare() {
edo sed \
-e 's:pymacaroons-pynacl:pymacaroons:g' \
-i synapse/python_dependencies.py
+
+ # works with Python3
+ edo sed \
+ -e "s:/usr/bin/python2.7:${PYTHON}:g" \
+ -i contrib/systemd/synapse.service
}
src_install() {
@@ -81,7 +86,7 @@ src_install() {
pkg_postinst() {
elog "Generate a default configuration file:"
elog "cd /var/lib/synapse"
- elog "python2 -m synapse.app.homeserver \\"
+ elog "${PYTHON} -m synapse.app.homeserver \\"
elog " --server-name my.domain.name \\"
elog " --config-path /etc/synapse/homeserver.yaml \\"
elog " --generate-config \\"