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 #52 from YunoHost-Apps/ci-auto-update-v2021.12.10

Upgrade to version 2021.12.10
This commit is contained in:
ewilly 2022-01-20 21:01:16 +01:00 committed by GitHub
commit cf303b873a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 52 additions and 49 deletions

View file

@ -40,7 +40,7 @@ jobs:
committer: 'yunohost-bot <yunohost-bot@users.noreply.github.com>' committer: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
author: 'yunohost-bot <yunohost-bot@users.noreply.github.com>' author: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
signoff: false signoff: false
base: testing base: master
branch: ci-auto-update-v${{ env.VERSION }} branch: ci-auto-update-v${{ env.VERSION }}
delete-branch: true delete-branch: true
title: 'Upgrade to version ${{ env.VERSION }}' title: 'Upgrade to version ${{ env.VERSION }}'

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:** 2021.12.8~ynh1 **Shipped version:** 2021.12.10~ynh1
**Demo:** https://demo.home-assistant.io **Demo:** https://demo.home-assistant.io

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Plateforme domotique Plateforme domotique
**Version incluse :** 2021.12.8~ynh1 **Version incluse :** 2021.12.10~ynh1
**Démo :** https://demo.home-assistant.io **Démo :** https://demo.home-assistant.io

View file

@ -42,10 +42,10 @@ fi
# Check User and permissions # Check User and permissions
[ ! -z "$DEBUG" ] && log "User '$(whoami)' is running that script and '$(has_sudo)'." [ ! -z "$DEBUG" ] && log "User '$(whoami)' is running that script and '$(has_sudo)'."
# create the virtual environment # upgrade the virtual environment
MY_PYTHON=$(readlink -e "$final_path/bin/python") MY_PYTHON=$(readlink -e "$final_path/bin/python")
[ ! -z "$DEBUG" ] && log "Using pyhton '$MY_PYTHON'." [ ! -z "$DEBUG" ] && log "Using pyhton '$MY_PYTHON'."
$MY_PYTHON -m venv "$final_path" $MY_PYTHON -m venv --upgrade "$final_path"
# activate the virtual environment # activate the virtual environment
source "$final_path/bin/activate" source "$final_path/bin/activate"
@ -53,6 +53,9 @@ source "$final_path/bin/activate"
# install last version of wheel # install last version of wheel
pip --cache-dir "$data_path/.cache" install --upgrade wheel pip --cache-dir "$data_path/.cache" install --upgrade wheel
# install last version of mysqlclient
pip --cache-dir "$data_path/.cache" install --upgrade mysqlclient
# upgrade homeassistant python package # upgrade homeassistant python package
pip --cache-dir "$data_path/.cache" install --upgrade $app pip --cache-dir "$data_path/.cache" install --upgrade $app

View file

@ -6,7 +6,7 @@
"en": "Home automation platform", "en": "Home automation platform",
"fr": "Plateforme domotique" "fr": "Plateforme domotique"
}, },
"version": "2021.12.8~ynh1", "version": "2021.12.10~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=2021.12.8 app_version=2021.12.10
# 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" 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"