1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Merge pull request #184 from YunoHost-Apps/testing

Testing
This commit is contained in:
ewilly 2023-01-30 08:53:49 +01:00 committed by GitHub
commit 0c95cc0aa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 29 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Home automation platform Home automation platform
**Shipped version:** 2023.1.6~ynh1 **Shipped version:** 2023.1.7~ynh1
**Demo:** https://demo.home-assistant.io **Demo:** https://demo.home-assistant.io

View file

@ -17,7 +17,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Plateforme domotique Plateforme domotique
**Version incluse :** 2023.1.6~ynh1 **Version incluse :** 2023.1.7~ynh1
**Démo :** https://demo.home-assistant.io **Démo :** https://demo.home-assistant.io

View file

@ -6,7 +6,7 @@
"en": "Home automation platform", "en": "Home automation platform",
"fr": "Plateforme domotique" "fr": "Plateforme domotique"
}, },
"version": "2023.1.6~ynh1", "version": "2023.1.7~ynh1",
"url": "https://github.com/home-assistant/home-assistant", "url": "https://github.com/home-assistant/home-assistant",
"upstream": { "upstream": {
"license": "Apache-2.0", "license": "Apache-2.0",

View file

@ -5,7 +5,7 @@
#================================================= #=================================================
# Release to install # Release to install
app_version=2023.1.6 app_version=2023.1.7
# Package dependencies # Package dependencies
pkg_dependencies="python3 python3-dev python3-venv python3-pip libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff5 libturbojpeg0 libmariadb-dev libmariadb-dev-compat rustc" pkg_dependencies="python3 python3-dev python3-venv python3-pip libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff5 libturbojpeg0 libmariadb-dev libmariadb-dev-compat rustc"
@ -41,25 +41,6 @@ myynh_create_dir () {
[ -d "$1" ] || mkdir -p "$1" [ -d "$1" ] || mkdir -p "$1"
} }
myynh_compile_libffi () {
ynh_print_info --message="Building libffi..."
# Download
wget "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" 2>&1
# Extract
tar zxf libffi-3.3.tar.gz
# Install
cd libffi-3.3
ynh_exec_warn_less ./configure
ynh_exec_warn_less make install
ldconfig
#Exit
cd ..
}
# Install specific python version # Install specific python version
# usage: myynh_install_python --python="3.8.6" # usage: myynh_install_python --python="3.8.6"
# | arg: -p, --python= - the python version to install # | arg: -p, --python= - the python version to install

View file

@ -79,9 +79,6 @@ ynh_script_progression --message="Installing dependencies..."
ynh_install_app_dependencies $pkg_dependencies ynh_install_app_dependencies $pkg_dependencies
# Install libffi-3.3 if libffi.so.7 is missing (buster)
[[ $(ldconfig -p | grep libffi.so.7) ]] || myynh_compile_libffi
myynh_install_python --python="$py_required_version" myynh_install_python --python="$py_required_version"
#================================================= #=================================================

View file

@ -95,9 +95,6 @@ ynh_script_progression --message="Upgrading dependencies..."
ynh_install_app_dependencies $pkg_dependencies ynh_install_app_dependencies $pkg_dependencies
# Install libffi-3.3 if libffi.so.7 is missing (buster)
[[ $(ldconfig -p | grep libffi.so.7) ]] || myynh_compile_libffi
#================================================= #=================================================
# UPDATE A CONFIG FILE # UPDATE A CONFIG FILE
#================================================= #=================================================