matrix-synapse: 1.57.1 -> 1.58.1

This commit is contained in:
Tim Biermann 2022-05-06 12:39:50 +02:00
parent aa5b137e22
commit aaa2a00542
3 changed files with 397 additions and 928 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34rNXr9+J4EZY4M8Znw5nomwFre4nFK1SkuXwdHBD1xIcfK7as1pseHkLmieShEFxRmgEnmHwbh2pMGQVzociQM=
SHA256 (Pkgfile) = c3ff19534b7eec952f072d523e5a062df44965d6ffe5cff82af464dfc9d4aede
SHA256 (.footprint) = 5faaa21cd02de104325db0be80f265a706a7a52a8c68ff486de398086fe23eb0
SHA256 (matrix-synapse-1.57.1.tar.gz) = 07926e1601bd2973ea16baabd41268939ceeb90f6a8c98b31a3610de61dc5ad1
RWSagIOpLGJF31P52hbqouhL+QW9K4k7uURwHH6UI+c6GvMvYRkDY1N1XsiFu1dGhgoN2DELb+2mA2Yvqahq7cM9VqzqKGjFjAA=
SHA256 (Pkgfile) = 0c7c6bc91272a7f2e80edb72e5b91b7c92d6474eaf0e8b13e7d02d5c7a34506b
SHA256 (.footprint) = fe20adbde8fc41ea55ca6f8a4e257ad0522543e0f85c7a562d7bf5c4eae9c9f1
SHA256 (matrix-synapse-1.58.1.tar.gz) = 3e64e102ee9e848c70b923a68001990541bb749e9fb3fe2cf4f643ad40955add
SHA256 (synapse.service) = 6507699b1b562cb7fe449e2c3868847794fb38bd6a58e6ddd7e72af55f38abc3

View File

@ -5,18 +5,19 @@
# Optional: python3-hiredis python3-lxml python3-psutil python3-psycopg2 python3-pyjwt python3-txredisapi psycopg2
name=matrix-synapse
version=1.57.1
version=1.58.1
release=1
source=(https://github.com/matrix-org/synapse/archive/v$version/$name-$version.tar.gz
synapse.service)
build() {
cd synapse-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
-O1 \
--skip-build
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m install --optimize=1 --destdir=$PKG dist/*.whl
# fix bin dir
chmod +x $PKG/usr/bin/*
install -dm0700 -o synapse -g synapse /etc/synapse
install -dm0700 -o synapse -g synapse /var/lib/synapse