diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 9b6a235da..7f339e2bd 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,11 +1,11 @@ -2020-02-01 homeassistant-0.105.0_beta3 +2020-02-01 homeassistant-0.105.0_beta4 * expanded version patches on ESPHome: =dev-libs/protobuf-3.10.1 ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] =dev-python/pyyaml-5.3[${PYTHON_USEDEP}] =dev-embedded/platformio-4.1.0 =dev-python/colorlog-4.1.0[${PYTHON_USEDEP}] - * uodate homeassistant-0.105.0_beta3 + * update homeassistant-0.105.0_beta3 * bump pytrafikverket-0.1.6.1 * update pytest-5.3.5 * remove obsolete pytest ebuilds @@ -18,6 +18,7 @@ * remove bad email from dev-python/hkdf/metadata.xml * remove dev-python/cryptography, godd verion in main repo now * clean up broken pkg-config + * bump homeassistant-0.105.0_beta4 2020-01-31 homeassistant-0.105.0.beta2 * update s3transfer-0.2.1 diff --git a/app-misc/homeassistant/Manifest b/app-misc/homeassistant/Manifest index 11f423a4e..469770881 100644 --- a/app-misc/homeassistant/Manifest +++ b/app-misc/homeassistant/Manifest @@ -19,6 +19,7 @@ DIST homeassistant-0.105.0b0.tar.gz 5077753 BLAKE2B 19c848f5b7ba6b3437c43edb9a69 DIST homeassistant-0.105.0b1.tar.gz 5077863 BLAKE2B 11d8f61bc866ed7a27984d96443111d0dfd5f468d49dc23d85a760b0b070f334cf41e0c2f6751747a522c073a71e0eb19103ea687e2ec704dc4535eb00454a0b SHA512 b3dcb270570b19772eb66044c4cab606058c10a84d1573a1e7f18149b1ccff4f390d7bf315b196c026acfbb9ada02b84d69147b8c7fa69c626a24bb6ffec28ff DIST homeassistant-0.105.0b2.tar.gz 5077108 BLAKE2B 59f38c0d6adb531de3c0de2fa99cbaccd3f97e289eab2b58f76f8e6fd7615d3030a6ddf7425de985f0063a9be85400c5641b28a57257e887c9a852ba7dd0200b SHA512 9a3b7cb08e910df643a824826d347fc7524c4c7e8fcc86325b70e4e0f91b0b84136178124970b48f2e870bd32258dbf87905b843b64be6025beb8a1d77fe5bab DIST homeassistant-0.105.0b3.tar.gz 5078693 BLAKE2B ea0cd5074aad0484ef82c9fd8d0c1d0a36ab3b50dcf4bfb778e5729c5eb489e80d8d265a9d0b8f15aed6d6f243293f032ef035c330cde1055920ce6e4a5ae1c6 SHA512 8d379e7dcf9038eb6510d5c9374dedd7615b1a4a11fb5ce94444c96ebd5bdd06b7164988840123d3807cd98dbedbdc757a3ad1dcbb7e3f0c3c8897ece80d82bc +DIST homeassistant-0.105.0b4.tar.gz 5078623 BLAKE2B e7373e912f600cb9c2ffb1fc369750546a28ef82f2ad7a04b9ce7ba32ab19be3fc5a801ffcecd7cdea9a6379064166103fd35f022e1e2c7c8dad8fbd6b19846d SHA512 42bf6cb9d928a3cca486779b9be11ac99d22b787c3405ad83462c96857ccbd7202be97a4cc764533d0a1af1c44705f20ced63439dd6a625182a5a8212fc2af84 EBUILD homeassistant-0.100.3.ebuild 11946 BLAKE2B b70db85c512d92515f1f94b791a32165d9b15fe083eafe98fdd7b3859b9b3e572084e35750952a4032b934e98262982565b1dd69c191a5325acb5eedee7d4782 SHA512 3fd9baf5f68369572622e322df829460178938ce8fafffea23d302cad6bbfe29bc85c872a79bd437c418efb4950af3824524d1f6a2cc29d5a30eb3872d199931 EBUILD homeassistant-0.101.3-r2.ebuild 11962 BLAKE2B ef68b434402f8753df91b3d5be51ee2765d37f95bcf99e18a4638492cd31ffbfc4e8556c8e92dc69ece441cac3f725413c49b4268d1ffe910877156c35334451 SHA512 8fa77e471f8304c143344ca485936ad42c2b09ffa8d0afbcd62818f85ddddb10f6e2b8acb754221a52ec445f729365695a3cf493227c8fa3e50fff7425925796 EBUILD homeassistant-0.102.3.ebuild 13281 BLAKE2B 2a11cbd05a9c0e407dc5899b743015cd9e902f0fa89fd4c091454559e9533c896da4148c823d47670c6f922d8a15df275817191a1ca1241c297e54af42247a41 SHA512 4d53c2ddb6f156bcd911159138c4414d5e7ca1f00642d3ba05e0bf8a16afe303887dda408b07232e239e990eddfb9a84ac547790f1197ea55451f0d57258221a @@ -31,5 +32,6 @@ EBUILD homeassistant-0.105.0_beta0.ebuild 13872 BLAKE2B 00309c749a3e4311c82b918d EBUILD homeassistant-0.105.0_beta1.ebuild 13872 BLAKE2B 0a24d3450e05d11dc2e9cded4f74a743b37ee9af6580888830768a1be261e8411d7ee4f258b6c9bc10e3bf78fd289de497f1b9142270f1511f4ad8797e96f7f0 SHA512 95711070b9450215239fac348f2d211c8f03cf4f27c73fe9c72f96e386e34899f38653c669eb3280122b837b815b9986fddba8c7c4e35b674e8dad4132574288 EBUILD homeassistant-0.105.0_beta2.ebuild 13873 BLAKE2B 7947af6775cfc101f7c2bae183b2cda459bc970618475dc7fd0e8ab42fcc0ead7fadd38c9ff86e0934fc324ea7089b7c2155e87bcc14a02991b4f2ce14871851 SHA512 69c347172624e90931efb186adb0ae9b13fcbc16b2243132e36d08f2f9f2844af7986ceb139f636dc037553af42f6f3d338c31701598175feefe537afac496c2 EBUILD homeassistant-0.105.0_beta3.ebuild 13873 BLAKE2B 0ce43e2aae8ecaa4ed3a2c6b32f0e3fb165cc97626e5e1253a1978051382c8e9031f8912c96bbb9e779f763aac753c2edc9c45001ca5c471ffcfe03978926b83 SHA512 b41598b421a815189d43adb23f7db5e62d333c4159affb33f272d4eb921d807562766b3d204aa18e96cae029201e30693852b624ceb0bb45044e5f654e2896ce +EBUILD homeassistant-0.105.0_beta4.ebuild 13873 BLAKE2B 0ce43e2aae8ecaa4ed3a2c6b32f0e3fb165cc97626e5e1253a1978051382c8e9031f8912c96bbb9e779f763aac753c2edc9c45001ca5c471ffcfe03978926b83 SHA512 b41598b421a815189d43adb23f7db5e62d333c4159affb33f272d4eb921d807562766b3d204aa18e96cae029201e30693852b624ceb0bb45044e5f654e2896ce EBUILD homeassistant-9999.ebuild 57353 BLAKE2B 2463c9a6f7c8f192027395bfd1e728fd8f8052c77e0c8b62b293f4c75ed3a3cbe560e3e0ffbb527fe8c97753c9fb0cae0de67694b6c323b513436104d3aac012 SHA512 b0c51724473e2e6af2bef646a332313d3543f1d18e8a716223eccd24bc9133850bc465168e6399ab6ebcc6733895da649c7e2190bfc37bcb3fee23968001d228 MISC metadata.xml 6743 BLAKE2B cc5892645a9197a3bd970d048d2dfc5650e2cb135040607e9316e73e7ccb5d4006cbec5c14b5910c7995b2bbbee89a5ecf31a38456dad0ed3d7939fcef57e606 SHA512 20e46820fc583a5f5ad863fae9d2b7c31f4a7b3335915024770e2f127404ac6f85c00b6d9f89da22ba31c58ef66fce187157d522b93a472483aa7c5457afa0c9 diff --git a/app-misc/homeassistant/homeassistant-0.105.0_beta4.ebuild b/app-misc/homeassistant/homeassistant-0.105.0_beta4.ebuild new file mode 100644 index 000000000..29252ba15 --- /dev/null +++ b/app-misc/homeassistant/homeassistant-0.105.0_beta4.ebuild @@ -0,0 +1,309 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7,8} ) + +#inherit python-single-r1 user readme.gentoo-r1 eutils # distutils-r1 +inherit user readme.gentoo-r1 eutils distutils-r1 + +MY_P=${P/_beta/b} +MY_PV=${PV/_beta/b} + +DESCRIPTION="Open-source home automation platform running on Python on 3.7 (and 3.6 for a short time)" +HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository" +SRC_URI="https://github.com/home-assistant/home-assistant/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~arm64" +IUSE="abode ambiclimate ambient_station androidtv asuswrt atmo atv aurora avea axis bitcoin blockchain buienradar cli ciscomobilityexpress daikin darksky denonavr discogs 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 maxcube maxcube_hack miio mikrotik +mqtt musiccast +mysql openwrt plex qnap +recorder ring roku rxv samsungtv signal sma socat somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vera webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder" + +RDEPEND="${PYTHON_DEPS} + !app-misc/homeassistant-bin + >=dev-lang/python-3.6.5 + 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/cffi-1.12.2[${PYTHON_USEDEP}] + >=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/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.4.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.17.4[${PYTHON_USEDEP}] + ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] + ~dev-python/passlib-1.7.1-r1[${PYTHON_USEDEP}] + >=dev-python/pbr-5.1.3[${PYTHON_USEDEP}] + ~dev-python/pillow-6.2.1[${PYTHON_USEDEP}] + >=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}] + >=dev-python/psutil-5.6.5[${PYTHON_USEDEP}] + >=dev-python/PyChromecast-4.1.1[${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.22.0-r1[${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/vobject-0.9.6.1[${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/yarl-1.3.0[${PYTHON_USEDEP}] + >=dev-python/zeroconf-0.24.4[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.43.0 + + abode? ( ~dev-python/abodepy-0.17.0[${PYTHON_USEDEP}] ) + ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] ) + ambient_station? ( ~dev-python/aioambient-0.3.2[${PYTHON_USEDEP}] ) + androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}] + ~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] ) + asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] ) + atmo? ( ~dev-python/pyatmo-3.2.2[${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}] ) + buienradar? ( ~dev-python/buienradar-1.0.1[${PYTHON_USEDEP}] ) + cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] ) + ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${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.7.11[${PYTHON_USEDEP}] ) + discogs? ( ~dev-python/discogs_client-2.2.2[${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.2.4[${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-20200130.0[${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.9.12[${PYTHON_USEDEP}] ) + homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] ) + homematic? ( ~dev-python/pyhomematic-0.1.63[${PYTHON_USEDEP}] ) + homematicip? ( ~dev-python/homematicip-0.10.15[${PYTHON_USEDEP}] ) + hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] ) + hue? ( ~dev-python/aiohue-1.10.1[${PYTHON_USEDEP}] ) + incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] ) + influxdb? ( dev-db/influxdb + ~dev-python/influxdb-5.2.3[${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}] ) + mqtt? ( ~dev-python/hbmqtt-0.9.5[${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 ) + openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] ) + plex? ( ~dev-python/PlexAPI-3.3.0[${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.1.4[${PYTHON_USEDEP}] ) + sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] ) + socat? ( net-misc/socat ) + 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-6.1.0[${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.8[${PYTHON_USEDEP}] ) + unify? ( ~dev-python/aiounify-11[${PYTHON_USEDEP}] ) + vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] ) + webostv? ( ~dev-python/aiopylgtv-0.3.2[${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.01.24[${PYTHON_USEDEP}] ) + zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}] + ~dev-python/zigpy-homeassistant-0.13.0[${PYTHON_USEDEP}] + ~dev-python/zigpy-xbee-homeassistant-0.9.0[${PYTHON_USEDEP}] + ~dev-python/bellows-homeassistant-0.13.1[${PYTHON_USEDEP}] + ~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}] + ~dev-python/zha-quirks-0.0.32[${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.8[${PYTHON_USEDEP}] + ~dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}] + ~dev-python/cffi-1.12.2[${PYTHON_USEDEP}] ) +" +# ~dev-python/hass-nabucasa-0.31[${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}/home-assistant-${MY_PV}" + +DOCS="README.rst" + +pkg_setup() { + enewgroup "${PN}" + enewuser "${PN}" -1 -1 "$INSTALL_DIR" "${PN}" +} + +src_prepare() { + sed -e 's;astral==1.5;astral>=1.5;' \ + -i "setup.py" \ + -i homeassistant/package_constraints.txt + + # https://github.com/home-assistant/home-assistant/issues/28811 + if use maxcube_hack ; then + eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch" + 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 +}