[arch-commits] Commit in matrix-synapse/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Nov 8 19:00:07 UTC 2019


    Date: Friday, November 8, 2019 @ 19:00:06
  Author: arojas
Revision: 524645

Backport python 3.8 support

Modified:
  matrix-synapse/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-08 18:13:28 UTC (rev 524644)
+++ PKGBUILD	2019-11-08 19:00:06 UTC (rev 524645)
@@ -31,16 +31,23 @@
 source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz"
         'synapse.service'
         'sysusers-synapse.conf'
-        'tmpfiles-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')
+         '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



More information about the arch-commits mailing list