Merge pull request #82315 from Mic92/home-assistant

homeassistant: 0.106.1 -> 0.106.6
This commit is contained in:
Jörg Thalheim 2020-03-12 15:12:04 +00:00 committed by GitHub
commit a1bcb3a83f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 12 deletions

View File

@ -15,11 +15,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyicloud"; pname = "pyicloud";
version = "0.9.2"; version = "0.9.4";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1jjkzf7vwms6pymnmdr893830vrymxnq455xnqp21wqhjjiy2amd"; sha256 = "0r171wnq2g5bw7gd59vh6flm0104ix1a6s2vhdrf8s74hipw57si";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "0.106.1"; version = "0.106.6";
components = { components = {
"abode" = ps: with ps; [ ]; # missing inputs: abodepy "abode" = ps: with ps; [ ]; # missing inputs: abodepy
"acer_projector" = ps: with ps; [ pyserial]; "acer_projector" = ps: with ps; [ pyserial];
@ -124,6 +124,7 @@
"configurator" = ps: with ps; [ ]; "configurator" = ps: with ps; [ ];
"conversation" = ps: with ps; [ aiohttp-cors]; "conversation" = ps: with ps; [ aiohttp-cors];
"coolmaster" = ps: with ps; [ ]; # missing inputs: pycoolmasternet "coolmaster" = ps: with ps; [ ]; # missing inputs: pycoolmasternet
"coronavirus" = ps: with ps; [ ]; # missing inputs: coronavirus
"counter" = ps: with ps; [ ]; "counter" = ps: with ps; [ ];
"cover" = ps: with ps; [ ]; "cover" = ps: with ps; [ ];
"cppm_tracker" = ps: with ps; [ ]; # missing inputs: clearpasspy "cppm_tracker" = ps: with ps; [ ]; # missing inputs: clearpasspy

View File

@ -67,7 +67,7 @@ let
extraBuildInputs = extraPackages py.pkgs; extraBuildInputs = extraPackages py.pkgs;
# Don't forget to run parse-requirements.py after updating # Don't forget to run parse-requirements.py after updating
hassVersion = "0.106.1"; hassVersion = "0.106.6";
in with py.pkgs; buildPythonApplication rec { in with py.pkgs; buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -84,7 +84,7 @@ in with py.pkgs; buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "home-assistant"; repo = "home-assistant";
rev = version; rev = version;
sha256 = "0i261hzjfhqnq7j8dwsnj2h2vmr4vnxkvk2ff910am1knzni3a2z"; sha256 = "11kv5lmm8nxp7yv3w43mzmgzkafddy0z6wl2878p96iyil1w7qhb";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -4,11 +4,11 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here # the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend"; pname = "home-assistant-frontend";
version = "20200220.4"; version = "20200220.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0cb8b6xizxz1q5r0qgwsqs53va9bxdqnp4vwf5lh8ppv9zy7hssc"; sha256 = "0nc44r5ybq0prsz2yid622i0xr7q0qrc4ymbk69bqg6jrmjpbdl1";
}; };
# no Python tests implemented # no Python tests implemented

View File

@ -53,7 +53,7 @@ def get_version():
return m.group(1) return m.group(1)
def parse_components(version="master"): def parse_components(version: str = "master"):
components = {} components = {}
with tempfile.TemporaryDirectory() as tmp: with tempfile.TemporaryDirectory() as tmp:
with urlopen( with urlopen(
@ -61,14 +61,13 @@ def parse_components(version="master"):
) as response: ) as response:
tarfile.open(fileobj=BytesIO(response.read())).extractall(tmp) tarfile.open(fileobj=BytesIO(response.read())).extractall(tmp)
# Use part of a script from the Home Assistant codebase # Use part of a script from the Home Assistant codebase
sys.path.append(os.path.join(tmp, f"home-assistant-{version}")) core_path = os.path.join(tmp, f"core-{version}")
sys.path.append(core_path)
from script.hassfest.model import Integration from script.hassfest.model import Integration
integrations = Integration.load_dir( integrations = Integration.load_dir(
pathlib.Path( pathlib.Path(
os.path.join( os.path.join(core_path, "homeassistant/components")
tmp, f"home-assistant-{version}", "homeassistant/components"
)
) )
) )
for domain in sorted(integrations): for domain in sorted(integrations):