From d1d0287f7d075c96b41af90f0adfa5ec7a0d9290 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@p37t)" Date: Sun, 7 Jun 2020 12:46:21 +0200 Subject: [PATCH] update homeassistant-0.110.5 --- CHANGELOG.txt | 3 +- app-misc/homeassistant/Manifest | 2 + .../homeassistant-0.110.5.ebuild | 314 ++++++++++++++++++ 3 files changed, 318 insertions(+), 1 deletion(-) create mode 100644 app-misc/homeassistant/homeassistant-0.110.5.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 363518cc6..07b091fc0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,4 @@ -2020-06-07 +2020-06-07 homeassistant-0.110.5 * fix crashed gitea 3:) * bump av-8.0.2 * bump axis-29 @@ -25,6 +25,7 @@ * bump home-assistant-frontend-20200603.0 * bump home-assistant-frontend-20200603.1 * bump home-assistant-frontend-20200603.2 + * update homeassistant-0.110.5 2020-06-03 * bump pyforked-daapd-0.1.10 diff --git a/app-misc/homeassistant/Manifest b/app-misc/homeassistant/Manifest index 2223dbe4f..990faaa5e 100644 --- a/app-misc/homeassistant/Manifest +++ b/app-misc/homeassistant/Manifest @@ -19,6 +19,7 @@ DIST homeassistant-core-0.110.1.tar.gz 6326041 BLAKE2B 5e015c4f018016d07a4c2c977 DIST homeassistant-core-0.110.2.tar.gz 6327548 BLAKE2B c0380916b2911ae8899be8fc9d7a4c036030f5ab6beb9fd489a32213fbfc7bd3cd5360bdd04ed20add7f277ba7908a7d37994897b9a9e4871dd60718d4a2216e SHA512 e9230140c5a4d0fd93c0b57377e04aa11f0f599a5763e866f25406c8cecc8d25fac226517212579a9ba8639a4791790341010ce49d87261e7dc65811668a0d93 DIST homeassistant-core-0.110.3.tar.gz 6330308 BLAKE2B 51247251606acadd146138e66f8d58e5ba95c9b529fb7580f83c14ab205121769b8f99665f746d129b846276b0a3dd6eefaa2af26beb4cc38663a6c0da50b7d8 SHA512 83ac1c208c70a7b8e2c8309a706137e42e03108c6a044892819d93e71cf84af970a313d2608aaa2a465f6df86fcfd5199b2e9190cef9f0c6800dcf481da83b63 DIST homeassistant-core-0.110.4.tar.gz 6330776 BLAKE2B d0c2fa2303ae1675bdffb6c248d0c36ae39d7f52b3d886ba4f62c8d97813497a6fb1f3ed71193b6a4fc57b09440a0ad28de133a0babab4566461856224654c6c SHA512 d2409f9b3b9de4f80fd4d03f776779dbdfa78848530ece4f06c9dd0c10d0eca17d43f03979c9e4fe7a2c745f0de24a3bacd382045fcd367dc82886ba588f2418 +DIST homeassistant-core-0.110.5.tar.gz 6331129 BLAKE2B 9c7502896bd8ac4c8df822ad5bccb826d194c4595c25cfc8459a7fb2ddc25424f09b55867236b4c790e2df090aed419d338d1a924e19337f43f5341ac503fcf9 SHA512 bf318f2000fe9513b8a0461983d8bf67d21be97f818edcec626fb1f14c100a6de34472264878a89c5e51efe6f76a41c1833a0923f2e193467bcef71d6e75e86e EBUILD homeassistant-0.104.3.ebuild 13561 BLAKE2B dae3f479c7b3fb922388ef1090da1bdf2481f51c23c788b9d6013834e381c6b30e21a0ebe3cb7e8d35b0c6c5e5c40f4944523ca15816a930cf370e77888e0669 SHA512 3005e579f5fa57801e70bce5a7fac983125273cc2c707a9a0c0ffa0405e52d7000feb27881340c0b463caecb982026a3b319b77b62162bdd292720a58c081ebe EBUILD homeassistant-0.106.6.ebuild 14997 BLAKE2B 214823a28261aba249c999a96ca621a3229698e69fa551197381e33d24177a150c2574e2ed841434f70d8e1a6cc62cdcd84eeb453319074b4f895f4087c255b1 SHA512 869236be57e7496804a9bed15db25558f80ea14325c84ff1c9b573cd4cb5afd4d22e68ad7ee918f3bdd7f4186862adc98a8f9b3a2fb9833727f741c1906a8a1c EBUILD homeassistant-0.107.7.ebuild 14941 BLAKE2B d594f88b17bb764c7d1671d9a8510c1441637ebb3cbee6f373cfea235172ea35bb1aba1f1619d1dc6a32ea66fab8b39d673b7cdc1634a10a82bbb61f91549044 SHA512 01679606904c6934039d3816aada5da75d0fdc7b4243577f367a126aa882af197d79c6276b839a6e4e41484ebf7ec7dd7344fa844595eb62554f9e96499e1633 @@ -32,5 +33,6 @@ EBUILD homeassistant-0.110.1.ebuild 14955 BLAKE2B 7569673e81c45fe534a480a08cdf2c EBUILD homeassistant-0.110.2.ebuild 15080 BLAKE2B 44db30b04f25c9808855da1b349dc2c9d72ccc3749d17b512b1748b5f4cf07ead5bf3706a1e81833e8a1ee40dc6c13929ce09721bcb93925c1f1429643e3b395 SHA512 9750fb18d649c24f0cae874aacab651f1e6ac3bcb4ace4ee1549c1a3cb0e7e669a0be22b50a1d7f850cf072b1b313e4fbe9f06569451c7dba535c3b04d1ef592 EBUILD homeassistant-0.110.3.ebuild 15234 BLAKE2B 02a1e1f2b7339b2d189c56cefb738540a14bb75b9c2a653ba319ece83b6b5c3a5a1340f422deda7ecaa947899d05476a66aba523dcc51df8fb013c04cf04403d SHA512 4d2c05d5f62b4850c7de19a464f5a7517e3f3072fee40d0aa02bf16a7fe7faad1b6a5fe55692a6eee973299941534894b15b164a8f22124a0559487c4cf7bab6 EBUILD homeassistant-0.110.4.ebuild 15234 BLAKE2B 14d41453493997312255ea67c5350ffd9fb99941439f0e960441cc9102a2c046a4e3ccab8913de79e47557160a15f9da5e78a33e09d792d6a94125f6ecce3124 SHA512 6f6679fe0ba4096e4b8981eb121efc2a785c4b235827003b1b2450a4f640f9f24bed1a12df9e078dce4b958c7067af06d3b9cd381c673527f998024af2c4be6b +EBUILD homeassistant-0.110.5.ebuild 15234 BLAKE2B fac1b6381cf91cd37cb6472670bab9a253be47fb6daca21150ef3f0ab746396178c4aa14ffb63b2514768526eecb96c5d9e084931610fb9e1e996ccf5405e567 SHA512 637fa8c89be6d2c8e02e4eb40eb59e10223d0dc32f7550910524b811ee665b7739c22ef10c453cbf1ac15039cc9f483404f4859b7985bd48b7c880103c140a65 MISC homeassistant-9999.off 59945 BLAKE2B 9c278c87a006c376d37de747899c8172d12c0171e3534e7a27a63815535c4e5051d2d60600a3a14f92f76f56d89f013af7e08b8dd092a23a22d6d54bd2f7d1eb SHA512 41453d5f81529ec9fcf1e1514a11b9b42cd01b52eb1d998f4685aac09c0899e8e44b5cfc66da52ae221f2fff71ce80ffb4b8b68e19ed7f1741bb05669862cb5a MISC metadata.xml 9051 BLAKE2B 05b0e9932ece240cd0876f73fe3ced4d1a6c24b0ba0325e2013130f73569311f16d9e807d4c1cba452527ba125e5bcf5870db20af2912584f25e0acf1727ed37 SHA512 35fdf82a0b0e54a51311a3235d42ce7c8b476bb3d440579d3dbed7ff76650e840d2fed1900d5d70b0c0bdf9ee7f658e0ca813e0418af0dc8d2c7a9422a259d80 diff --git a/app-misc/homeassistant/homeassistant-0.110.5.ebuild b/app-misc/homeassistant/homeassistant-0.110.5.ebuild new file mode 100644 index 000000000..22a2fc99f --- /dev/null +++ b/app-misc/homeassistant/homeassistant-0.110.5.ebuild @@ -0,0 +1,314 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7,8} ) +inherit readme.gentoo-r1 eutils distutils-r1 + +MY_PN=${PN}-core +MY_PV=${PV/_beta/b} +MY_P=${MY_PN}-${MY_PV} + +DESCRIPTION="Open-source home automation platform running on Python on 3.7" +HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository" +SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux" +#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea aws axis bitcoin blockchain blink bmw_connected_drive bravia-tv buienradar +caldav +cast cli ciscomobilityexpress coronavirus daikin darksky delijn denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue iaqualink icloud incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen openwrt owntracks ozw plex plugwise qnap +recorder ring roku roomba rxv samsungtv +scrape signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl synologydsm systemmonitor test tellduslive tradfri ubee unifi vallox vera +version velbus velux webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder" + +# from 2020/04 cleanup to be removed or integrated later +# IUSE="${IUSE} x" + +RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN} + || ( dev-lang/python:3.7 dev-lang/python:3.8 ) + app-admin/logrotate + dev-db/sqlite + dev-libs/libfastjson + >=dev-libs/xerces-c-3.1.4-r1" + +# Home Assistant Core +RDEPEND="${RDEPEND} + ~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}] + ~dev-python/astral-1.10.1[${PYTHON_USEDEP}] + ~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}] + ~dev-python/attrs-19.3.0[${PYTHON_USEDEP}] + ~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}] + >=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}] + ~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}] + ~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] + ~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}] + ~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}] + >=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}] + ~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] + ~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + ~dev-python/requests-2.23.0[${PYTHON_USEDEP}] + ~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}] + ~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}] + ~dev-python/voluptuous-serialize-2.3.0[${PYTHON_USEDEP}]" + +# causing problems +# ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] + +# from package_constraints.txt +RDEPEND="${RDEPEND} + >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] + >=dev-python/distro-1.5.0[${PYTHON_USEDEP}] + ~dev-python/hass-nabucasa-0.34.3[${PYTHON_USEDEP}] + ~app-misc/home-assistant-frontend-20200519.4[${PYTHON_USEDEP}] + >=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}] + ~dev-python/sqlalchemy-1.3.16[${PYTHON_USEDEP}] + ~dev-python/zeroconf-0.26.3[${PYTHON_USEDEP}] + || ( >=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )" + +# still unknown origin +RDEPEND="${RDEPEND} + ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] + ~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}] + ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] + ~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}] + ~dev-python/HAP-python-2.8.4[${PYTHON_USEDEP}] + >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.9[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}] + >=dev-python/jose-1.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}] + ~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}] + ~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.3[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.18.4[${PYTHON_USEDEP}] + ~dev-python/passlib-1.7.1[${PYTHON_USEDEP}] + >=dev-python/pbr-5.1.3[${PYTHON_USEDEP}] + ~dev-python/pillow-7.1.2[${PYTHON_USEDEP}] + >=dev-python/pycparser-2.19[${PYTHON_USEDEP}] + >=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}] + >=dev-python/PyQRCode-1.2.1[${PYTHON_USEDEP}] + >=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}] + ~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}] + ~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}] + >=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}] + =dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}] + >=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}] + >=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}] + ~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}] + ~media-libs/mutagen-1.44.0" + +# Module requirements from useflags +RDEPEND="${RDEPEND} + abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] ) + adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] ) + ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] ) + ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] ) + amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] ) + androidtv? ( ~dev-python/androidtv-0.0.41[${PYTHON_USEDEP}] + ~dev-python/adb-shell-0.1.3[${PYTHON_USEDEP}] ) + apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] ) + asuswrt? ( ~dev-python/aioasuswrt-1.2.5[${PYTHON_USEDEP}] ) + atmo? ( ~dev-python/pyatmo-3.3.1[${PYTHON_USEDEP}] ) + atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] ) + aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] ) + avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] ) + aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] ) + axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] ) + bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] ) + blink? ( ~dev-python/blinkpy-0.15.0[${PYTHON_USEDEP}] ) + blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] ) + bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.5[${PYTHON_USEDEP}] ) + bravia-tv? ( ~dev-python/bravia-tv-1.0.4[${PYTHON_USEDEP}] + ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] ) + buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] ) + caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] ) + cast? ( ~dev-python/pychromecast-5.3.0[${PYTHON_USEDEP}] ) + cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] ) + ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] ) + coronavirus? ( ~dev-python/coronavirus-1.1.0[${PYTHON_USEDEP}] ) + daikin? ( ~dev-python/pydaikin-2.0.4[${PYTHON_USEDEP}] ) + darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] ) + delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] ) + denonavr? ( ~dev-python/denonavr-0.8.1[${PYTHON_USEDEP}] ) + discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] ) + dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] ) + emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] ) + enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] ) + esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] ) + everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] ) + enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] ) + envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] ) + flume? ( ~dev-python/PyFlume-0.4.0[${PYTHON_USEDEP}] ) + flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] ) + fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] ) + gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] ) + growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] ) + harmony? ( ~dev-python/aioharmony-0.1.13[${PYTHON_USEDEP}] ) + heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] ) + here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] ) + hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] ) + hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] ) + holidays? ( ~dev-python/holidays-0.10.2[${PYTHON_USEDEP}] ) + homekit? ( ~dev-python/aiohomekit-0.2.38[${PYTHON_USEDEP}] ) + homematic? ( ~dev-python/pyhomematic-0.1.66[${PYTHON_USEDEP}] ) + homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] ) + hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] ) + hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] ) + iaqualink? ( ~dev-python/iaqualink-0.3.3[${PYTHON_USEDEP}] ) + icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] ) + incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] ) + influxdb? ( dev-db/influxdb + ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] ) + ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] ) + jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] ) + kef? ( ~dev-python/aiokef-0.2.9[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ) + maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] ) + miio? ( ~dev-python/python-miio-0.5.0.1[${PYTHON_USEDEP}] ) + mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] ) + mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] ) + mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}] ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto ) + musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] ) + mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}] + dev-python/mysql-python[${PYTHON_USEDEP}] ) + virtual/mysql ) + myq? ( ~dev-python/pymyq-2.0.3[${PYTHON_USEDEP}] ) + nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] ) + openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] ) + owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] + virtual/mqtt ) + ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] ) + plex? ( ~dev-python/PlexAPI-3.6.0[${PYTHON_USEDEP}] ) + plugwise? ( ~dev-python/haanna-0.15.0[${PYTHON_USEDEP}] ) + qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] ) + roku? ( ~dev-python/rokuecp-0.4.2[${PYTHON_USEDEP}] ) + roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] ) + ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] ) + rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] + ~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] ) + samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] + ~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] ) + scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] ) + signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] ) + sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] ) + socat? ( net-misc/socat ) + socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] ) + somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] ) + sonos? ( >=dev-python/pysonos-0.0.30[${PYTHON_USEDEP}] ) + shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] ) + simplisafe? ( ~dev-python/simplisafe-python-9.2.0[${PYTHON_USEDEP}] ) + speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] ) + ssl? ( dev-libs/openssl:0 + app-crypt/certbot + net-proxy/haproxy ) + synologydsm? ( ~dev-python/python-synology-0.8.1[${PYTHON_USEDEP}] ) + systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] ) + tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] ) + tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] ) + ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] ) + unifi? ( ~dev-python/aiounifi-22[${PYTHON_USEDEP}] ) + vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] ) + vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] ) + version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] ) + velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] ) + velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] ) + webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] ) + wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] ) + wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] ) + withings? ( ~dev-python/withings-api-2.1.3[${PYTHON_USEDEP}] ) + wled? ( ~dev-python/wled-0.3.0[${PYTHON_USEDEP}] ) + wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] ) + xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] ) + yeelight? ( ~dev-python/yeelight-0.5.1[${PYTHON_USEDEP}] ) + youtube? ( ~dev-python/youtube_dl-2020.5.8[${PYTHON_USEDEP}] ) + zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}] + ~dev-python/zigpy-0.20.4[${PYTHON_USEDEP}] + ~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}] + ~dev-python/bellows-0.16.2[${PYTHON_USEDEP}] + ~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}] + ~dev-python/zha-quirks-0.0.39[${PYTHON_USEDEP}] ) + zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] ) + z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] + ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}] + ~dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}] )" + +DEPEND="${RDEPEND} + test? ( + ~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}] + ~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}] + ~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}] + ~dev-python/flake8-3.7.5[${PYTHON_USEDEP}] + ~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ~dev-python/mypy-0.660[${PYTHON_USEDEP}] + ~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}] + ~dev-python/pylint-2.2.2[${PYTHON_USEDEP}] + ~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] + ~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}] + ~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}] + ~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}] + ~dev-python/pytest-4.2.1[${PYTHON_USEDEP}] + ~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + )" + +INSTALL_DIR="/opt/${PN}" + +DISABLE_AUTOFORMATTING=1 +DOC_CONTENTS=" +The HA interface listens on port 8123 +hass configuration is in: /etc/${PN} +daemon command line arguments are configured in: /etc/conf.d/${PN} +logging is to: /var/log/${PN}/{server,errors,stdout}.log +The sqlite db is by default in: /etc/${PN} +support at https://git.edevau.net/onkelbeh/HomeAssistantRepository +" + +S="${WORKDIR}/core-${MY_PV}" + +DOCS="README.rst" + +src_prepare() { + # https://github.com/home-assistant/home-assistant/issues/28811 + if use maxcube_hack ; then + eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch" + #sed -e 's;if cube.is_windowshutter(device);if device.type == 4;' \ + # -i components/maxcube/binary_sensor.py \ + # || die + #sed -e 's;if cube.is_thermostat(device) or cube.is_wallthermostat(device);if device.type == 3 or device.type == 1;' \ + # -i components/maxcube/climate.py \ + # || die + fi + eapply_user +} + +python_install_all() { + dodoc ${DOCS} + distutils-r1_python_install_all + keepdir "$INSTALL_DIR" + keepdir "/etc/${PN}" + fowners -R "${PN}:${PN}" "/etc/${PN}" + keepdir "/var/log/${PN}" + fowners -R "${PN}:${PN}" "/var/log/${PN}" + newconfd "${FILESDIR}/${PN}.conf.d" "${PN}" + newinitd "${FILESDIR}/${PN}.init.d" "${PN}" + dobin "${FILESDIR}/hasstest" + if use socat ; then + newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave" + sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die + fi + if use mqtt ; then + sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die + fi + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" "${PN}" + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}