[arch-commits] Commit in matrix-synapse/trunk (PKGBUILD use-mock-from-unittest.patch)

Alexander Epaneshnikov alex19ep at gemini.archlinux.org
Wed Jan 19 13:46:45 UTC 2022


    Date: Wednesday, January 19, 2022 @ 13:46:44
  Author: alex19ep
Revision: 1110487

upgpkg: matrix-synapse 1.50.1-1 upstream release

Modified:
  matrix-synapse/trunk/PKGBUILD
Deleted:
  matrix-synapse/trunk/use-mock-from-unittest.patch

------------------------------+
 PKGBUILD                     |   11 ++++-------
 use-mock-from-unittest.patch |   14 --------------
 2 files changed, 4 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-19 13:45:11 UTC (rev 1110486)
+++ PKGBUILD	2022-01-19 13:46:44 UTC (rev 1110487)
@@ -3,8 +3,8 @@
 # Contributor: Ivan Shapovalov <intelfx at intelfx.name>
 
 pkgname=matrix-synapse
-pkgver=1.49.2
-pkgrel=3
+pkgver=1.50.1
+pkgrel=1
 pkgdesc="Matrix reference homeserver"
 url="https://github.com/matrix-org/synapse"
 arch=('any')
@@ -18,7 +18,7 @@
          'python-service-identity' 'python-msgpack'
          'python-phonenumbers' 'python-prometheus_client'
          'python-attrs' 'python-netaddr' 'python-sortedcontainers'
-         'python-treq' 'python-idna' 'python-jinja'
+         'python-treq' 'python-idna' 'python-jinja' 'python-matrix-common'
          'python-bleach' 'python-typing_extensions' 'systemd')
 makedepends=('python-setuptools')
 checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-parameterized'
@@ -38,9 +38,8 @@
         'sysusers-synapse.conf'
         'tmpfiles-synapse.conf'
         'override-hardened.conf'
-        'use-mock-from-unittest.patch'
         'latest-frozendict.patch')
-sha256sums=('f5b0017e9d77db94fac853fbefbcb4538d879cb80f404b02003930c76f5cafab'
+sha256sums=('cc35b442a4356cf85b2bc4d140d2de0d3b92bcc9176adc1526a46798b3569c86'
             'f67334856609997eac26939d77cfc520e78e98d3755543ab730d83a0f362a35e'
             '74af0bc2f57e5ced1a44f2438922d420cbb7defedae784cac02ef125f276a2ed'
             '408527271e1250beb20531f140b91201ed464e42f7eb3f47f02967a2ac23a661'
@@ -48,7 +47,6 @@
             'aadfdd78fe73e6eb325ee4299b8db8b97bfa2f4e7df953aa8477f442598a7ec5'
             '65588c8c64dfb84cab831cd8d028a295d753cf7322dd63053e8488466047b45f'
             'd8e6b2a43a8a7d8f09c643f32e789a7ffeeb2d20bb07ee88ddc6923e1ab3b0e6'
-            '84b5e9b32ace497f40d0facd27eec3552924a8384130cb70caa9b0db9a13de3c'
             'f1307d1db27ef293ee2430ec734ac7380e6022ba1396770b343359179f9b294e')
 backup=('etc/synapse/log_config.yaml')
 install=synapse.install
@@ -55,7 +53,6 @@
 
 prepare() {
 	cd synapse-$pkgver
-	patch -Np1 -i ../use-mock-from-unittest.patch
 	patch -Np1 -i ../latest-frozendict.patch
 }
 

Deleted: use-mock-from-unittest.patch
===================================================================
--- use-mock-from-unittest.patch	2022-01-19 13:45:11 UTC (rev 1110486)
+++ use-mock-from-unittest.patch	2022-01-19 13:46:44 UTC (rev 1110487)
@@ -1,14 +0,0 @@
-diff --git a/tests/storage/test_background_update.py b/tests/storage/test_background_update.py
-index d77c001506c..542b70a1ee6 100644
---- a/tests/storage/test_background_update.py
-+++ b/tests/storage/test_background_update.py
-@@ -12,8 +12,7 @@
- # See the License for the specific language governing permissions and
- # limitations under the License.
- 
--# Use backported mock for AsyncMock support on Python 3.6.
--from mock import Mock
-+from unittest.mock import Mock
- 
- from twisted.internet.defer import Deferred, ensureDeferred
- 



More information about the arch-commits mailing list