update homeassistant-0.115.0_beta12

bump frontend frontend-20200916.0
fix frontend deps in the older betas
This commit is contained in:
Andreas Billmeier 2020-09-17 07:09:23 +02:00 committed by Andreas Billmeier
parent 6b00a54c6b
commit 7501c2425b
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
10 changed files with 404 additions and 1073 deletions

View File

@ -10,6 +10,11 @@ To remove the (conflicting) wrong one, do a:
# emerge -cav dev-python/pydispatcher
# emerge -1tav =app-misc/homeassistant --autounmask=y
2020-09-17 homeassistant-0.115.0_beta12
* bump homeassistant-0.115.0_beta12
* bump frontend frontend-20200916.0
* fix frontend deps in the older betas
2020-09-16 homeassistant-0.115.0_beta11
* bump aioshelly-0.3.2
* bump sentry-sdk-0.17.6

View File

@ -12,8 +12,6 @@ DIST homeassistant-core-0.109.6.tar.gz 5890949 BLAKE2B 1d117a564f5bbf34e2f5ff822
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.0.tar.gz 6798943 BLAKE2B 5413e3837dc59517493c718f18429d417fe8b22198307cdaff3031262e61c64025f08654901cdd8a35b14484cfb3ce0c3d9575879274709c119f6f8585bf0649 SHA512 b506b3edf6db8a444d72e8e598376faa01becdd8bd1a8e38421897dcd6587a8a9effd166fcd86ac9673084a9de9ff3aecd97f2927b9bf7f0785dc05214e7780b
DIST homeassistant-core-0.113.1.tar.gz 6800624 BLAKE2B 3aa1e3f60a0a33e3032594e4119cc715334b2cb0735363aea5aa72f6c5518d4997a5d3ea4439e218150651260791acb3b49903d7e8b4e83a4922a0e589a7e88e SHA512 91955bd780e110793d0200604145b33e397c7a6b662bd8bc41131498a6c024bd7156cf5594d7cccf239ee1377c3970f4cfd9a2c158628346b4bb1b9d934be364
DIST homeassistant-core-0.113.2.tar.gz 6802244 BLAKE2B fdebf610b62fdeadbd2df9f5d09adc5061fdafc47d9bedd3edf018cd734916c2945b68a0c9137596e96a219e8c224cd295d4b6ef777e88b78f00666b057c97ab SHA512 5113ecf704fc72d64b9f0e97e9311283f879b57e1afe7d5e0084a824ac9e55fca1052756c52f0409a4cdc5e033153e10c23978542eaf99391ddb3377c4047913
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
@ -22,23 +20,21 @@ DIST homeassistant-core-0.114.3.tar.gz 7123686 BLAKE2B aced80164d493ed7ea014a739
DIST homeassistant-core-0.114.4.tar.gz 7124717 BLAKE2B b1bd3f44a9b775ed3d0d78a84c11d99a33064bb87363ed49395c8dc635437d4f1f3b3c55292de6449e714671d533c89668381ed9ef81a8c0a7e26d9016567bc6 SHA512 49e944a80027e22ad3be4cc4580d7e88c04fed3e417c24f98dfa78a3a521095766c9507dcab03a85bf96d7304452dc6d85eaeff7cbda20ce9916834c0b97a0a9
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.0b7.tar.gz 7536669 BLAKE2B af8612d5b11eef723d2d3263e474da1a36a028902b1c7c654ffefa510af7aaa29b3bd063963b24f473951488a02c87815aa75f716b8dd01cf49d8542d846c2ea SHA512 cfc2bad8d6efe3218f16116889f2214ebb42599552daee418e23c6e3a482aa9fc068cb9261214834b77faf2e80e39d32525528f4852f3e55b17b1105bb856d1b
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.109.6.ebuild 14733 BLAKE2B bf77b1b36504d21dd3fab210ae30fcca616090ec396c5096aa2843c32cdf7b44f43c26ecd1ba4f621375cab8bfa59d1a1804d02711f9e340084adbc0dbeaa378 SHA512 5694e2b7f601d6f914e3d72a3802c8d2ac07b3774bf4dc352c1757297e9339b2e66384859a1b40831177cca308b1af40a1e32ae7a27619836620fe3d61404e49
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.0.ebuild 17852 BLAKE2B a48327ceb5d26f0677e986335369827c19f7fd42d1be398f8c93212f5776e70d6cecdc067ea11bad3022cf2143c98f4f994d2cc60dd2a2848e9f356615a318a8 SHA512 3bb4df364c8dd8f4cdfe106b186b9e19adfcc767d2e98b0fbd3dc4b6543fdf5062179586d115882f8c0b49f29ceaac65bb68d6a826177c38c6c3d4511c2fde29
EBUILD homeassistant-0.113.1.ebuild 18268 BLAKE2B 2fa486cfd2aaf2b90e2acf9b188ff7c2841c84f55ac054b31a4bacda2992b8bd71af8a8a0efe4a0e65d3db904cd5537078616ca96e9a5dfcc23fb70434d346ea SHA512 2ecbde6031c0158b44d1dfa2260ebf39aab7d4aefdebe1e7cbdc8cfdd56022faf577b896d2b3ab6c67e6da81f9336b4e53eb7502eca584f293cde8c07bfdf760
EBUILD homeassistant-0.113.2.ebuild 18284 BLAKE2B 1931208736d188cca96c25153d6e7f5d4425812f03dce07441757cba1c9fe7371d650585e8c85e07f8f4aad002341ac32c636c74531a95db849e00995d2d3edb SHA512 2de21ef4f8849f2bca172bc8b70d2681be9e12d97942681b684136ef63e6b069e428640fa723bf7f73aec282cac8f1706e55be846e5a2d31a8d4bf8e51270744
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
EBUILD homeassistant-0.115.0_beta10.ebuild 19277 BLAKE2B c2b82e87b049a5259091ffb30f86f1d3f11a520f96d532a7676d1a9c12e784ed7c860858902c0d7089efbae1257ac7f41edd1ec91124453445a598f33d70dcc9 SHA512 e1e7be0311ef336606640cc883246fa91ef16c4df8a5f2b27dd63629403937c7d7215112e868cfc40807563856ffca1dafa1831ddc6f08be4b1a736b93545bb7
EBUILD homeassistant-0.115.0_beta11.ebuild 20434 BLAKE2B 2173d0b39b47976cc7d1a40c09c3a7a789dbf185fed12ef4ed9d7fbf228daf26b206ec4156538a4a26fbea09a7b09b94e34729569c49d994ac2e3ad8250e7df0 SHA512 297892ce3520564d5725c9fb4d0e21f10e0ce5fdca66fc09d42f9302a827c145a05d337b3e367c5b32a3072601a46502e94586d80b128356045368f0dbd4764c
EBUILD homeassistant-0.115.0_beta7.ebuild 19210 BLAKE2B f6e2c49c1d1c9934c2a5ab18745e3cd95e44402a022c66ab80891b3bb9afe4ec3cd6dd0988590bdc26ec21eb2463d1ffba262916c53650292b0f9aade21beb32 SHA512 08fa40df526304b062457fb67df04c265495f07908a6ce9b4a41aa1cc428d9cc4af32b27e5c1748ccc9625f2e1f95526f186d4e3405c5e060cc1fc93cb2c8978
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
MISC homeassistant-9999.off 61202 BLAKE2B d13693b1971997bed31ed7c255677b7a146716f70540854f6972b7ded0adac3e04b14c7b33f4cc0c191291dc039bfa570e1f3598651eaeff9e10cad9738470f8 SHA512 364cada3ee36c3282a68a3a04dd60357fc4575926d10570dfdbf3bc75dea8b14315e2ca0ccdda3f46e73eb5ce8ef473d1695517e43af078848664f7939024b0a
MISC metadata.xml 14461 BLAKE2B 7111c310b4adf59f01ea6b996fae2d4f6b133a36baee864cad379528aa278b3bf7b53c3ba8efc0340355502b2ea1430e3cd23acf9ee547598ab7690f5114abe4 SHA512 708fa0b7428f970856f14598688c3230a841131f9a79d681d5f2f48eeaf3ddef269451e36d7a8f8759f555c2b2b4e350a24b01b992e447d4a32b3ee7d2c113e2

View File

@ -1,344 +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 discogs 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 nws nx584 openwrt owntracks ozw plex plugwise powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe sma smappee smarthab 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 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.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(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.0[${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}]"
# 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.34.7[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200716.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.27.1[${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-2.9.2[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/python-jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.0[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/PyQRCode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.1.3[${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.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.45[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.0[${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-3.3.1[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
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.15.1[${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.1.2[${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}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${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.1[${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.4.0[${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.5[${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.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.45[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.67[${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.5.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.2.1[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/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}] )
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}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.11[${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.2.0[${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}] )
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.9.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.1.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.43[${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}] )
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.6.16.1[${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.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.42[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_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
}

View File

@ -1,351 +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 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.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(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.0[${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}]"
# 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.34.7[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200716.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.27.1[${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-2.9.2[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/python-jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.0[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.1.3[${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.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.46[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.0[${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-3.3.1[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
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.15.1[${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.1.2[${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.1[${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.4.0[${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.5[${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.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.45[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.67[${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.5.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.2.1[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/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.11[${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.2.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.2[${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.9.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.1.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.43[${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.0[${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.6.16.1[${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.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.42[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_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
}

View File

@ -62,7 +62,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-20200912.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200915.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}]

View File

@ -61,7 +61,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-20200912.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200915.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}]

View File

@ -0,0 +1,361 @@
# 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 airvisual alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apple_tv apprise arcam_fmj asuswrt aurora avea awair axis bitcoin blink blockchain bmw_connected_drive braviatv broadlink brother buienradar caldav cast cisco_mobility_express cli co2signal coronavirus daikin darksky ddwrt deconz delijn denonavr deutsche_bahn devolo_home_control dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights flume flunearyou flux_led foobot fortios freebox fronius gios gogogate2 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 jewish_calendar joaoapps_join kef knx kodi luci maxcube maxcube_hack media_extractor meteo_france mikrotik mitemp_bt mobile_app mqtt myq mysql nad nederlandse_spoorwegen netatmo netdata nuki nws nx584 owntracks ozw panasonic_viera ping plex plugwise poolsense powerwall ps4 qnap rainmachine recorder rejseplanen ring roku roomba samsungtv scrape shelly shodan signal_messenger simplisafe skybell sma smappee smarthab smartthings snmp socat socialblade solax somfy sonos speedtestdotnet sql squeezebox ssl 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 webostv wemo whois wink withings wled workday xbox_live xiaomi_aqara xiaomi_miio xiaomi_tv xs1 yamaha yamaha_musiccast yeelight zerproc zha zhong_hong zoneminder zwave"
# 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-20200916.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}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${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/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}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.3.13[${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}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.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}] )
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}] )
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}] )
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}] )
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.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}] )
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}] )
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}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-0.1.4[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/gogogate2-api-2.0.2[${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}] )
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}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.6[${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}] )
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}] )
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}] )
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}] )
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}] )
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}] )
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}] )
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.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}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${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}] )
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}] )"
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
}

View File

@ -1,368 +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 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-20200909.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.49[${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-72[${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.2.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
}

View File

@ -16,6 +16,7 @@ DIST home-assistant-frontend-20200908.0.tar.gz 25798333 BLAKE2B 1952823b13ce1568
DIST home-assistant-frontend-20200909.0.tar.gz 25820699 BLAKE2B 060b27e1a927c9a3442ec18b62f8b16272f136d613564e0426c060352c753d257e37e9d9b5d9869e625022af218be3a356ba38c326f6fade5428eb9ac5d4ad5c SHA512 a8d979a69bbb0275371e3da3bc79952c177df76f8fbe258440d42483c16110298932fe328ef9ad79357e73f93684277384b6e9140bc2f59bfe46b44b002a56ee
DIST home-assistant-frontend-20200912.0.tar.gz 27736854 BLAKE2B 78ea6904ab0d2a6d221bdc250b3a881378af562cfc663e83cdae7c27b9412540df163e4961d1b24f7dc7eebfe6de8d48007e6f55076a2dbffbf504f16a33f798 SHA512 20d07ab5168f28bc9889b6c67e1852c2c623641f7025904e8115f5904e93b56e1b8310ca36c4868f178fdfdf2830ce9c40299179f5af8b15f55893a2eea1d816
DIST home-assistant-frontend-20200915.0.tar.gz 27774814 BLAKE2B 415adb5ea32c56dad0f5644967c4618b0720453a474aeaeecce416eaf271b671c0b7ede77de6a8d8802689eb9eb685883a75a17e7950694bd3b0eb2a327eea71 SHA512 5e18decfa7c91b331c72d190849243f5255a9226d07f65615306059149953c47029c98922e7d0bd348afef6ab8943bf8b8c43ce567145fc2673e49bc79254837
DIST home-assistant-frontend-20200916.0.tar.gz 27483615 BLAKE2B 8538e1053790460fb0961b6efff677d355906e241cfa926ca2ac3a2e071ed5a71efbc22fa7076b2d08e468596a2ad9bc94adce1d968e3c13459c9c5fee48331f SHA512 7e2bd32a3481331ce1c5507ec00c44c0ab2059ac22ff4b25c32f23af8e3e05686a6ac8ca886600d16b91b181926d1a96a84a4d8efa1f431deef53542a10c8c5d
EBUILD home-assistant-frontend-20200220.5.ebuild 747 BLAKE2B a1d7a2894084e17d7ad6112f3149e944be5e872338389e964c92fb4629055cdfd3f66207ca7bfff4e69d9edde75951fc6560ad6a8ed640b8688d1abd34214d51 SHA512 993e528fd09bf3331180d67495d311e9da5ad5477b2b58619d8cfeec6dc0cb6d5089da4ca01ca9fbbbecaa66a2aad63452aa31c113c1901077963e068f1a622c
EBUILD home-assistant-frontend-20200318.1.ebuild 747 BLAKE2B a1d7a2894084e17d7ad6112f3149e944be5e872338389e964c92fb4629055cdfd3f66207ca7bfff4e69d9edde75951fc6560ad6a8ed640b8688d1abd34214d51 SHA512 993e528fd09bf3331180d67495d311e9da5ad5477b2b58619d8cfeec6dc0cb6d5089da4ca01ca9fbbbecaa66a2aad63452aa31c113c1901077963e068f1a622c
EBUILD home-assistant-frontend-20200407.2.ebuild 747 BLAKE2B a1d7a2894084e17d7ad6112f3149e944be5e872338389e964c92fb4629055cdfd3f66207ca7bfff4e69d9edde75951fc6560ad6a8ed640b8688d1abd34214d51 SHA512 993e528fd09bf3331180d67495d311e9da5ad5477b2b58619d8cfeec6dc0cb6d5089da4ca01ca9fbbbecaa66a2aad63452aa31c113c1901077963e068f1a622c
@ -34,4 +35,5 @@ EBUILD home-assistant-frontend-20200908.0.ebuild 754 BLAKE2B 13e624314377bb47d90
EBUILD home-assistant-frontend-20200909.0.ebuild 754 BLAKE2B 13e624314377bb47d90f4a216b087362ec3de187de61ae3dd0443c9e278b0a3116033cb78334e8d10d5df07bfee0a75534900aed40e2a288fc8272fb1a825c5e SHA512 babc7a326d3b4ecd7f3378b15337b62ebd57d58a0595e2fedcacbc198df82c4af1a037fca825697b882514d5b6846f04ecb58165cf016a6c81a3459377a9402f
EBUILD home-assistant-frontend-20200912.0.ebuild 754 BLAKE2B 13e624314377bb47d90f4a216b087362ec3de187de61ae3dd0443c9e278b0a3116033cb78334e8d10d5df07bfee0a75534900aed40e2a288fc8272fb1a825c5e SHA512 babc7a326d3b4ecd7f3378b15337b62ebd57d58a0595e2fedcacbc198df82c4af1a037fca825697b882514d5b6846f04ecb58165cf016a6c81a3459377a9402f
EBUILD home-assistant-frontend-20200915.0.ebuild 754 BLAKE2B 13e624314377bb47d90f4a216b087362ec3de187de61ae3dd0443c9e278b0a3116033cb78334e8d10d5df07bfee0a75534900aed40e2a288fc8272fb1a825c5e SHA512 babc7a326d3b4ecd7f3378b15337b62ebd57d58a0595e2fedcacbc198df82c4af1a037fca825697b882514d5b6846f04ecb58165cf016a6c81a3459377a9402f
EBUILD home-assistant-frontend-20200916.0.ebuild 754 BLAKE2B 13e624314377bb47d90f4a216b087362ec3de187de61ae3dd0443c9e278b0a3116033cb78334e8d10d5df07bfee0a75534900aed40e2a288fc8272fb1a825c5e SHA512 babc7a326d3b4ecd7f3378b15337b62ebd57d58a0595e2fedcacbc198df82c4af1a037fca825697b882514d5b6846f04ecb58165cf016a6c81a3459377a9402f
MISC metadata.xml 485 BLAKE2B db31a294d5ca2f4824e6ab06aaf266b0182e1c9b49d5aeafd299fd408fc5a96d0db3ac4d72732291b0c7f74480dab6cd4febcbeced136372db499d67eb46edac SHA512 c5a5ddd828915cd14975e480b2c6c9aa599aeb32ee6d7bfef4995450fa8b6d4cdc4b281c34c4cc34d4b15f8443c1d780bf72b5f5443edbcd50054fa434f367e5

View File

@ -0,0 +1,30 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6..8} )
inherit distutils-r1
DESCRIPTION="The Home Assistant frontend"
HOMEPAGE="https://github.com/home-assistant/home-assistant-polymer https://pypi.org/project/home-assistant-frontend/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="~dev-python/user-agents-2.0[${PYTHON_USEDEP}]"
BDEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}