[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-12-09 Thread Johannes Löthberg via arch-commits
Date: Wednesday, December 9, 2020 @ 19:40:16
  Author: demize
Revision: 772928

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 772927, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 772927, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 772927, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 772927, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 772927, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   69 
 synapse.install   |   38 ++
 synapse.service   |   18 
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 127 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 772927, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-12-09 19:40:16 UTC (rev 772928)
@@ -0,0 +1,69 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.24.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('libwebp' 'python-jsonschema' 'python-twisted'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-mock' 
'python-parameterized'
+  'python-txredisapi' 'python-hiredis')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt'
+'python-txredisapi: redis'
+'python-hiredis')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+sha256sums=('d55a9b41432e3ca348b13d8e4b3ece6515b3e76a0f4062e8036ee1204842f53a'
+'ce434eaa92e6504988fb9005d49c078ab7a2d33951d8adece26ccce8b2475857'
+'aadfdd78fe73e6eb325ee4299b8db8b97bfa2f4e7df953aa8477f442598a7ec5'
+'65588c8c64dfb84cab831cd8d028a295d753cf7322dd63053e8488466047b45f')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
772927, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-12-09 19:40:16 UTC (rev 
772928)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.do

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-11-12 Thread Felix Yan via arch-commits
Date: Friday, November 13, 2020 @ 07:26:13
  Author: felixonmars
Revision: 753842

archrelease: copy trunk to community-staging-any

Added:
  matrix-synapse/repos/community-staging-any/
  matrix-synapse/repos/community-staging-any/PKGBUILD
(from rev 753841, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-staging-any/synapse.install
(from rev 753841, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-staging-any/synapse.service
(from rev 753841, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-staging-any/sysusers-synapse.conf
(from rev 753841, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-staging-any/tmpfiles-synapse.conf
(from rev 753841, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   69 
 synapse.install   |   38 ++
 synapse.service   |   18 
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 127 insertions(+)

Copied: matrix-synapse/repos/community-staging-any/PKGBUILD (from rev 753841, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-13 07:26:13 UTC (rev 753842)
@@ -0,0 +1,69 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.22.1
+pkgrel=2
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('libwebp' 'python-jsonschema' 'python-twisted' 
'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-mock' 
'python-parameterized'
+  'python-txredisapi' 'python-hiredis')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt'
+'python-txredisapi: redis'
+'python-hiredis')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+sha256sums=('ae55099c367f6ba19dc13b177041d47684d67c088fabf5a704cecf7f87304cda'
+'ce434eaa92e6504988fb9005d49c078ab7a2d33951d8adece26ccce8b2475857'
+'aadfdd78fe73e6eb325ee4299b8db8b97bfa2f4e7df953aa8477f442598a7ec5'
+'65588c8c64dfb84cab831cd8d028a295d753cf7322dd63053e8488466047b45f')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-staging-any/synapse.install (from rev 
753841, matrix-synapse/trunk/synapse.install)
===
--- community-staging-any/synapse.install   (rev 0)
+++ community-staging-any/synapse.install   2020-11-13 07:26:13 UTC (rev 
753842)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+  

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-10-27 Thread Johannes Löthberg via arch-commits
Date: Tuesday, October 27, 2020 @ 18:55:42
  Author: demize
Revision: 734826

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 734825, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 734825, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 734825, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 734825, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 734825, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   69 
 synapse.install   |   38 ++
 synapse.service   |   18 
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 127 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 734825, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-10-27 18:55:42 UTC (rev 734826)
@@ -0,0 +1,69 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.22.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('libwebp' 'python-jsonschema' 'python-twisted' 
'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-mock' 
'python-parameterized'
+  'python-txredisapi' 'python-hiredis')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt'
+'python-txredisapi: redis'
+'python-hiredis')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+sha256sums=('b92605066a8fe4270f317bead8d02e7f89b0677be80138bdc24d1b4cc5cf30b5'
+'ce434eaa92e6504988fb9005d49c078ab7a2d33951d8adece26ccce8b2475857'
+'aadfdd78fe73e6eb325ee4299b8db8b97bfa2f4e7df953aa8477f442598a7ec5'
+'65588c8c64dfb84cab831cd8d028a295d753cf7322dd63053e8488466047b45f')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
734825, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-10-27 18:55:42 UTC (rev 
734826)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+   

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-10-15 Thread Johannes Löthberg via arch-commits
Date: Thursday, October 15, 2020 @ 16:07:30
  Author: demize
Revision: 724171

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 724170, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 724170, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 724170, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 724170, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 724170, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   66 
 synapse.install   |   38 +++
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 124 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 724170, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-10-15 16:07:30 UTC (rev 724171)
@@ -0,0 +1,66 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.21.2
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('libwebp' 'python-jsonschema' 'python-twisted' 
'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-mock' 
'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('f7a3a347bdf5c0844dcf7f77f3baa246'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
724170, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-10-15 16:07:30 UTC (rev 
724171)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the we

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-10-12 Thread Johannes Löthberg via arch-commits
Date: Monday, October 12, 2020 @ 17:19:33
  Author: demize
Revision: 723693

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 723692, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 723692, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 723692, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 723692, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 723692, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   66 
 synapse.install   |   38 +++
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 124 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 723692, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-10-12 17:19:33 UTC (rev 723693)
@@ -0,0 +1,66 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.21.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('libwebp' 'python-jsonschema' 'python-twisted' 
'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-mock' 
'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('9221bcb264d0d9dca1bea6c70b742023'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
723692, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-10-12 17:19:33 UTC (rev 
723693)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webc

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-10-10 Thread Johannes Löthberg via arch-commits
Date: Saturday, October 10, 2020 @ 14:55:40
  Author: demize
Revision: 723126

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 723125, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 723125, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 723125, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 723125, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 723125, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   66 
 synapse.install   |   38 +++
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 124 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 723125, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-10-10 14:55:40 UTC (rev 723126)
@@ -0,0 +1,66 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.20.1
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('libwebp' 'python-jsonschema' 'python-twisted' 
'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-mock' 
'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('c28f8acf77ef53fa6a6c9fe7eb48879a'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
723125, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-10-10 14:55:40 UTC (rev 
723126)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the we

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-08-20 Thread Johannes Löthberg via arch-commits
Date: Thursday, August 20, 2020 @ 09:38:37
  Author: demize
Revision: 685352

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 685351, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 685351, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 685351, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 685351, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 685351, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   66 
 synapse.install   |   38 +++
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 124 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 685351, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-08-20 09:38:37 UTC (rev 685352)
@@ -0,0 +1,66 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.19.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('libwebp' 'python-jsonschema' 'python-twisted' 
'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-mock' 
'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('1a6146dabb58f2cf5bd6729a698c8684'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
685351, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-08-20 09:38:37 UTC (rev 
685352)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the web

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-08-16 Thread Johannes Löthberg via arch-commits
Date: Sunday, August 16, 2020 @ 14:21:35
  Author: demize
Revision: 681540

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 681538, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 681538, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 681538, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 681538, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 681538, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   66 
 synapse.install   |   38 +++
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 124 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 681538, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-08-16 14:21:35 UTC (rev 681540)
@@ -0,0 +1,66 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.18.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('libwebp' 'python-jsonschema' 'python-twisted' 
'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-mock' 
'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('d8a58e52822ef5e4e823036c212af5d9'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
681538, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-08-16 14:21:35 UTC (rev 
681540)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse confi

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-05-31 Thread Johannes Löthberg via arch-commits
Date: Sunday, May 31, 2020 @ 16:42:49
  Author: demize
Revision: 637698

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 637697, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 637697, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 637697, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 637697, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 637697, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   67 
 synapse.install   |   38 +++
 synapse.service   |   18 
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 125 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 637697, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-05-31 16:42:49 UTC (rev 637698)
@@ -0,0 +1,67 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.14.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('ebd30eefc1d35db030099448d4b068b4'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+## OIDC test is unconditionally run but requires authlib which isn't packaged 
yet, and trial doesn't have a way to specify tests to skip.
+#check() {
+#  cd synapse-$pkgver
+#  PYTHONPATH=. trial3 tests
+#}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
637697, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-05-31 16:42:49 UTC (rev 
637698)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-05-19 Thread Johannes Löthberg via arch-commits
Date: Tuesday, May 19, 2020 @ 19:07:53
  Author: demize
Revision: 630078

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 630077, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 630077, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 630077, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 630077, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 630077, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   66 
 synapse.install   |   38 +++
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 124 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 630077, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-05-19 19:07:53 UTC (rev 630078)
@@ -0,0 +1,66 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.13.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('fa09000c750ad506727f4c0f23534839'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
630077, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-05-19 19:07:53 UTC (rev 
630078)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+   

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-03-03 Thread Johannes Löthberg via arch-commits
Date: Tuesday, March 3, 2020 @ 18:21:03
  Author: demize
Revision: 589798

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 589797, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 589797, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 589797, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 589797, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 589797, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   66 
 synapse.install   |   38 +++
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 124 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 589797, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-03-03 18:21:03 UTC (rev 589798)
@@ -0,0 +1,66 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.11.1
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('ae2eeea94fad63b4a79120300dc9155e'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
589797, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-03-03 18:21:03 UTC (rev 
589798)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+  

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-02-24 Thread Johannes Löthberg via arch-commits
Date: Monday, February 24, 2020 @ 23:12:48
  Author: demize
Revision: 580926

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 580925, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 580925, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 580925, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 580925, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 580925, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   66 
 synapse.install   |   38 +++
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 124 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 580925, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-02-24 23:12:48 UTC (rev 580926)
@@ -0,0 +1,66 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.11.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('5b5bf6eb83415f4b97f54f93bbdef5ff'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
580925, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-02-24 23:12:48 UTC (rev 
580926)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+   

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-02-12 Thread Johannes Löthberg via arch-commits
Date: Wednesday, February 12, 2020 @ 19:14:34
  Author: demize
Revision: 569636

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 569635, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 569635, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 569635, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 569635, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 569635, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   66 
 synapse.install   |   38 +++
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 124 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 569635, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-02-12 19:14:34 UTC (rev 569636)
@@ -0,0 +1,66 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.10.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('284816bf6caaf895a0f9cecd34d68a3e'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
569635, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-02-12 19:14:34 UTC (rev 
569636)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-02-01 Thread Johannes Löthberg via arch-commits
Date: Saturday, February 1, 2020 @ 12:14:27
  Author: demize
Revision: 561011

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 561010, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 561010, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 561010, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 561010, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 561010, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   65 
 synapse.install   |   38 
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 123 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 561010, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-02-01 12:14:27 UTC (rev 561011)
@@ -0,0 +1,65 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.9.1
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('ce9de9a670a3c4e2f15e15e1ac92c789'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
561010, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-02-01 12:14:27 UTC (rev 
561011)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+ You need to either disab

[arch-commits] Commit in matrix-synapse/repos (6 files)

2020-01-16 Thread Johannes Löthberg via arch-commits
Date: Thursday, January 16, 2020 @ 20:55:52
  Author: demize
Revision: 552787

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 552786, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 552786, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 552786, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 552786, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 552786, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   65 
 synapse.install   |   38 
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 123 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 552786, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-01-16 20:55:52 UTC (rev 552787)
@@ -0,0 +1,65 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.8.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('c42c845ce141117a4e6209f2f8c72ce2'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
552786, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2020-01-16 20:55:52 UTC (rev 
552787)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+ You need to either disab

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-12-31 Thread Johannes Löthberg via arch-commits
Date: Tuesday, December 31, 2019 @ 13:37:05
  Author: demize
Revision: 545638

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 545637, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 545637, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 545637, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 545637, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 545637, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   65 
 synapse.install   |   38 
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 123 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 545637, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-12-31 13:37:05 UTC (rev 545638)
@@ -0,0 +1,65 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.7.3
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('753bc8a43f437077fa015d0638d69a79'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
545637, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2019-12-31 13:37:05 UTC (rev 
545638)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+ You need to either disab

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-12-20 Thread Johannes Löthberg via arch-commits
Date: Friday, December 20, 2019 @ 18:50:11
  Author: demize
Revision: 538574

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 538573, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 538573, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 538573, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 538573, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 538573, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   65 
 synapse.install   |   38 
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 123 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 538573, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-12-20 18:50:11 UTC (rev 538574)
@@ -0,0 +1,65 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.7.2
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('b2c4bdcbe84b6f5ea58dc672b26d86a5'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
538573, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2019-12-20 18:50:11 UTC (rev 
538574)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+ You need to either disabl

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-12-13 Thread Johannes Löthberg via arch-commits
Date: Friday, December 13, 2019 @ 18:57:09
  Author: demize
Revision: 537566

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 537565, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 537565, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 537565, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 537565, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 537565, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   65 
 synapse.install   |   38 
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 123 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 537565, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-12-13 18:57:09 UTC (rev 537566)
@@ -0,0 +1,65 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.7.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('8a4c73000f2f01eb7e9f927f962e241e'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
537565, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2019-12-13 18:57:09 UTC (rev 
537566)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+ You need to either disabl

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-12-02 Thread Johannes Löthberg via arch-commits
Date: Monday, December 2, 2019 @ 19:48:53
  Author: demize
Revision: 534723

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 534722, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 534722, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 534722, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 534722, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 534722, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   65 
 synapse.install   |   38 
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 123 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 534722, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-12-02 19:48:53 UTC (rev 534723)
@@ -0,0 +1,65 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.6.1
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('7ac1090fe169756483f65de8d3deb6a5'
+ 'fb196dee4f38a4b19e0a160f45574032'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
534722, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2019-12-02 19:48:53 UTC (rev 
534723)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+ You need to either disable

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-11-08 Thread Felix Yan via arch-commits
Date: Friday, November 8, 2019 @ 19:07:17
  Author: felixonmars
Revision: 524647

archrelease: copy trunk to community-staging-any

Added:
  matrix-synapse/repos/community-staging-any/
  matrix-synapse/repos/community-staging-any/PKGBUILD
(from rev 524646, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-staging-any/synapse.install
(from rev 524646, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-staging-any/synapse.service
(from rev 524646, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-staging-any/sysusers-synapse.conf
(from rev 524646, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-staging-any/tmpfiles-synapse.conf
(from rev 524646, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   72 
 synapse.install   |   38 +
 synapse.service   |   18 
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 130 insertions(+)

Copied: matrix-synapse/repos/community-staging-any/PKGBUILD (from rev 524646, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-11-08 19:07:17 UTC (rev 524647)
@@ -0,0 +1,72 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.5.1
+pkgrel=2
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-psutil' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf'
+ 
matrix-synapse-python-3.8.patch::"https://github.com/matrix-org/synapse/commit/affcc2cc.patch";)
+
+md5sums=('9b8cc37ca41207e24ef660771bea422d'
+ '276a99050f40601089255ea168bb7620'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09'
+ 'b33ea2a4c40b2871c517889298cad228')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+prepare() {
+  cd synapse-$pkgver
+  patch -p1 -i ../matrix-synapse-python-3.8.patch # Support python 3.8
+}
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-staging-any/synapse.install (from rev 
524646, matrix-synapse/trunk/synapse.install)
===
--- community-staging-any/synapse.install   (rev 0)
+++ community-staging-any/synapse.install   2019-11-08 19:07:17 UTC (rev 
524647)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ 

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-11-08 Thread Johannes Löthberg via arch-commits
Date: Friday, November 8, 2019 @ 18:13:28
  Author: demize
Revision: 524644

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 524643, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 524643, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 524643, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 524643, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 524643, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   65 
 synapse.install   |   38 
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 123 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 524643, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-11-08 18:13:28 UTC (rev 524644)
@@ -0,0 +1,65 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.5.1
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-psutil' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('9b8cc37ca41207e24ef660771bea422d'
+ '276a99050f40601089255ea168bb7620'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
524643, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2019-11-08 18:13:28 UTC (rev 
524644)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+ You need t

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-11-03 Thread Johannes Löthberg via arch-commits
Date: Sunday, November 3, 2019 @ 15:47:01
  Author: demize
Revision: 522528

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 522527, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 522527, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 522527, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 522527, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 522527, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   65 
 synapse.install   |   38 
 synapse.service   |   18 +
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 123 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 522527, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-11-03 15:47:01 UTC (rev 522528)
@@ -0,0 +1,65 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.4.1
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-psutil' 'python-idna' 'python-jinja'
+ 'python-bleach' 'systemd')
+checkdepends=('python-lxml' 'python-mock' 'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+md5sums=('b774159b8f9f2297ce854b8f53f95607'
+ '276a99050f40601089255ea168bb7620'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'e961c9ecad84a70345a57a7e9e6d5b09')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
522527, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2019-11-03 15:47:01 UTC (rev 
522528)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+ --server-name my.domain.name \\
+ --config-path /etc/synapse/homeserver.yaml \\
+ --generate-config \\
+ --report-stats=yes
+
+   N.B.: The default synapse config enables the webclient 
feature.
+ You need to either disable it, instal

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-06-14 Thread Johannes Löthberg via arch-commits
Date: Friday, June 14, 2019 @ 08:36:25
  Author: demize
Revision: 481406

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch
(from rev 481405, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 481405, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 481405, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 481405, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 481405, matrix-synapse/trunk/sysusers-synapse.conf)

-+
 0001-Bump-python_dependencies.patch |   29 ++
 PKGBUILD|   69 ++
 synapse.install |   25 
 synapse.service |   18 
 sysusers-synapse.conf   |1 
 5 files changed, 142 insertions(+)

Copied: 
matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch 
(from rev 481405, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
===
--- community-testing-any/0001-Bump-python_dependencies.patch   
(rev 0)
+++ community-testing-any/0001-Bump-python_dependencies.patch   2019-06-14 
08:36:25 UTC (rev 481406)
@@ -0,0 +1,29 @@
+From c1a7db468d4dbb3958f5b480fcde760566962ba4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= 
+Date: Tue, 8 Jan 2019 20:09:50 +0100
+Subject: [PATCH] Bump python_dependencies
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Johannes Löthberg 
+---
+ synapse/python_dependencies.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
+index f71e21ff4..b49873781 100644
+--- a/synapse/python_dependencies.py
 b/synapse/python_dependencies.py
+@@ -62,7 +62,7 @@ REQUIREMENTS = [
+ "six>=1.10",
+ # prometheus_client 0.4.0 changed the format of counter metrics
+ # (cf https://github.com/matrix-org/synapse/issues/4001)
+-"prometheus_client>=0.0.18,<0.4.0",
++"prometheus_client>=0.0.18,<0.7.0",
+ 
+ # we use attr.s(slots), which arrived in 16.0.0
+ # Twisted 18.7.0 requires attrs>=17.4.0
+-- 
+2.21.0
+

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 481405, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-06-14 08:36:25 UTC (rev 481406)
@@ -0,0 +1,69 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.0.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-psutil' 'python-idna'
+ 'systemd')
+checkdepends=('python-lxml' 'python-jinja' 'python-bleach' 'python-mock' 
'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-jinja: e-mail notifications'
+'python-bleach: e-mail notifications'
+'python-psutil: metrics')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'0001-Bump-python_dependencies.patch')
+
+md5sums=('cfb7afff9560ee30fb5d0ad68bf140e2'
+ '276a99050f40601089255ea168bb7620'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'ad2900abb04351778e577175cedf6edc')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+prepare() {
+   cd synapse-$pkgver
+   patch -p1 <"$srcdir"/0001-Bump-python_dependencies.patch
+}
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-04-24 Thread Johannes Löthberg via arch-commits
Date: Wednesday, April 24, 2019 @ 18:00:29
  Author: demize
Revision: 453400

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch
(from rev 453399, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 453399, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 453399, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 453399, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 453399, matrix-synapse/trunk/sysusers-synapse.conf)

-+
 0001-Bump-python_dependencies.patch |   29 ++
 PKGBUILD|   69 ++
 synapse.install |   25 
 synapse.service |   18 
 sysusers-synapse.conf   |1 
 5 files changed, 142 insertions(+)

Copied: 
matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch 
(from rev 453399, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
===
--- community-testing-any/0001-Bump-python_dependencies.patch   
(rev 0)
+++ community-testing-any/0001-Bump-python_dependencies.patch   2019-04-24 
18:00:29 UTC (rev 453400)
@@ -0,0 +1,29 @@
+From c1a7db468d4dbb3958f5b480fcde760566962ba4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= 
+Date: Tue, 8 Jan 2019 20:09:50 +0100
+Subject: [PATCH] Bump python_dependencies
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Johannes Löthberg 
+---
+ synapse/python_dependencies.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
+index f71e21ff4..b49873781 100644
+--- a/synapse/python_dependencies.py
 b/synapse/python_dependencies.py
+@@ -62,7 +62,7 @@ REQUIREMENTS = [
+ "six>=1.10",
+ # prometheus_client 0.4.0 changed the format of counter metrics
+ # (cf https://github.com/matrix-org/synapse/issues/4001)
+-"prometheus_client>=0.0.18,<0.4.0",
++"prometheus_client>=0.0.18,<0.7.0",
+ 
+ # we use attr.s(slots), which arrived in 16.0.0
+ # Twisted 18.7.0 requires attrs>=17.4.0
+-- 
+2.21.0
+

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 453399, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-04-24 18:00:29 UTC (rev 453400)
@@ -0,0 +1,69 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=0.99.3
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-psutil'
+ 'systemd')
+checkdepends=('python-lxml' 'python-jinja' 'python-mock' 
'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-jinja: e-mail notifications'
+'python-bleach: e-mail notifications'
+'python-psutil: metrics')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'0001-Bump-python_dependencies.patch')
+
+md5sums=('b06378a94f8dca4c54bda75199580d1e'
+ '276a99050f40601089255ea168bb7620'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'ad2900abb04351778e577175cedf6edc')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+prepare() {
+   cd synapse-$pkgver
+   patch -p1 <"$srcdir"/0001-Bump-python_dependencies.patch
+}
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdi

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-03-22 Thread Johannes Löthberg via arch-commits
Date: Friday, March 22, 2019 @ 18:42:25
  Author: demize
Revision: 443189

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch
(from rev 443187, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 443187, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 443187, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 443187, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 443187, matrix-synapse/trunk/sysusers-synapse.conf)

-+
 0001-Bump-python_dependencies.patch |   29 ++
 PKGBUILD|   69 ++
 synapse.install |   25 
 synapse.service |   18 
 sysusers-synapse.conf   |1 
 5 files changed, 142 insertions(+)

Copied: 
matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch 
(from rev 443187, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
===
--- community-testing-any/0001-Bump-python_dependencies.patch   
(rev 0)
+++ community-testing-any/0001-Bump-python_dependencies.patch   2019-03-22 
18:42:25 UTC (rev 443189)
@@ -0,0 +1,29 @@
+From c1a7db468d4dbb3958f5b480fcde760566962ba4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= 
+Date: Tue, 8 Jan 2019 20:09:50 +0100
+Subject: [PATCH] Bump python_dependencies
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Johannes Löthberg 
+---
+ synapse/python_dependencies.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
+index f71e21ff4..b49873781 100644
+--- a/synapse/python_dependencies.py
 b/synapse/python_dependencies.py
+@@ -62,7 +62,7 @@ REQUIREMENTS = [
+ "six>=1.10",
+ # prometheus_client 0.4.0 changed the format of counter metrics
+ # (cf https://github.com/matrix-org/synapse/issues/4001)
+-"prometheus_client>=0.0.18,<0.4.0",
++"prometheus_client>=0.0.18,<0.7.0",
+ 
+ # we use attr.s(slots), which arrived in 16.0.0
+ # Twisted 18.7.0 requires attrs>=17.4.0
+-- 
+2.21.0
+

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 443187, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-03-22 18:42:25 UTC (rev 443189)
@@ -0,0 +1,69 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=0.99.2
+pkgrel=2
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-psutil'
+ 'systemd')
+checkdepends=('python-lxml' 'python-jinja' 'python-mock' 
'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-jinja: e-mail notifications'
+'python-bleach: e-mail notifications'
+'python-psutil: metrics')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'0001-Bump-python_dependencies.patch')
+
+md5sums=('920a2773497b1487b29d20558a651ed2'
+ '276a99050f40601089255ea168bb7620'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ 'ad2900abb04351778e577175cedf6edc')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+prepare() {
+   cd synapse-$pkgver
+   patch -p1 <"$srcdir"/0001-Bump-python_dependencies.patch
+}
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-03-17 Thread Johannes Löthberg via arch-commits
Date: Sunday, March 17, 2019 @ 13:31:11
  Author: demize
Revision: 442369

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch
(from rev 442368, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 442368, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 442368, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 442368, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 442368, matrix-synapse/trunk/sysusers-synapse.conf)

-+
 0001-Bump-python_dependencies.patch |   29 ++
 PKGBUILD|   69 ++
 synapse.install |   25 
 synapse.service |   18 
 sysusers-synapse.conf   |1 
 5 files changed, 142 insertions(+)

Copied: 
matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch 
(from rev 442368, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
===
--- community-testing-any/0001-Bump-python_dependencies.patch   
(rev 0)
+++ community-testing-any/0001-Bump-python_dependencies.patch   2019-03-17 
13:31:11 UTC (rev 442369)
@@ -0,0 +1,29 @@
+From 0ffec97c70515e3ea3c2717a8eaa657fdd8fdf18 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= 
+Date: Tue, 8 Jan 2019 20:09:50 +0100
+Subject: [PATCH] Bump python_dependencies
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Johannes Löthberg 
+---
+ synapse/python_dependencies.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
+index 756721e30..f8ee9e53f 100644
+--- a/synapse/python_dependencies.py
 b/synapse/python_dependencies.py
+@@ -62,7 +62,7 @@ REQUIREMENTS = [
+ "six>=1.10",
+ # prometheus_client 0.4.0 changed the format of counter metrics
+ # (cf https://github.com/matrix-org/synapse/issues/4001)
+-"prometheus_client>=0.0.18,<0.4.0",
++"prometheus_client>=0.0.18,<0.6.0",
+ 
+ # we use attr.s(slots), which arrived in 16.0.0
+ # Twisted 18.7.0 requires attrs>=17.4.0
+-- 
+2.20.1
+

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 442368, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-03-17 13:31:11 UTC (rev 442369)
@@ -0,0 +1,69 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=0.99.2
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-psutil'
+ 'systemd')
+checkdepends=('python-lxml' 'python-jinja' 'python-mock' 
'python-parameterized')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-jinja: e-mail notifications'
+'python-bleach: e-mail notifications'
+'python-psutil: metrics')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'0001-Bump-python_dependencies.patch')
+
+md5sums=('920a2773497b1487b29d20558a651ed2'
+ '276a99050f40601089255ea168bb7620'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ '62b94bdcd227ec2d097ba2eb28fe36df')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+prepare() {
+   cd synapse-$pkgver
+   patch -p1 <"$srcdir"/0001-Bump-python_dependencies.patch
+}
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/

[arch-commits] Commit in matrix-synapse/repos (6 files)

2019-02-05 Thread Johannes Löthberg via arch-commits
Date: Tuesday, February 5, 2019 @ 19:33:32
  Author: demize
Revision: 429666

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch
(from rev 429665, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 429665, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 429665, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 429665, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 429665, matrix-synapse/trunk/sysusers-synapse.conf)

-+
 0001-Bump-python_dependencies.patch |   29 ++
 PKGBUILD|   70 ++
 synapse.install |   25 
 synapse.service |   18 
 sysusers-synapse.conf   |1 
 5 files changed, 143 insertions(+)

Copied: 
matrix-synapse/repos/community-testing-any/0001-Bump-python_dependencies.patch 
(from rev 429665, matrix-synapse/trunk/0001-Bump-python_dependencies.patch)
===
--- community-testing-any/0001-Bump-python_dependencies.patch   
(rev 0)
+++ community-testing-any/0001-Bump-python_dependencies.patch   2019-02-05 
19:33:32 UTC (rev 429666)
@@ -0,0 +1,29 @@
+From 0ffec97c70515e3ea3c2717a8eaa657fdd8fdf18 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= 
+Date: Tue, 8 Jan 2019 20:09:50 +0100
+Subject: [PATCH] Bump python_dependencies
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Johannes Löthberg 
+---
+ synapse/python_dependencies.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
+index 756721e30..f8ee9e53f 100644
+--- a/synapse/python_dependencies.py
 b/synapse/python_dependencies.py
+@@ -62,7 +62,7 @@ REQUIREMENTS = [
+ "six>=1.10",
+ # prometheus_client 0.4.0 changed the format of counter metrics
+ # (cf https://github.com/matrix-org/synapse/issues/4001)
+-"prometheus_client>=0.0.18,<0.4.0",
++"prometheus_client>=0.0.18,<0.6.0",
+ 
+ # we use attr.s(slots), which arrived in 16.0.0
+ # Twisted 18.7.0 requires attrs>=17.4.0
+-- 
+2.20.1
+

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 429665, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2019-02-05 19:33:32 UTC (rev 429666)
@@ -0,0 +1,70 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=0.99.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse";
+arch=('any')
+license=('Apache')
+
+depends=('python-jsonschema' 'python-twisted' 'python-service-identity'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-daemonize' 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-psutil'
+ 'systemd')
+makedepends=('python-mock')
+checkdepends=('python-lxml' 'python-jinja')
+optdepends=('python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-jinja: e-mail notifications'
+'python-bleach: e-mail notifications'
+'python-psutil: metrics')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz";
+'synapse.service'
+'sysusers-synapse.conf'
+'0001-Bump-python_dependencies.patch')
+
+md5sums=('038d087aa4b813b61ae7a0c0ea27abde'
+ '276a99050f40601089255ea168bb7620'
+ 'ecd9f66fb57fe1a2e1e2df07a460a35b'
+ '62b94bdcd227ec2d097ba2eb28fe36df')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+prepare() {
+   cd synapse-$pkgver
+   patch -p1 <"$srcdir"/0001-Bump-python_dependencies.patch
+}
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/li