Browse Source

fix test dependencies -> homeassistant-0.115.1-r1

update homeassistant-0.115.2, homeassistant-9999
tags/v0.115.2
Andreas Billmeier 1 month ago
committed by Andreas Billmeier
parent
commit
a3513a411b
Signed by: onkelbeh GPG Key ID: E6DB12C8C550F3C0
8 changed files with 916 additions and 755 deletions
  1. +1
    -0
      .gitignore
  2. +2
    -0
      CHANGELOG.txt
  3. +4
    -5
      app-misc/homeassistant/Manifest
  4. +0
    -356
      app-misc/homeassistant/homeassistant-0.114.1.ebuild
  5. +0
    -354
      app-misc/homeassistant/homeassistant-0.115.0_beta9.ebuild
  6. +438
    -0
      app-misc/homeassistant/homeassistant-0.115.1-r1.ebuild
  7. +438
    -0
      app-misc/homeassistant/homeassistant-0.115.2.ebuild
  8. +33
    -40
      app-misc/homeassistant/homeassistant-9999.off

+ 1
- 0
.gitignore View File

@@ -6,3 +6,4 @@
/repoman/*
/tools/
/metadata/md5-cache/
/ha-tools/

+ 2
- 0
CHANGELOG.txt View File

@@ -22,6 +22,8 @@
- add stdlib-list-0.7.0
* bump zigpy-0.24.1
* bump zigpy-deconz-0.10.0
* fix test dependencies -> homeassistant-0.115.1-r1
* update homeassistant-0.115.2, homeassistant-9999

2020-09-18 homeassistant-0.115.0
* Py3.8 flagged: atenpdu, baidu-aip, bizkaibus, blinkt, brottsplatskartan, pydroid-ipcam


+ 4
- 5
app-misc/homeassistant/Manifest View File

@@ -9,11 +9,11 @@ AUX recorder.yaml 114 BLAKE2B af04840805aa13124208584e7f1d40335905a083ee7deead5c
AUX socat-zwave.init.d 637 BLAKE2B d61c1024a6fe3ce8d322e62ac1ec15e00d08f5c5a63feabc8603ecc51ec16e0a4775e0c7da83d12d1ef0c9815c9ebf8ec8a86a678bb4a3b40decb04adc887f26 SHA512 2b13cd4175427853d5a4169cc7d441d62618e8136e4f5d9fd24d08a47f6916953ebd1e747ea9c7a0907b00766c7b2108ba3b8917178fd9a795da23e6525a0faf
AUX update-homeassistant 1326 BLAKE2B 917bdd332c4e5dea5177eecd11a7f8d72b911fddfdc8e5eb54960c526fe8c735e20d44e570cf7aeb99669d2a9670c70da1c5fbc30efb284d1f0f330799de6e24 SHA512 3c05f0d6d1bde0e1526c3e679568794c07091e7856dfd8793e13feec6f22725ddaa3163ca2c81d9df86cf73573f932e561743f05de420b350a0b68f6a9582aca
DIST homeassistant-0.115.1.tar.gz 7546560 BLAKE2B 64c57200bb703e9aa7403deafaed98191c155a9859ea7c762eeafd0970e1e179537c10e1e976363aab60597f4bf61df1893c8abdc14c59fe7c52e5ebfb00c7ac SHA512 f55b58b2551e25897e177a54f82f9da8534e3e78dacb3069cc343556514eda12b61c4c15c7ccbd4c5157047669c587176b3e70b3820204c55283151d8ad5a603
DIST homeassistant-0.115.2.tar.gz 7547086 BLAKE2B 33164a6296a8bed40e367323c348309773c71d3bd8cb06fbf2b5d5e8e87d58c074004bbac17f635403051c9481f4dfe7d2a0ddca4bc5ba5b3f97f8101380e961 SHA512 21be9da353554622d0c5d3a390869848d9324260e1cd21798980555416e5932feae9f94f60003985552d0109b809bdde3e5b3f17076e72c6f389711ab4d49346
DIST homeassistant-core-0.110.7.tar.gz 6331108 BLAKE2B 8b4b23884adf3430f5f902d73f701baecaea21a1f7e88bddbc27482c877a38fea9071bcb84683f9bb545095829cf3e1681b23281e3520b177cc6833f72ece196 SHA512 fff2810ec2f40a4fac5e8da9002cd9221fae69c39c27f6487597ffac812a083a89b213acd382746ffe5b4d0314c5e61c429c471b6b1c39135dfd5feee30ce5db
DIST homeassistant-core-0.111.4.tar.gz 6486741 BLAKE2B 3e27e34c07765aec372ce6356fcd196c5f26b8707cb6b765ea98e92afa1a03a3448155fb41f316f12479fe9a2f63a31ae8ec0fc503f5e14117007793af883ab1 SHA512 978777e2510199e25e9db63a828bdeb8440c2f3fff1d5dfb309a803956ac6f03e2fb747e516ef674185b31f7f6a55ed960b4e4d575f07314d56e98b588880f8d
DIST homeassistant-core-0.112.5.tar.gz 6607841 BLAKE2B 69b3a5b4d800f764dcfaa715eb2a4f8c1425ee3c262d49bf1432c4d0a2229ae226c7df45c6a6a6e8efc9200f0ae4b1458cff3173d6632716761205b65e331ac1 SHA512 c60b3f7e6208b003d935d6e2baf0bd42fc3ed043550b8f597445bb384100335d2d2a3738c9bfa939c8063c6e3707c193a6bbf4b7722201082ff1bae0fb87c9d2
DIST homeassistant-core-0.113.3.tar.gz 6803948 BLAKE2B 469c4b9735488dc8d568a0893d9469a8953003fe7eb8b11e84e9f560885438efde5f71aeb381da3e2b2905a79f2f747e3bd8b7f90a15de97382a7a46f8dce9a0 SHA512 f453e2a07e45b7e807d71d6566c1bde66363f1a43282612c5c5b9a30bb670c425ef6a779bb5ca3966d6a3c7d18ad91179d8a1168eed912fa31dbcbadfc657450
DIST homeassistant-core-0.114.1.tar.gz 7013107 BLAKE2B cf51126037204090c7bfd02a94712013fb1dd77c12b2777e947054b278f4eb3880c2e847ff5c37361e85609ed0b191679ccc365e4fd7a4ee5caf03cd4080b703 SHA512 49b48fa3c181254f286647fae11966036d01ae486749efc1dfa47a0707ba5e0f37626ce58b78fdbba3d42247f7fdf53a0617c3db1078928145018804eabe89d1
DIST homeassistant-core-0.114.2.tar.gz 7124151 BLAKE2B a78bfe504e7c423531e9bd1c6585afff423af52908b2c8c99a880e7170e717a4aa79fd7f3c99efe24b27e3d9e0b55913da372bc620ed24ac4d88709e786ea11b SHA512 23bba7d23105e1fd02715482fac93423cec3e0f3b7973da3062418a2fb4dd589b5d0f1a1eeabd83a71f6e6fdc349cd21bbf50806df3b074966d7a23d2a5ed9df
DIST homeassistant-core-0.114.3.tar.gz 7123686 BLAKE2B aced80164d493ed7ea014a73957e833c7b02d9d484e2e4aa63e610dbd52e2063ac722eb4a66909440b922f0d1ca34167ac0f1388c28ca22913719ae37deaad8f SHA512 a433c76e2ec5e43fcacd99509634c54df8c80063ce8ce26ee0d9608daef623265f0913f233bbbba8581a8507542b8d7060ead16a745ab4f9e7c05b020a38da59
DIST homeassistant-core-0.114.4.tar.gz 7124717 BLAKE2B b1bd3f44a9b775ed3d0d78a84c11d99a33064bb87363ed49395c8dc635437d4f1f3b3c55292de6449e714671d533c89668381ed9ef81a8c0a7e26d9016567bc6 SHA512 49e944a80027e22ad3be4cc4580d7e88c04fed3e417c24f98dfa78a3a521095766c9507dcab03a85bf96d7304452dc6d85eaeff7cbda20ce9916834c0b97a0a9
@@ -21,12 +21,10 @@ DIST homeassistant-core-0.115.0.tar.gz 7544858 BLAKE2B b6bb99d2b652cb633affe4603
DIST homeassistant-core-0.115.0b10.tar.gz 7542803 BLAKE2B 6ba2a46d92faee2ce3c64b8c82aa29427809a1713d4a74f29f099b886982d0de1fa22f8ba12d26a6632af3d1fd2e729eb8ee3b4fa753ba82734bc8d28bdc2ac1 SHA512 b36eaa9f8b5db9feaa8562f0c037f78b2730865658a025de170de10d6b7fbfd1298920af30aed64df68b54b0fbc8d2fc935dfcec3ae4e05b66888585c851e22b
DIST homeassistant-core-0.115.0b11.tar.gz 7544559 BLAKE2B 91c2ef7b833cda9f972485c94db46c3a2a8a71a1c57e6ecaf016346c00364e2a75878bf7a0fe6e658552016b54af6557b6cb478b410f0d8b39d5b3d38b0f2d05 SHA512 e9bbd81cdf3fe0eef4ea5ed8fb58a6da47c9dee0ad8ff8da0cd3fe36484694e8aba001903d600c185ec55ed2953fecbf8f8672601e20d60886a7f96bee90f980
DIST homeassistant-core-0.115.0b12.tar.gz 7544059 BLAKE2B 4bab1fd1a08784aafce94e969eb594efb3b23ed4eb501f1f35e14528a6365ce69411eb6f1b2dca4e1546b0ce827eb3e61046a76d07d6c2c11bbc45289d0bbc8f SHA512 9ac0b865651a1ea28f65e64aab05ed1f2adcaa373f4b45ce7b07271ac7361f44d2efca9f7018db2fbe0a7a31e73b0927115749b935f5480e79cd40f42b351d28
DIST homeassistant-core-0.115.0b9.tar.gz 7542760 BLAKE2B 282b89761a4d3bc5d014a962e504dbbae5db297f3321c59e45590fab0ea6dd473beb6e16988bec8c29a57d1e807827fadf5df4b0710a5b0320d1580824f33e49 SHA512 06da3b01a8a25bc9f20bb2b7a669813ac003cbe019c3918a3ef3e3e77c9295f06fc5532a1091dd9a88ab464ffb02fec7d34cf7bc692d153a8cc77575e101b6f6
EBUILD homeassistant-0.110.7.ebuild 15166 BLAKE2B 0de991fd358b4ea06517888436187fe7c2cdf640f07cb0110facf6a5b857ddc579ddeea6ca41aa1b8bf4c2faaa1381029324fe880eed718e9b5519a5f33a2531 SHA512 11a09b030f97c25d4e359c0015fb0d122b98ce5294429c8c5521f8af5e22b06ebd603b11d055ea8f7d83c867b203ab65bd66b277b2231c9b45df20a87e89aac4
EBUILD homeassistant-0.111.4.ebuild 14843 BLAKE2B d7424114573148020ed8e687191f031a8b9c3d6f6d44850d941f688db2204a48d397134d2ff6ef24aadec2bbebbf8213c4401aac409069a549addee25fe4e124 SHA512 78eeb64bb6bb58c5f66262551e5446c2c90b4473da640b66d2c031a39a60dfcd354aec67c8a1e99e0f3d9018a26f4eaa45e28491cd592005bb6e903b383f8c78
EBUILD homeassistant-0.112.5.ebuild 16645 BLAKE2B 0a655cd68ee91b27cc9586fe43098695beefc8ebd02099523a51b839c0b8c5b3a66717ed6f86d32bb62c08d9e295b782b7119c8120b27b5eea9c44745becabdb SHA512 d9148cb938ab6fff063b4c28ddfb498a851741cc646407f075be4bf619cdc276603679ddd20c7136a98c05d3dd4ec2cacb1ac571cbc48b5a1dc261e179b36eb2
EBUILD homeassistant-0.113.3.ebuild 18325 BLAKE2B 09fbc487f91c25d65f04eeaa0fe2f957a06da51265bb60df88ed2134832acc33f605a5fcffee7b25406a107632e82b87f1aab0a6506a35aa61e09018f191b25b SHA512 fce201f0f3052b03a3cef64351177445e6004212b588888cca250760144b04c49b1abab3de86ce840c307ae65ab5cc23c330f4cbb5399f00b59772cd7c19323d
EBUILD homeassistant-0.114.1.ebuild 18502 BLAKE2B 651cdda72d6b31641cc938281fc17df14dbef39397c9edf05d2544c8991653e1762f0fd3816ef53dbfbde31efcda0e3a55b00508f01a46f55aa2029cd6115ab0 SHA512 2d03314816fcfef5369080eacb23234bf0187919a399cadd33f3f0f52425179d5c3918405666758020d8801f6bd52c7d7c5eb8a42a7cad4658462ff318b1bc6c
EBUILD homeassistant-0.114.2.ebuild 18586 BLAKE2B 7898bd7d1ba269688553a893fcc8c7816c8a8e77d70bb2943712ee2abc6ed92b49d11e81131907e7a75aa40c22e4d3e1877a199ecd4bd0525eb97362598237e6 SHA512 a49b2acbcc4337280403314c579165ac389d59d58300286af4b37f3ac1564ff8d5828049e460e08f08ad0298f2a6df176cd923a1cf4eac81ba0c21479bba40fb
EBUILD homeassistant-0.114.3.ebuild 18586 BLAKE2B 8e22d7baa100b517e3717354eec4a3775445fa3e0449bf6235a3bf6d280a65b8a6cacbe2a5224b89afd93ae581d7763559bc8bb7ca9aa05525297e12da13c749 SHA512 2d8a5fa50ee9fd1061d3c918cfd5f8c396da3bcb40bcb52c70170aa081f9cc5838e20c3a164206c9a6b24a3e932742f4c76f48d38c79fa641d76326cedd611fb
EBUILD homeassistant-0.114.4.ebuild 18796 BLAKE2B ee956033952f788625084e8aef3ecd082851e448f6949a38962a922d250773e905a384050cd26b4562ac8c2e18f1557d2d49c9f3a05e602040ff1917ff5f5c76 SHA512 1b9ca37e305cce7dc1d1d79bd2abd81a680fa5905690e08236730b5c5deb02808c852003a7384c79d43734a0ddce1c882710b4429f0e311d11140332f189ec4a
@@ -34,7 +32,8 @@ EBUILD homeassistant-0.115.0.ebuild 23492 BLAKE2B df389c997fe7275694a3af82b17487
EBUILD homeassistant-0.115.0_beta10.ebuild 19277 BLAKE2B c451f892468d31cbc42d6fe3f9bdcf3cbf6d31a123f841c0178b83b8c11926cd6ac1c881745a530d31e7b9cebb6b446bfb6739afb88d267b4ecacf77625546d5 SHA512 92d7728500f76e59237c82182ceae1cc6922d4809ef629baf57b34028ee98e836fbcfca8edb5eb0e5fa3d2dd9b444b87c95d08d40af608d221c71ea59cea0c5a
EBUILD homeassistant-0.115.0_beta11.ebuild 20434 BLAKE2B 69d01bcf9a6bd0e3f4f5d7013dd54e06deba83ec8f4a5b486b518b96a09f09617f854f5ca93adabd294c40ddd0dba9cb6441c0a6004bce6f4fa348f11fd93621 SHA512 1cf84294320cde7c62233ed6864595803517843d96d247107b7ac6eea99ce24620ba1175846a2d4ad693b999a8f4ad6b0f0fd3cf872db0b3dddee71f89927015
EBUILD homeassistant-0.115.0_beta12.ebuild 20434 BLAKE2B 5606f7e3e27d7483b30832c5d2000be1024347738310887a78d1488e0f13c57962716d251c98511d5740847d96c006166da421bc99651416f7d769dc95006656 SHA512 799a83a324af5f7fe6924394b9c9d04dab4a2cc14b1c793999cde323318dd96c0eb0763ae6a844ed5b44dea8bd11f2af72e12727bf14dfc7558b58dc8e0156ff
EBUILD homeassistant-0.115.0_beta9.ebuild 18968 BLAKE2B 465436c75b7935125793cb03761ca24d0271c372738285863b2a547636d7651b65d2a02f6a0a89d9fbdcb3e57888c69d623221e33e39fe273902c34607d457f9 SHA512 336811bde25aa83c80404d6b3caeaf2e47e18a8e3ec768d7ca3afb752f130f970d3867a087e332e47713b5504daedd6c747b73279744324958b6631534016f46
EBUILD homeassistant-0.115.1-r1.ebuild 26107 BLAKE2B 9aeca4f81e0f494a47f1de73a03b3921ad42d8806d1ff75bac09b0ebb94015c9b457152b14415df49d3daf694bcec2bd2e34b1b9603136d8792d078e12683906 SHA512 174da7ebd638444580b0a0d6f6e3be04959e6ec41463ee38a449beb7352aadec4b427ee14b9924faaa3eecddfee97e8ab0fddb13b515e9a798c5795cb4150ff9
EBUILD homeassistant-0.115.1.ebuild 26198 BLAKE2B cd800e4a17500484fd87219455192a8f15c4a51da44511cccd5f4cf949fb686dbb68675c0b58f261d02504558814d7d87fbe871e865b7de414f502ed69c66b88 SHA512 30f88241f3fea0abcd06bf4a6125cf00fcd66fabba31a86a98aaf7e0689bafa8d9b0498a0193a1f292737e93d44f07a485fa7feca48c037dc792f45942cbd61d
MISC homeassistant-9999.off 65598 BLAKE2B 6ce9ecc4f6763bf650c69aa05865cf1ee03172d51ec84c2f2d977c30b2b31155ed5ad01a3fc6c066caceb8a0c9362a7e40fd2e064b264924b8685e4ecdf95427 SHA512 6da88a614fdb3001323d162aadf9ea4bfa66e933cc3534baede64fdfff1bd6dac0b6d44e2ae2e202a660a2634cb0287fe6a63408083d1f155f8f28697ae7f571
EBUILD homeassistant-0.115.2.ebuild 26109 BLAKE2B 43360650f2d76f688c333c4cb2f85f70654657a7dc5a01b648c3aaf45ad4246c76892ac45c992eea51031ceef59c95d27b3906934d51e672647afdafe5a0bbc8 SHA512 6b7e35fde0bfd60b994e3d22e649e30617cf31651a34981ffe0de5018b4c1e096b72e2412faceb8c2f319d037777ffd0a3c3a65808c95a0c9f97890f551e1314
MISC homeassistant-9999.off 65351 BLAKE2B 3d02176b0195d706ff75b6da2a9a89de4b02eecbe34273974468b07e8a239a31ebd3b50bf06ff7bb20517c695538cbaa89ae5daac0c28c192e8d104f48ac9da6 SHA512 dc233e8c9fb91a5e6d3d3ec744655d9c35ed8877aad74526d2f3f90fcf3bd0498c7bbb8eaf1db5c3f9ccec6050930ea599cc28d818f16450276d187b0b72a110
MISC metadata.xml 21835 BLAKE2B 5267314cb84c29bba40ffee77c4e1dade2041312db31d3bc54dbf56b7f81492b6e5117d9b209808cbbd9a4c47c9f977752a125096d744dbd357b13adb3bb2de2 SHA512 3c3210b531aa9423a2f0786aa5847ae2475f2d5830f6c8974dd900dc98d45d40b3529fa90d69e6ab66347c141f8a8afc3d32b11118cc93acf2fe4f4ccad80c73

+ 0
- 356
app-misc/homeassistant/homeassistant-0.114.1.ebuild View File

@@ -1,356 +0,0 @@
# 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 ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef maxcube maxcube_hack metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi vallox velbus velux vera +version vicare vizio webostv wemo wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"

# from 2020/04 cleanup to be removed or integrated later
# external deps

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 dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${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}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=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.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.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.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"

# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.35.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200811.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.0[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"

# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]

# still unknown origin, some from requirements_all.txt
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-3.0.0[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${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.19.1[${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-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.1[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.47[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.7[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-4.0.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}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.0[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.3.4[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.1.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.46[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.19[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.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}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.7.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${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-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-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}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.32[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.1[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.49[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.22.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.18.1[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.43[${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.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${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_01114_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}"
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
}

+ 0
- 354
app-misc/homeassistant/homeassistant-0.115.0_beta9.ebuild View File

@@ -1,354 +0,0 @@
# 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 ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv brother buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr devolo dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot freebox fronius gios gpiozero gogogate2 growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef kodi maxcube maxcube_hack meteo_france metno miio mikrotik +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw ping plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan shelly signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi upnp vallox velbus velux vera +version vicare vizio webostv wemo whois wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"

# from 2020/04 cleanup to be removed or integrated later
# external deps

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 dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${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.6.20[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.2[${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.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.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.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"

# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.37.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200912.0[${PYTHON_USEDEP}]
~dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/pillow-7.2.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.5[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18.0[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]
~dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
!dev-python/enum34[${PYTHON_USEDEP}]
!dev-python/typing[${PYTHON_USEDEP}]
!dev-python/uuid[${PYTHON_USEDEP}]"

# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]

# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.2.1[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${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.45.1"

# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.50[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.8[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.8[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-4.0.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}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-35[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-0.1.17[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.1[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-73[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.6.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
devolo? ( ~dev-python/devolo-home-control-api-0.13.0[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.4.1[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.46[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.2.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/aiofreepybox-0.0.8[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-0.1.4[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/gogogate2-api-2.0.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.1.1[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.49[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.11.0[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.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}] ~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.0[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-0.1.1[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.8.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}] dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.6[${PYTHON_USEDEP}] )
owntracks? ( virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.5[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-1.1.3[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.1.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.6.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-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.1[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.3.1[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.10[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.33[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.3.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.2[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-7.0.2[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.14.13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.44[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.4.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.56[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
whois? ( >=dev-python/python-whois-0.7.3[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.4[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.13.0[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.3[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-cc-0.5.2[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.13.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.6.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.23.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.1.1[${PYTHON_USEDEP}] ~dev-python/bellows-0.20.1[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.44[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}] ~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"

DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${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_01114_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}"
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
}

+ 438
- 0
app-misc/homeassistant/homeassistant-0.115.1-r1.ebuild View File

@@ -0,0 +1,438 @@
# 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}

if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_P=${P/_beta/b}
MY_PV=${PV/_beta/b}
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/core-${MY_PV}"
fi

DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"

IUSE="abode accuweather acer_projector acmeda adguard ads aftership agent_dvr airly airvisual aladdin_connect alarmdecoder almond alpha_vantage ambiclimate ambient_station amcrest ampio androidtv android_ip_webcam anel_pwrctrl anthemav apache_kafka apcupsd apple_tv apprise aquostv arcam_fmj aruba asuswrt aten_pe atome august aurora_abb_powerone avea avion -avri awair axis baidu -beewi_smartclim bh1750 bitcoin bizkaibus blackbird blebox blink blinksticklight blinkt blockchain bluetooth_le_tracker bluetooth_tracker bme280 bme680 bmw_connected_drive bom bond braviatv broadlink brother brottsplatskartan brunt bsblan bt_home_hub_5 bt_smarthub buienradar +caldav canary cast cisco_mobility_express cli co2signal coronavirus daikin darksky ddwrt deconz delijn denonavr deutsche_bahn devolo_home_control dexcom dht discogs discord doorbird dunehd dynalite dyson ecobee elv emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights evohome fibaro flume flunearyou flux_led foobot fortios freebox fritz fritzbox fritzbox_callmonitor fritzbox_netmonitor fronius garmin_connect gios github gogogate2 greeneye_monitor growatt_server guardian harman_kardon_avr harmony heos here_travel_time homekit -homematic -homematicip_cloud hp_ilo http hue hydrawise iaqualink ihc incomfort influxdb insteon intesishome ipma islamic_prayer_times jewish_calendar joaoapps_join kef knx kodi linode loopenergy luci luftdaten maxcube maxcube_hack media_extractor meteo_france mfi miflora mikrotik -mitemp_bt mobile_app +mqtt myq +mysql nad nederlandse_spoorwegen netatmo netdata nuki nws nx584 opengarage opensensemap +otp owntracks ozw panasonic_viera philips_js pilight +ping plex plugwise poolsense powerwall ps4 qnap rachio rainbird rainmachine +recorder rejseplanen ring roku roomba roon samsungtv +scrape shelly shodan signal_messenger simplisafe skybell sma smappee smarthab smartthings +snmp socat socialblade solax somfy sonos speedtestdotnet +sql squeezebox +ssl statsd synology_dsm systemmonitor tellduslive tesla test tile toon totalconnect tplink tradfri tuya ubee unifi unifi_direct upnp vallox velbus velux vera +version vicare vizio waqi waze_travel_time webostv wemo whois wink withings wled workday xbox_live xiaomi_aqara xiaomi_miio xiaomi_tv xs1 yamaha yamaha_musiccast yeelight yi zerproc zha zhong_hong zoneminder zwave"

# external deps
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 dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.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/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.6.20[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.37.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200918.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib-metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
~dev-python/jinja-2.11.2[${PYTHON_USEDEP}]
~dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}]
~dev-python/pillow-7.2.0[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.5[${PYTHON_USEDEP}]"

# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.2.1[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${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.45.1"

# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
accuweather? ( ~dev-python/accuweather-0.0.10[${PYTHON_USEDEP}] )
acer_projector? ( ~dev-python/pyserial-3.4[${PYTHON_USEDEP}] )
acmeda? ( ~dev-python/aiopulse-0.4.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aftership? ( ~dev-python/pyaftership-0.1.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-0.0.2[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-4.4.0[${PYTHON_USEDEP}] )
aladdin_connect? ( ~dev-python/aladdin-connect-0.3[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
almond? ( ~dev-python/pyalmond-0.0.2[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.2.0[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
ampio? ( ~dev-python/asmog-0.0.6[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.2.1[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.50[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-0.8[${PYTHON_USEDEP}] )
anel_pwrctrl? ( ~dev-python/anel-pwrctrl-homeassistant-0.0.1[${PYTHON_USEDEP}] )
anthemav? ( ~dev-python/anthemav-1.1.10[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apcupsd? ( ~dev-python/apcaccess-0.0.13[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.8[${PYTHON_USEDEP}] )
aquostv? ( ~dev-python/sharp_aquos_rc-0.3.2[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.3[${PYTHON_USEDEP}] )
aruba? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.8[${PYTHON_USEDEP}] )
aten_pe? ( ~dev-python/atenpdu-0.3.0[${PYTHON_USEDEP}] )
atome? ( ~dev-python/pyAtome-0.1.1[${PYTHON_USEDEP}] )
august? ( ~dev-python/py-august-0.25.0[${PYTHON_USEDEP}] )
aurora_abb_powerone? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
avion? ( ~dev-python/avion-0.10[${PYTHON_USEDEP}] )
avri? ( ~dev-python/avri-api-0.1.7[${PYTHON_USEDEP}] ~dev-python/pycountry-19.8.18[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-35[${PYTHON_USEDEP}] )
baidu? ( ~dev-python/baidu-aip-1.6.6.0[${PYTHON_USEDEP}] )
beewi_smartclim? ( ~dev-python/beewi-smartclim-0.0.7[${PYTHON_USEDEP}] )
bh1750? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
bizkaibus? ( ~dev-python/bizkaibus-0.1.1[${PYTHON_USEDEP}] )
blackbird? ( ~dev-python/pyblackbird-0.5[${PYTHON_USEDEP}] )
blebox? ( ~dev-python/blebox-uniapi-1.3.2[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blinksticklight? ( ~dev-python/BlinkStick-1.1.8[${PYTHON_USEDEP}] )
blinkt? ( ~dev-python/blinkt-0.1.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
bluetooth_tracker? ( ~dev-python/bt-proximity-0.2[${PYTHON_USEDEP}] ~dev-python/pybluez-0.22[${PYTHON_USEDEP}] )
bme280? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bme680? ( ~dev-python/bme680-1.0.5[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bom? ( ~dev-python/bomradarloop-0.1.5[${PYTHON_USEDEP}] )
bond? ( ~dev-python/bond-api-0.1.8[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}] )
broadlink? ( ~dev-python/broadlink-0.14.1[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-0.1.17[${PYTHON_USEDEP}] )
brottsplatskartan? ( ~dev-python/brottsplatskartan-0.0.1[${PYTHON_USEDEP}] )
brunt? ( ~dev-python/brunt-0.1.3[${PYTHON_USEDEP}] )
bsblan? ( ~dev-python/bsblan-0.3.7[${PYTHON_USEDEP}] )
bt_home_hub_5? ( ~dev-python/bthomehub5-devicelist-0.1.1[${PYTHON_USEDEP}] )
bt_smarthub? ( ~dev-python/btsmarthub-devicelist-0.2.0[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
canary? ( ~dev-python/py-canary-0.5.0[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.1[${PYTHON_USEDEP}] )
cisco_mobility_express? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-73[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.6.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
deutsche_bahn? ( ~dev-python/schiene-0.23[${PYTHON_USEDEP}] )
devolo_home_control? ( ~dev-python/devolo-home-control-api-0.13.0[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
dht? ( ~dev-python/Adafruit-DHT-1.4.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.4.1[${PYTHON_USEDEP}] )
doorbird? ( ~dev-python/DoorBirdPy-2.1.0[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3.2[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.46[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
elv? ( ~dev-python/pypca-0.0.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.1[${PYTHON_USEDEP}] )
enphase_envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.2.0[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
evohome? ( ~dev-python/evohome-async-0.3.5[${PYTHON_USEDEP}] )
fibaro? ( ~dev-python/fiblary3-0.1.7[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
flux_led? ( ~dev-python/flux-led-0.22[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fortios? ( ~dev-python/fortiosapi-0.10.8[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/aiofreepybox-0.0.8[${PYTHON_USEDEP}] )
fritz? ( ~dev-python/fritzconnection-1.2.0[${PYTHON_USEDEP}] )
fritzbox? ( ~dev-python/pyfritzhome-0.4.2[${PYTHON_USEDEP}] )
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.2.0[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-0.1.13[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-0.1.4[${PYTHON_USEDEP}] )
github? ( ~dev-python/PyGithub-1.43.8[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/gogogate2-api-2.0.2[${PYTHON_USEDEP}] )
greeneye_monitor? ( ~dev-python/greeneye-monitor-2.0[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.1.1[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here_travel_time? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] ~dev-python/PyTurboJPEG-1.4.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip_cloud? ( ~dev-python/homematicip-0.11.0[${PYTHON_USEDEP}] )
hp_ilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
islamic_prayer_times? ( ~dev-python/prayer_times_calculator-0.0.3[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.5[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-0.13.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.0[${PYTHON_USEDEP}] )
linode? ( ~dev-python/linode-api-4.1.9_beta1[${PYTHON_USEDEP}] )
loopenergy? ( ~dev-python/pyloopenergy-0.2.1[${PYTHON_USEDEP}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.6[${PYTHON_USEDEP}] )
luftdaten? ( ~dev-python/luftdaten-0.6.4[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
media_extractor? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-0.1.1[${PYTHON_USEDEP}] )
mfi? ( ~dev-python/mficlient-0.3.0[${PYTHON_USEDEP}] )
miflora? ( ~dev-python/bluepy-1.3.0[${PYTHON_USEDEP}] ~dev-python/miflora-0.7.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mitemp_bt? ( ~dev-python/mitemp-bt-0.0.3[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] ~dev-python/emoji-0.5.4[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysql-connector-python[${PYTHON_USEDEP}] dev-python/mysqlclient[${PYTHON_USEDEP}] )
nad? ( ~dev-python/nad-receiver-0.0.12[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netatmo? ( ~dev-python/pyatmo-4.0.0[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
opengarage? ( ~dev-python/open-garage-0.1.4[${PYTHON_USEDEP}] )
opensensemap? ( ~dev-python/opensensemap-api-0.1.5[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.3.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.5[${PYTHON_USEDEP}] )
panasonic_viera? ( ~dev-python/panasonic-viera-0.3.6[${PYTHON_USEDEP}] )
philips_js? ( ~dev-python/ha-philipsjs-0.0.8[${PYTHON_USEDEP}] )
pilight? ( ~dev-python/pilight-0.1.1[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-1.1.3[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.1.0[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.5[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.11[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.4.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rachio? ( ~dev-python/RachioPy-0.1.4[${PYTHON_USEDEP}] )
rainbird? ( ~dev-python/pyrainbird-0.4.2[${PYTHON_USEDEP}] )
rainmachine? ( ~dev-python/regenmaschine-2.1.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.6.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
roon? ( ~dev-python/roonapi-0.0.21[${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.1[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.3.2[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.13[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartapp-0.3.2[${PYTHON_USEDEP}] ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.5[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( ~dev-python/pysonos-0.0.33[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.3.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
statsd? ( ~dev-python/statsd-3.2.1[${PYTHON_USEDEP}] )
synology_dsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( ~dev-python/psutil-5.7.2[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( ~dev-python/pytradfri-7.0.2[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
unifi_direct? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.14.13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.44[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.17[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.4.2[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.56[${PYTHON_USEDEP}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${PYTHON_USEDEP}] )
waze_travel_time? ( ~dev-python/WazeRouteCalculator-0.12[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
whois? ( ~dev-python/python-whois-0.7.3[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] ~dev-python/python-wink-1.10.5[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.4[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xiaomi_aqara? ( ~dev-python/PyXiaomiGateway-0.13.2[${PYTHON_USEDEP}] )
xiaomi_miio? ( ~dev-python/construct-2.9.45[${PYTHON_USEDEP}] ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
xiaomi_tv? ( ~dev-python/pymitv-1.4.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.3[${PYTHON_USEDEP}] )
yi? ( ~dev-python/aioftp-0.12.0[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.20.2[${PYTHON_USEDEP}] ~dev-python/pyserial-3.4[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.44[${PYTHON_USEDEP}] ~dev-python/zigpy-cc-0.5.2[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.23.2[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.13.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.6.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.1.1[${PYTHON_USEDEP}] )
zhong_hong? ( ~dev-python/zhong-hong-hvac-1.0.9[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
zwave? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}] ~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"

BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.4.2[${PYTHON_USEDEP}]
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/jsonpickle-1.4.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pipdeptree-1.0.0[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.7.1[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pylint-2.6.0[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
~dev-python/stdlib-list-0.7.0[${PYTHON_USEDEP}]
~dev-python/tqdm-4.48.2[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${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_01114_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}"
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
}

+ 438
- 0
app-misc/homeassistant/homeassistant-0.115.2.ebuild View File

@@ -0,0 +1,438 @@
# 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}

if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_P=${P/_beta/b}
MY_PV=${PV/_beta/b}
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/core-${MY_PV}"
fi

DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"

IUSE="abode accuweather acer_projector acmeda adguard ads aftership agent_dvr airly airvisual aladdin_connect alarmdecoder almond alpha_vantage ambiclimate ambient_station amcrest ampio androidtv android_ip_webcam anel_pwrctrl anthemav apache_kafka apcupsd apple_tv apprise aquostv arcam_fmj aruba asuswrt aten_pe atome august aurora_abb_powerone avea avion -avri awair axis baidu -beewi_smartclim bh1750 bitcoin bizkaibus blackbird blebox blink blinksticklight blinkt blockchain bluetooth_le_tracker bluetooth_tracker bme280 bme680 bmw_connected_drive bom bond braviatv broadlink brother brottsplatskartan brunt bsblan bt_home_hub_5 bt_smarthub buienradar +caldav canary cast cisco_mobility_express cli co2signal coronavirus daikin darksky ddwrt deconz delijn denonavr deutsche_bahn devolo_home_control dexcom dht discogs discord doorbird dunehd dynalite dyson ecobee elv emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights evohome fibaro flume flunearyou flux_led foobot fortios freebox fritz fritzbox fritzbox_callmonitor fritzbox_netmonitor fronius garmin_connect gios github gogogate2 greeneye_monitor growatt_server guardian harman_kardon_avr harmony heos here_travel_time homekit -homematic -homematicip_cloud hp_ilo http hue hydrawise iaqualink ihc incomfort influxdb insteon intesishome ipma islamic_prayer_times jewish_calendar joaoapps_join kef knx kodi linode loopenergy luci luftdaten maxcube maxcube_hack media_extractor meteo_france mfi miflora mikrotik -mitemp_bt mobile_app +mqtt myq +mysql nad nederlandse_spoorwegen netatmo netdata nuki nws nx584 opengarage opensensemap +otp owntracks ozw panasonic_viera philips_js pilight +ping plex plugwise poolsense powerwall ps4 qnap rachio rainbird rainmachine +recorder rejseplanen ring roku roomba roon samsungtv +scrape shelly shodan signal_messenger simplisafe skybell sma smappee smarthab smartthings +snmp socat socialblade solax somfy sonos speedtestdotnet +sql squeezebox +ssl statsd synology_dsm systemmonitor tellduslive tesla test tile toon totalconnect tplink tradfri tuya ubee unifi unifi_direct upnp vallox velbus velux vera +version vicare vizio waqi waze_travel_time webostv wemo whois wink withings wled workday xbox_live xiaomi_aqara xiaomi_miio xiaomi_tv xs1 yamaha yamaha_musiccast yeelight yi zerproc zha zhong_hong zoneminder zwave"

# external deps
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 dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.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/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.6.20[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.37.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200918.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib-metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
~dev-python/jinja-2.11.2[${PYTHON_USEDEP}]
~dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}]
~dev-python/pillow-7.2.0[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.5[${PYTHON_USEDEP}]"

# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.2.1[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${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.45.1"

# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
accuweather? ( ~dev-python/accuweather-0.0.10[${PYTHON_USEDEP}] )
acer_projector? ( ~dev-python/pyserial-3.4[${PYTHON_USEDEP}] )
acmeda? ( ~dev-python/aiopulse-0.4.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aftership? ( ~dev-python/pyaftership-0.1.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-0.0.2[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-4.4.0[${PYTHON_USEDEP}] )
aladdin_connect? ( ~dev-python/aladdin-connect-0.3[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
almond? ( ~dev-python/pyalmond-0.0.2[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.2.0[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
ampio? ( ~dev-python/asmog-0.0.6[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.2.1[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.50[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-0.8[${PYTHON_USEDEP}] )
anel_pwrctrl? ( ~dev-python/anel-pwrctrl-homeassistant-0.0.1[${PYTHON_USEDEP}] )
anthemav? ( ~dev-python/anthemav-1.1.10[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apcupsd? ( ~dev-python/apcaccess-0.0.13[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.8[${PYTHON_USEDEP}] )
aquostv? ( ~dev-python/sharp_aquos_rc-0.3.2[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.3[${PYTHON_USEDEP}] )
aruba? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.8[${PYTHON_USEDEP}] )
aten_pe? ( ~dev-python/atenpdu-0.3.0[${PYTHON_USEDEP}] )
atome? ( ~dev-python/pyAtome-0.1.1[${PYTHON_USEDEP}] )
august? ( ~dev-python/py-august-0.25.0[${PYTHON_USEDEP}] )
aurora_abb_powerone? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
avion? ( ~dev-python/avion-0.10[${PYTHON_USEDEP}] )
avri? ( ~dev-python/avri-api-0.1.7[${PYTHON_USEDEP}] ~dev-python/pycountry-19.8.18[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-35[${PYTHON_USEDEP}] )
baidu? ( ~dev-python/baidu-aip-1.6.6.0[${PYTHON_USEDEP}] )
beewi_smartclim? ( ~dev-python/beewi-smartclim-0.0.7[${PYTHON_USEDEP}] )
bh1750? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
bizkaibus? ( ~dev-python/bizkaibus-0.1.1[${PYTHON_USEDEP}] )
blackbird? ( ~dev-python/pyblackbird-0.5[${PYTHON_USEDEP}] )
blebox? ( ~dev-python/blebox-uniapi-1.3.2[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blinksticklight? ( ~dev-python/BlinkStick-1.1.8[${PYTHON_USEDEP}] )
blinkt? ( ~dev-python/blinkt-0.1.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
bluetooth_tracker? ( ~dev-python/bt-proximity-0.2[${PYTHON_USEDEP}] ~dev-python/pybluez-0.22[${PYTHON_USEDEP}] )
bme280? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bme680? ( ~dev-python/bme680-1.0.5[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bom? ( ~dev-python/bomradarloop-0.1.5[${PYTHON_USEDEP}] )
bond? ( ~dev-python/bond-api-0.1.8[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}] )
broadlink? ( ~dev-python/broadlink-0.14.1[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-0.1.17[${PYTHON_USEDEP}] )
brottsplatskartan? ( ~dev-python/brottsplatskartan-0.0.1[${PYTHON_USEDEP}] )
brunt? ( ~dev-python/brunt-0.1.3[${PYTHON_USEDEP}] )
bsblan? ( ~dev-python/bsblan-0.3.7[${PYTHON_USEDEP}] )
bt_home_hub_5? ( ~dev-python/bthomehub5-devicelist-0.1.1[${PYTHON_USEDEP}] )
bt_smarthub? ( ~dev-python/btsmarthub-devicelist-0.2.0[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
canary? ( ~dev-python/py-canary-0.5.0[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.1[${PYTHON_USEDEP}] )
cisco_mobility_express? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-73[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.6.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
deutsche_bahn? ( ~dev-python/schiene-0.23[${PYTHON_USEDEP}] )
devolo_home_control? ( ~dev-python/devolo-home-control-api-0.13.0[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
dht? ( ~dev-python/Adafruit-DHT-1.4.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.4.1[${PYTHON_USEDEP}] )
doorbird? ( ~dev-python/DoorBirdPy-2.1.0[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3.2[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.46[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
elv? ( ~dev-python/pypca-0.0.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.1[${PYTHON_USEDEP}] )
enphase_envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.2.0[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
evohome? ( ~dev-python/evohome-async-0.3.5[${PYTHON_USEDEP}] )
fibaro? ( ~dev-python/fiblary3-0.1.7[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
flux_led? ( ~dev-python/flux-led-0.22[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fortios? ( ~dev-python/fortiosapi-0.10.8[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/aiofreepybox-0.0.8[${PYTHON_USEDEP}] )
fritz? ( ~dev-python/fritzconnection-1.2.0[${PYTHON_USEDEP}] )
fritzbox? ( ~dev-python/pyfritzhome-0.4.2[${PYTHON_USEDEP}] )
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.2.0[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-0.1.13[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-0.1.4[${PYTHON_USEDEP}] )
github? ( ~dev-python/PyGithub-1.43.8[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/gogogate2-api-2.0.2[${PYTHON_USEDEP}] )
greeneye_monitor? ( ~dev-python/greeneye-monitor-2.0[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.1.1[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here_travel_time? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] ~dev-python/PyTurboJPEG-1.4.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip_cloud? ( ~dev-python/homematicip-0.11.0[${PYTHON_USEDEP}] )
hp_ilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
islamic_prayer_times? ( ~dev-python/prayer_times_calculator-0.0.3[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.5[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-0.13.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.0[${PYTHON_USEDEP}] )
linode? ( ~dev-python/linode-api-4.1.9_beta1[${PYTHON_USEDEP}] )
loopenergy? ( ~dev-python/pyloopenergy-0.2.1[${PYTHON_USEDEP}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.6[${PYTHON_USEDEP}] )
luftdaten? ( ~dev-python/luftdaten-0.6.4[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
media_extractor? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-0.1.1[${PYTHON_USEDEP}] )
mfi? ( ~dev-python/mficlient-0.3.0[${PYTHON_USEDEP}] )
miflora? ( ~dev-python/bluepy-1.3.0[${PYTHON_USEDEP}] ~dev-python/miflora-0.7.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mitemp_bt? ( ~dev-python/mitemp-bt-0.0.3[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] ~dev-python/emoji-0.5.4[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysql-connector-python[${PYTHON_USEDEP}] dev-python/mysqlclient[${PYTHON_USEDEP}] )
nad? ( ~dev-python/nad-receiver-0.0.12[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netatmo? ( ~dev-python/pyatmo-4.0.0[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
opengarage? ( ~dev-python/open-garage-0.1.4[${PYTHON_USEDEP}] )
opensensemap? ( ~dev-python/opensensemap-api-0.1.5[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.3.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.5[${PYTHON_USEDEP}] )
panasonic_viera? ( ~dev-python/panasonic-viera-0.3.6[${PYTHON_USEDEP}] )
philips_js? ( ~dev-python/ha-philipsjs-0.0.8[${PYTHON_USEDEP}] )
pilight? ( ~dev-python/pilight-0.1.1[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-1.1.3[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.1.0[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.5[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.11[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.4.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rachio? ( ~dev-python/RachioPy-0.1.4[${PYTHON_USEDEP}] )
rainbird? ( ~dev-python/pyrainbird-0.4.2[${PYTHON_USEDEP}] )
rainmachine? ( ~dev-python/regenmaschine-2.1.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.6.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
roon? ( ~dev-python/roonapi-0.0.21[${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.1[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.3.2[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.13[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartapp-0.3.2[${PYTHON_USEDEP}] ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.5[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( ~dev-python/pysonos-0.0.33[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.3.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
statsd? ( ~dev-python/statsd-3.2.1[${PYTHON_USEDEP}] )
synology_dsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( ~dev-python/psutil-5.7.2[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( ~dev-python/pytradfri-7.0.2[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
unifi_direct? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.14.13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.44[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.17[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.10[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.4.2[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.56[${PYTHON_USEDEP}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${PYTHON_USEDEP}] )
waze_travel_time? ( ~dev-python/WazeRouteCalculator-0.12[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
whois? ( ~dev-python/python-whois-0.7.3[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] ~dev-python/python-wink-1.10.5[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.4[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xiaomi_aqara? ( ~dev-python/PyXiaomiGateway-0.13.2[${PYTHON_USEDEP}] )
xiaomi_miio? ( ~dev-python/construct-2.9.45[${PYTHON_USEDEP}] ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
xiaomi_tv? ( ~dev-python/pymitv-1.4.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.3[${PYTHON_USEDEP}] )
yi? ( ~dev-python/aioftp-0.12.0[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.20.2[${PYTHON_USEDEP}] ~dev-python/pyserial-3.4[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.44[${PYTHON_USEDEP}] ~dev-python/zigpy-cc-0.5.2[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.10.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.24.1[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.13.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.6.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.1.1[${PYTHON_USEDEP}] )
zhong_hong? ( ~dev-python/zhong-hong-hvac-1.0.9[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
zwave? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}] ~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"

BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.4.2[${PYTHON_USEDEP}]
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/jsonpickle-1.4.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pipdeptree-1.0.0[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.7.1[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pylint-2.6.0[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
~dev-python/stdlib-list-0.7.0[${PYTHON_USEDEP}]
~dev-python/tqdm-4.48.2[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${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_01114_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}"
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
}

+ 33
- 40
app-misc/homeassistant/homeassistant-9999.off View File

@@ -56,7 +56,7 @@ RDEPEND="${RDEPEND}
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.37.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200917.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200918.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib-metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
~dev-python/jinja-2.11.2[${PYTHON_USEDEP}]
@@ -105,18 +105,6 @@ RDEPEND="${RDEPEND}
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"

missing: azure-eventhub-5.1.0
missing: azure-servicebus-0.50.1
missing: pybbox-0.0.5-alpha
missing: debugpy-1.0.0rc2
missing: google-cloud-texttospeech-0.4.0
missing: google-cloud-pubsub-0.39.1
missing: pylacrosse-0.4.0
missing: opencv-python-headless-4.3.0.36
missing: OPi.GPIO-0.4.0
missing: tensorflow-2.3.0
missing: tf-models-official-2.3.0
missing: pyuptimerobot-0.0.5
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
@@ -171,6 +159,7 @@ RDEPEND="${RDEPEND}
azure_devops? ( ~dev-python/aioazuredevops-1.3.5[${PYTHON_USEDEP}] )
baidu? ( ~dev-python/baidu-aip-1.6.6.0[${PYTHON_USEDEP}] )
bbb_gpio? ( ~dev-python/Adafruit_BBIO-1.1.1[${PYTHON_USEDEP}] )
bbox? ( ~dev-python/pybbox-0.0.5_alpha0[${PYTHON_USEDEP}] )
beewi_smartclim? ( ~dev-python/beewi-smartclim-0.0.7[${PYTHON_USEDEP}] )
bh1750? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
@@ -327,7 +316,7 @@ RDEPEND="${RDEPEND}
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.2.0[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
frontend? ( ~dev-python/home-assistant-frontend-20200917.1[${PYTHON_USEDEP}] )
frontend? ( ~dev-python/home-assistant-frontend-20200918.0[${PYTHON_USEDEP}] )
frontier_silicon? ( ~dev-python/afsapi-0.0.4[${PYTHON_USEDEP}] )
futurenow? ( ~dev-python/pyfnip-0.2[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-0.1.13[${PYTHON_USEDEP}] )
@@ -361,7 +350,7 @@ RDEPEND="${RDEPEND}
gtfs? ( ~dev-python/pygtfs-0.1.5[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
habitica? ( ~dev-python/habitipy-0.2.0[${PYTHON_USEDEP}] )
hangouts? ( ~dev-python/hangups-0.4.10[${PYTHON_USEDEP}] )
hangouts? ( ~dev-python/hangups-0.4.11[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
hdmi_cec? ( ~dev-python/pyCEC-0.4.13[${PYTHON_USEDEP}] )
@@ -554,6 +543,7 @@ RDEPEND="${RDEPEND}
openweathermap? ( ~dev-python/pyowm-2.10.0[${PYTHON_USEDEP}] )
opnsense? ( ~dev-python/pyopnsense-0.2.0[${PYTHON_USEDEP}] )
opple? ( ~dev-python/pyoppleio-1.0.5[${PYTHON_USEDEP}] )
orangepi_gpio? ( ~dev-python/OPi-GPIO-0.4.0[${PYTHON_USEDEP}] )
oru? ( ~dev-python/oru-0.1.11[${PYTHON_USEDEP}] )
orvibo? ( ~dev-python/orvibo-1.1.1[${PYTHON_USEDEP}] )
osramlightify? ( ~dev-python/lightify-1.0.7.2[${PYTHON_USEDEP}] )
@@ -786,7 +776,7 @@ RDEPEND="${RDEPEND}
velbus? ( ~dev-python/python-velbus-2.0.44[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.17[${PYTHON_USEDEP}] )
venstar? ( ~dev-python/venstarcolortouch-0.12[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.10[${PYTHON_USEDEP}] )
verisure? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/vsure-1.5.4[${PYTHON_USEDEP}] )
versasense? ( ~dev-python/pyversasense-0.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.4.2[${PYTHON_USEDEP}] )
@@ -841,36 +831,39 @@ RDEPEND="${RDEPEND}
zeroconf? ( ~dev-python/zeroconf-0.28.5[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zestimate? ( ~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.20.2[${PYTHON_USEDEP}] ~dev-python/pyserial-3.4[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.44[${PYTHON_USEDEP}] ~dev-python/zigpy-cc-0.5.2[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.23.2[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.13.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.6.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.1.1[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.20.2[${PYTHON_USEDEP}] ~dev-python/pyserial-3.4[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.44[${PYTHON_USEDEP}] ~dev-python/zigpy-cc-0.5.2[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.10.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.24.1[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.13.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.6.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.1.1[${PYTHON_USEDEP}] )
zhong_hong? ( ~dev-python/zhong-hong-hvac-1.0.9[${PYTHON_USEDEP}] )
ziggo_mediabox_xl? ( ~dev-python/ziggo-mediabox-xl-1.1.0[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
zwave? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}] ~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"

BDEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
test? (
~dev-python/astroid-2.4.2[${PYTHON_USEDEP}]
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/jsonpickle-1.4.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pipdeptree-1.0.0[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.7.1[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pylint-2.6.0[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
~dev-python/stdlib-list-0.7.0[${PYTHON_USEDEP}]
~dev-python/tqdm-4.48.2[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"

INSTALL_DIR="/opt/${PN}"



Loading…
Cancel
Save