1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Merge pull request #366 from YunoHost-Apps/testing

Testing
This commit is contained in:
Josue-T 2023-02-24 08:07:29 +01:00 committed by GitHub
commit c3fec0cf84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 125 additions and 10 deletions

View file

@ -21,7 +21,7 @@ Instant messaging server matrix network.
Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org)
**Shipped version:** 1.76.0~ynh1
**Shipped version:** 1.77.0~ynh1
## Disclaimers / important information
## Configuration

View file

@ -21,7 +21,7 @@ Instant messaging server matrix network.
Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org)
**Version incluse :** 1.76.0~ynh1
**Version incluse :** 1.77.0~ynh1
## Avertissements / informations importantes
## Configuration

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.76.0/matrix-synapse_1.76.0-bookworm-bin1_armv7l.tar.gz
SOURCE_SUM=11b45507a34f16cae39eed899798f7078d54f32190ebc2c9b1450a1410eb639d
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.77.0/matrix-synapse_1.77.0-bookworm-bin1_armv7l.tar.gz
SOURCE_SUM=60b117008ebd0339c397983f11d8b3538eb5cd086839fcb3c46b70dc4348afda
# (Optional) Program to check the integrity (sha256sum, md5sum...)
# default: sha256
SOURCE_SUM_PRG=sha256sum

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.76.0/matrix-synapse_1.76.0-bullseye-bin1_armv7l.tar.gz
SOURCE_SUM=255fe98712d7482a68305e641e507048fb6c123e67912b788e6eeeb511b598cc
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.77.0/matrix-synapse_1.77.0-bullseye-bin1_armv7l.tar.gz
SOURCE_SUM=ddefcfa9ba4b80ac4b49cbd4ab4172c27136ce0ab32d4ac3f1d517ecc6b43391
# (Optional) Program to check the integrity (sha256sum, md5sum...)
# default: sha256
SOURCE_SUM_PRG=sha256sum

View file

@ -0,0 +1,55 @@
attrs==22.2.0
Automat==22.10.0
bcrypt==4.0.1
bleach==6.0.0
canonicaljson==1.6.4
certifi==2022.12.7
cffi==1.15.1
charset-normalizer==3.0.1
constantly==15.1.0
cryptography==39.0.1
frozendict==2.3.4
hyperlink==21.0.0
idna==3.4
ijson==3.2.0.post0
incremental==22.10.0
Jinja2==3.1.2
jsonschema==4.17.3
ldap3==2.9.1
lxml==4.9.2
MarkupSafe==2.1.2
matrix-common==1.3.0
matrix-synapse==1.77.0
matrix-synapse-ldap3==0.2.2
msgpack==1.0.4
ndg-httpsclient==0.5.1
netaddr==0.8.0
packaging==23.0
phonenumbers==8.13.6
Pillow==9.4.0
prometheus-client==0.16.0
psycopg2==2.9.5
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.21
pydantic==1.10.4
pymacaroons==0.13.0
PyNaCl==1.5.0
pyOpenSSL==23.0.0
pyrsistent==0.19.3
PyYAML==6.0
requests==2.28.2
semantic-version==2.10.0
service-identity==21.1.0
setuptools-rust==1.5.2
signedjson==1.1.4
simplejson==3.18.3
six==1.16.0
sortedcontainers==2.4.0
treq==22.2.0
Twisted==22.10.0
typing_extensions==4.4.0
unpaddedbase64==2.1.0
urllib3==1.26.14
webencodings==0.5.1
zope.interface==5.5.2

View file

@ -0,0 +1,56 @@
attrs==22.2.0
Automat==22.10.0
bcrypt==4.0.1
bleach==6.0.0
canonicaljson==1.6.4
certifi==2022.12.7
cffi==1.15.1
charset-normalizer==3.0.1
constantly==15.1.0
cryptography==39.0.1
frozendict==2.3.4
hyperlink==21.0.0
idna==3.4
ijson==3.2.0.post0
incremental==22.10.0
Jinja2==3.1.2
jsonschema==4.17.3
ldap3==2.9.1
lxml==4.9.2
MarkupSafe==2.1.2
matrix-common==1.3.0
matrix-synapse==1.77.0
matrix-synapse-ldap3==0.2.2
msgpack==1.0.4
ndg-httpsclient==0.5.1
netaddr==0.8.0
packaging==23.0
phonenumbers==8.13.6
Pillow==9.4.0
pkg_resources==0.0.0
prometheus-client==0.16.0
psycopg2==2.9.5
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.21
pydantic==1.10.4
pymacaroons==0.13.0
PyNaCl==1.5.0
pyOpenSSL==23.0.0
pyrsistent==0.19.3
PyYAML==6.0
requests==2.28.2
semantic-version==2.10.0
service-identity==21.1.0
setuptools-rust==1.5.2
signedjson==1.1.4
simplejson==3.18.3
six==1.16.0
sortedcontainers==2.4.0
treq==22.2.0
Twisted==22.10.0
typing_extensions==4.4.0
unpaddedbase64==2.1.0
urllib3==1.26.14
webencodings==0.5.1
zope.interface==5.5.2

View file

@ -6,7 +6,7 @@
"en": "Instant messaging server which uses Matrix",
"fr": "Serveur de messagerie instantané basé sur Matrix"
},
"version": "1.76.0~ynh1",
"version": "1.77.0~ynh1",
"url": "http://matrix.org",
"license": "Apache-2.0",
"maintainer": {

View file

@ -47,16 +47,20 @@ install_sources() {
source $final_path/bin/activate
set -$u_arg;
if [ $(lsb_release --codename --short) == "bullseye" ]; then
# Fix issue with setuptools https://github.com/pypa/setuptools/issues/3118
pip3 install --upgrade setuptools==60.8.2 wheel pip
else
pip3 install --upgrade setuptools wheel pip
fi
temp_requirement=$(mktemp)
cp $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt $temp_requirement
chown $synapse_user:root $temp_requirement
chown $synapse_user:root -R $final_path
sudo -u $synapse_user env PATH=$PATH pip3 install --upgrade 'cryptography>=3.4.7' 'pyOpenSSL>=22.1.0' 'attrs>=22.1.0'
pip3 install --upgrade cffi ndg-httpsclient psycopg2 lxml jinja2
# Fix issue https://github.com/YunoHost-Apps/synapse_ynh/issues/248
pip3 install --upgrade 'Twisted>=21' 'treq>=21.1.0' matrix-synapse==$upstream_version matrix-synapse-ldap3
sudo -u $synapse_user env PATH=$PATH pip3 install --upgrade -r $temp_requirement
ynh_secure_remove $temp_requirement
# This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does
set +$u_arg;