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>'
author: 'yunohost-bot <yunohost-bot@users.noreply.github.com>'
signoff: false
base: testing
base: master
branch: ci-auto-update-v${{ env.VERSION }}
delete-branch: true
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
**Shipped version:** 2021.12.8~ynh1
**Shipped version:** 2021.12.10~ynh1
**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
**Version incluse :** 2021.12.8~ynh1
**Version incluse :** 2021.12.10~ynh1
**Démo :** https://demo.home-assistant.io

View file

@ -42,10 +42,10 @@ fi
# Check User and permissions
[ ! -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")
[ ! -z "$DEBUG" ] && log "Using pyhton '$MY_PYTHON'."
$MY_PYTHON -m venv "$final_path"
$MY_PYTHON -m venv --upgrade "$final_path"
# activate the virtual environment
source "$final_path/bin/activate"
@ -53,6 +53,9 @@ source "$final_path/bin/activate"
# install last version of 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
pip --cache-dir "$data_path/.cache" install --upgrade $app

View file

@ -1,47 +1,47 @@
{
"name": "Home Assistant",
"id": "homeassistant",
"packaging_format": 1,
"description": {
"en": "Home automation platform",
"fr": "Plateforme domotique"
},
"version": "2021.12.8~ynh1",
"url": "https://github.com/home-assistant/home-assistant",
"upstream": {
"name": "Home Assistant",
"id": "homeassistant",
"packaging_format": 1,
"description": {
"en": "Home automation platform",
"fr": "Plateforme domotique"
},
"version": "2021.12.10~ynh1",
"url": "https://github.com/home-assistant/home-assistant",
"upstream": {
"license": "Apache-2.0",
"website": "https://www.home-assistant.io",
"demo": "https://demo.home-assistant.io",
"admindoc": "https://www.home-assistant.io/docs/",
"code": "https://github.com/home-assistant/core"
},
"license": "Apache-2.0",
"website": "https://www.home-assistant.io",
"demo": "https://demo.home-assistant.io",
"admindoc": "https://www.home-assistant.io/docs/",
"code": "https://github.com/home-assistant/core"
},
"license": "Apache-2.0",
"maintainer": {
"name": "ewilly",
"email": "ewilly@ewilly.fr"
},
"requirements": {
"maintainer": {
"name": "ewilly",
"email": "ewilly@ewilly.fr"
},
"requirements": {
"yunohost": ">= 4.3.0"
},
"multi_instance": false,
"services": [
"nginx"
],
"arguments": {
"install": [
{
"name": "domain",
"type": "domain"
},
{
"name": "is_public",
"type": "boolean",
"help": {
"en": "If not public, Smartphone app will not work",
"fr": "Dans le cas contraire, l'application sur Smartphone ne fonctionnera pas"
},
"default": true
}
]
}
},
"multi_instance": false,
"services": [
"nginx"
],
"arguments": {
"install": [
{
"name": "domain",
"type": "domain"
},
{
"name": "is_public",
"type": "boolean",
"help": {
"en": "If not public, Smartphone app will not work",
"fr": "Dans le cas contraire, l'application sur Smartphone ne fonctionnera pas"
},
"default": true
}
]
}
}

View file

@ -5,7 +5,7 @@
#=================================================
# Release to install
app_version=2021.12.8
app_version=2021.12.10
# 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"