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

Johannes Löthberg demize at archlinux.org
Wed Jun 10 14:49:56 UTC 2020


    Date: Wednesday, June 10, 2020 @ 14:49:55
  Author: demize
Revision: 641511

Bump prometheus_client requirement

Added:
  matrix-synapse/trunk/prometheus-client-bound-bump.patch
Modified:
  matrix-synapse/trunk/PKGBUILD

------------------------------------+
 PKGBUILD                           |   13 ++++++++++---
 prometheus-client-bound-bump.patch |   11 +++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-10 14:46:54 UTC (rev 641510)
+++ PKGBUILD	2020-06-10 14:49:55 UTC (rev 641511)
@@ -3,7 +3,7 @@
 
 pkgname=matrix-synapse
 pkgver=1.14.0
-pkgrel=1
+pkgrel=2
 
 pkgdesc="Matrix reference homeserver"
 url="https://github.com/matrix-org/synapse"
@@ -32,16 +32,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'
+        'prometheus-client-bound-bump.patch')
 
 md5sums=('ebd30eefc1d35db030099448d4b068b4'
          'fb196dee4f38a4b19e0a160f45574032'
          'ecd9f66fb57fe1a2e1e2df07a460a35b'
-         'e961c9ecad84a70345a57a7e9e6d5b09')
+         'e961c9ecad84a70345a57a7e9e6d5b09'
+         'SKIP')
 
 backup=('etc/synapse/log_config.yaml')
 install=synapse.install
 
+prepare() {
+	cd synapse-$pkgver
+	patch -p1 <"$srcdir"/prometheus-client-bound-bump.patch
+}
+
 build() {
 	cd synapse-$pkgver
 	python setup.py build

Added: prometheus-client-bound-bump.patch
===================================================================
--- prometheus-client-bound-bump.patch	                        (rev 0)
+++ prometheus-client-bound-bump.patch	2020-06-10 14:49:55 UTC (rev 641511)
@@ -0,0 +1,11 @@
+--- a/synapse/python_dependencies.py
++++ b/synapse/python_dependencies.py
+@@ -67,7 +67,7 @@ REQUIREMENTS = [
+     "msgpack>=0.5.2",
+     "phonenumbers>=8.2.0",
+     "six>=1.10",
+-    "prometheus_client>=0.0.18,<0.8.0",
++    "prometheus_client>=0.0.18,<0.9.0",
+     # we use attr.s(slots), which arrived in 16.0.0
+     # Twisted 18.7.0 requires attrs>=17.4.0
+     "attrs>=17.4.0",



More information about the arch-commits mailing list