diff --git a/app-misc/homeassistant/Manifest b/app-misc/homeassistant/Manifest index 7f54b4b0b..b60a65cc7 100644 --- a/app-misc/homeassistant/Manifest +++ b/app-misc/homeassistant/Manifest @@ -27,6 +27,7 @@ DIST homeassistant-core-0.107.0b2.tar.gz 5361198 BLAKE2B bf5beedbd964d4dd1c581b6 DIST homeassistant-core-0.107.1.tar.gz 5362052 BLAKE2B ad0ad446e56254419cd2ac236170ebf94be3fd957315c53aaf822c1b9f8fa17c3664ffbebf43f0b6a0b9818ffe1f697f7440e115bf2b4b0810c02b4b1b11a277 SHA512 d3e213bd530125137e1d9119b5a98fd835a7257db42983cd3573953936e3aceac78973d343704c876b5b6bf843615ad107ffd31c2695fcb614bb7cb307b2c28a DIST homeassistant-core-0.107.2.tar.gz 5362609 BLAKE2B 3330b852708018665667df9a2a10bb22ba877716081392faa0c06cf8ec08c03a8f6d6157604fadb700d0c638375c17fc8ea48f53c42008237d7893c1c6199935 SHA512 799b12b3558c403b7577ac22f2f8d506320133c965f7b84a8ecd417047648dbfe21ae90b2fc668e7da6153374c2f6228fbcaf57f3c3be3c90ddbcd6ba821810a DIST homeassistant-core-0.107.3.tar.gz 5362759 BLAKE2B ea028e762987f1fcbcf15bcbbfe7d1dd0eefcfd5f39e0f08f7e643b8dd1f2d5609b64ef46520e706bd4d6b04a955f46b54ecba7a1a884d0f9d2115bde67b77c6 SHA512 ad521cafcd0773b2d8f9df3472acdaad93d8c3e16f8eae2db184cb42389077e37a707433e71a633b5bb684dccfe3308684a75e87f0d571033357ac7e026f8aaa +DIST homeassistant-core-0.107.4.tar.gz 5362771 BLAKE2B 7164a663fa287c54600ea23e2dbbb64441b0c06923776ade842da2b8989ae97edb4d4f8ab3e4f279befa36e1825a5745e2cc28e0b697838f1b23febcf2b9b729 SHA512 187e43da972896a43d1a675020c058b71721ccbfd28ad2e5e4b9285eaf9a43421d4303ec24d286f3a93a9c86627748f86ae3694fd231136d4312a6227ce71aa5 EBUILD homeassistant-0.103.6.ebuild 13637 BLAKE2B 858da5035937dc57c1712cad0d74598df903d710380a000c2e4145697f27c3a4527a81d4d7e76a62e44fc1f84d6919d35565edc2bb819a6ba3b385d5d0a3bb66 SHA512 3f0ba31423f9cb15fa879077f8d91b4044bb12aa19c670cb6a7651887bb57f831c5b923290cd6810be8cbaf18a2d0e6623d64f7d331484da20b61ad2862c3e8f EBUILD homeassistant-0.104.3.ebuild 13644 BLAKE2B ce3456f1fc5d5b1727a33a91716de0dff22b6fb42a6e71bd5c5d94c3f056975f62e7b27928d31f7b7122b0d85cd38ea5173e4d07541b5dd4b2bd764c388f2727 SHA512 b1ce198744d631789a6567a71bc0c31baacc66b8a52e761875b04d3fee672b1c080bb440f51493589fd7de72e19cffe070f725134a6ef5c0b446acf7d35fce8c EBUILD homeassistant-0.105.0.ebuild 13833 BLAKE2B a3b9ca7cef689169a062314f2ecd5d749d3f667a35d9a158851556395960e21fa5d8621d28df982497a518cf9f09df6ed9e0d82bfe0627abc97dcc120f1c035f SHA512 684de6ad82f7939a60a521b7b7b4163a27900c2bb539f8d766b8ff8150fb756a464d37fd254a61e56f93b7761f45251afea6b3b9bef1ccac8b825074ce245c29 @@ -48,5 +49,6 @@ EBUILD homeassistant-0.107.0_beta2.ebuild 15003 BLAKE2B b139c41e1c7057afe9bc7974 EBUILD homeassistant-0.107.1.ebuild 15005 BLAKE2B 45b550cb791003bc62ab173d4f759f78f45099244fe1050f9379480979ead70c54943d005b236d5a2cf565fe043d0699393100bc61ca3fc0afae711d4d2579c3 SHA512 3132441100938c94ee6dfc0b8596baf76759a8e4a69f821a8d903bac3ab4ba35c290ebb9d7ee5473178f47f2eff8bd37ec05c01dddf775f56d2d5d4e20c28f95 EBUILD homeassistant-0.107.2.ebuild 15005 BLAKE2B 5d656183c3317c6c71fa66e5465b27ab70ff5e5588ec25652cf9d8a75eb4bf02b40a6f575df12fd043994f52bdd9f24c847970336628efba33572837391bee27 SHA512 8bc836ec163bef52e53235c7b97aeb96bf532144addaea0c6aa2fb6158423a8e8e9bbe3014bd606314d1474a95538b797e0493acf7a32d3059281ae35dcd8b5f EBUILD homeassistant-0.107.3.ebuild 15005 BLAKE2B 5d656183c3317c6c71fa66e5465b27ab70ff5e5588ec25652cf9d8a75eb4bf02b40a6f575df12fd043994f52bdd9f24c847970336628efba33572837391bee27 SHA512 8bc836ec163bef52e53235c7b97aeb96bf532144addaea0c6aa2fb6158423a8e8e9bbe3014bd606314d1474a95538b797e0493acf7a32d3059281ae35dcd8b5f +EBUILD homeassistant-0.107.4.ebuild 15005 BLAKE2B ebbf0882ca683d0ac05942aaf65f0a127a347dac5201415191093355aea376c916d60abf97cc0f855e9f0e8f838de1c1ef50b80b0b3a9a2aa28477f690bddac4 SHA512 4057835627e5b2b354a71b029cbb2826fdea514d74edb91d4747af104f84ec4e4423a763a9acdedf483c5b89af3a3995d1c83b80779bd159813b28d25670ca47 EBUILD homeassistant-9999.ebuild 60097 BLAKE2B 4ba5bcf3fabe78f94df5d73f63e0c3c249644b9862cc2a45dfddf6ce48f8ccaa934872fe56211b1924857cad4f2aea87a6767cda774a498807b02db06b028b25 SHA512 02e1fd5079c46a2f03418b8432485e8dce04b430f543abdb77164d124cbeb9a464d2f7d74934668621d3e13a6aea7cdb88dc28ab862a0a59d592de0ea21a7e8a MISC metadata.xml 7375 BLAKE2B cb959fcbbb7deb11e5ec9a1e52713ac7c17152964f2c89ba0d240c987dbc954de981948a2f033fa9c61991be7b9310b2c77f2c6d443ebe5a74b5309fb20d6ba5 SHA512 cecf45f1ce303345958a5917bfe4b9f8faf6bcda69419e0443ba6cc1d060fb3b0b6884c22a4d9252f0587b668a148749a598331da0a5722a6b71ddf0ef1106f6 diff --git a/app-misc/homeassistant/homeassistant-0.107.4.ebuild b/app-misc/homeassistant/homeassistant-0.107.4.ebuild new file mode 100644 index 000000000..49caea5ff --- /dev/null +++ b/app-misc/homeassistant/homeassistant-0.107.4.ebuild @@ -0,0 +1,308 @@ +# 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" +IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea axis bitcoin blockchain bmw_connected_drive braviatv buienradar cli ciscomobilityexpress coronavirus daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex plugwise qnap +recorder ring roku rxv samsungtv signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vallox vera velbus webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder" + +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 + + >=app-crypt/acme-0.32.0[${PYTHON_USEDEP}] + ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] + ~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}] + >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] + >=dev-python/asn1crypto-0.24.0[${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/beautifulsoup-4.8.2[${PYTHON_USEDEP}] + ~dev-python/blinkpy-0.14.2[${PYTHON_USEDEP}] + ~dev-python/boto3-1.9.252[${PYTHON_USEDEP}] + ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] + >=dev-python/cdu-0.1.3[${PYTHON_USEDEP}] + >=dev-python/certifi-2019.11.28[${PYTHON_USEDEP}] + $(python_gen_cond_dep '~dev-python/contextvars-2.4[${PYTHON_USEDEP}]' python3_6) + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + ~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}] + >=dev-python/coverage-4.5.2[${PYTHON_USEDEP}] + ~dev-python/cryptography-2.8[${PYTHON_USEDEP}] + >=dev-python/distro-1.4.0[${PYTHON_USEDEP}] + ~dev-python/docopt-0.6.2[${PYTHON_USEDEP}] + >=dev-python/docutils-0.14[${PYTHON_USEDEP}] + >=dev-python/ecdsa-0.13[${PYTHON_USEDEP}] + >=dev-python/envs-1.3[${PYTHON_USEDEP}] + >=dev-python/future-0.17.1[${PYTHON_USEDEP}] + ~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}] + ~dev-python/hass-nabucasa-0.32.2[${PYTHON_USEDEP}] + >=dev-python/idna-2.8[${PYTHON_USEDEP}] + >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}] + >=dev-python/ifaddr-0.1.6[${PYTHON_USEDEP}] + >=dev-python/immutables-0.9[${PYTHON_USEDEP}] + ~dev-python/importlib_metadata-1.5.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.3[${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/netdisco-2.6.0[${PYTHON_USEDEP}] + >=dev-python/nose-1.3.7[${PYTHON_USEDEP}] + >=dev-python/numpy-1.18.1[${PYTHON_USEDEP}] + mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}] + ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] ) + ~dev-python/passlib-1.7.1[${PYTHON_USEDEP}] + >=dev-python/pbr-5.1.3[${PYTHON_USEDEP}] + ~dev-python/pillow-7.0.0[${PYTHON_USEDEP}] + >=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}] + >=dev-python/psutil-5.6.5[${PYTHON_USEDEP}] + >=dev-python/PyChromecast-4.2.0[${PYTHON_USEDEP}] + >=dev-python/pycparser-2.19[${PYTHON_USEDEP}] + || ( >=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] ) + ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] + ~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-19.0.0[${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/python-slugify-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ~dev-python/pyyaml-5.3[${PYTHON_USEDEP}] + ~dev-python/requests-2.23.0[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}] + ~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}] + ~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}] + >=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}] + >=dev-python/six-1.12.0[${PYTHON_USEDEP}] + ~dev-python/transitions-0.6.9[${PYTHON_USEDEP}] + >=dev-python/typing-3.6.4-r1[${PYTHON_USEDEP}] + >=dev-python/tzlocal-1.5.1[${PYTHON_USEDEP}] + >=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.3[${PYTHON_USEDEP}] + =dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}] + ~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}] + ~dev-python/voluptuous-serialize-2.3.0[${PYTHON_USEDEP}] + >=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}] + =dev-python/warrant-0.6.1-r1[${PYTHON_USEDEP}] + >=dev-python/websocket-client-0.54.0[${PYTHON_USEDEP}] + ~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}] + >=dev-python/zeroconf-0.24.5[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.43.0 + + abode? ( ~dev-python/abodepy-0.18.1[${PYTHON_USEDEP}] ) + adguard? ( ~dev-python/adguardhome-0.4.1[${PYTHON_USEDEP}] ) + ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] ) + ambient_station? ( ~dev-python/aioambient-1.0.4[${PYTHON_USEDEP}] ) + amcrest? ( ~dev-python/amcrest-1.5.3[${PYTHON_USEDEP}] ) + androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}] + ~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] ) + apprise? ( ~dev-python/apprise-0.8.3[${PYTHON_USEDEP}] ) + asuswrt? ( ~dev-python/aioasuswrt-1.2.3[${PYTHON_USEDEP}] ) + atmo? ( ~dev-python/pyatmo-3.3.0[${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}] ) + axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] ) + bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] ) + blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] ) + bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.1[${PYTHON_USEDEP}] ) + braviatv? ( ~dev-python/braviatv-1.0.1 ) + buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] ) + cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] ) + ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] ) + coronavirus? ( ~dev-python/coronavirus-1.0.1[${PYTHON_USEDEP}] ) + daikin? ( ~dev-python/pydaikin-1.6.2[${PYTHON_USEDEP}] ) + darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] ) + denonavr? ( ~dev-python/denonavr-0.8.0[${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.11.0[${PYTHON_USEDEP}] ) + flume? ( ~dev-python/PyFlume-0.3.0[${PYTHON_USEDEP}] ) + flunearyou? ( ~dev-python/pyflunearyou-1.0.3[${PYTHON_USEDEP}] ) + fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] ) + frontend? ( ~app-misc/home-assistant-frontend-20200318.1[${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.1[${PYTHON_USEDEP}] ) + homekit? ( ~dev-python/aiohomekit-0.2.29.2[${PYTHON_USEDEP}] ) + homematic? ( ~dev-python/pyhomematic-0.1.65[${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.0.0[${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.6[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] ) + maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] ) + miio? ( ~dev-python/python-miio-0.4.8[${PYTHON_USEDEP}] ) + mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] ) + mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] ) + mqtt? ( virtual/mqtt ) + musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] ) + mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}] + dev-python/mysql-python[${PYTHON_USEDEP}] ) + virtual/mysql ) + nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.3[${PYTHON_USEDEP}] ) + openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] ) + owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] + virtual/mqtt ) + plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] ) + plugwise? ( ~dev-python/haanna-0.14.3[${PYTHON_USEDEP}] ) + qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] ) + roku? ( ~dev-python/roku-4.0.0[${PYTHON_USEDEP}] ) + recorder? ( ~dev-python/sqlalchemy-1.3.13[${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}] ) + signal? ( ~dev-python/pysignalclirestapi-0.2.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.24[${PYTHON_USEDEP}] ) + shodan? ( ~dev-python/shodan-1.21.3[${PYTHON_USEDEP}] ) + simplisafe? ( ~dev-python/simplisafe-python-9.0.4[${PYTHON_USEDEP}] ) + speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] ) + ssl? ( dev-libs/openssl:0 + app-crypt/certbot + net-proxy/haproxy ) + tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] ) + ubee? ( ~dev-python/pyubee-0.9[${PYTHON_USEDEP}] ) + unify? ( ~dev-python/aiounify-15[${PYTHON_USEDEP}] ) + vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] ) + vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] ) + velbus? ( ~dev-python/python-velbus-2.0.43[${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.2.1[${PYTHON_USEDEP}] ) + wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] ) + xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] ) + yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] ) + youtube? ( ~dev-python/youtube_dl-2020.3.8[${PYTHON_USEDEP}] ) + zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}] + ~dev-python/zigpy-homeassistant-0.16.0[${PYTHON_USEDEP}] + ~dev-python/zigpy-xbee-homeassistant-0.10.0[${PYTHON_USEDEP}] + ~dev-python/bellows-homeassistant-0.14.0[${PYTHON_USEDEP}] + ~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}] + ~dev-python/zha-quirks-0.0.37[${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.9[${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}" + 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}" + dobin "${FILESDIR}/hasstest" + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}