app-misc/*: remove olds

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2022-11-03 07:26:50 +01:00 committed by Andreas Billmeier
parent 67cd2ed2b0
commit 0cb789be3e
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
10 changed files with 4 additions and 3749 deletions

View File

@ -573,12 +573,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1528 Ebuilds in total, 1521 of them have in total 1529 (34 different) licenses assigned.
There are 1522 Ebuilds in total, 1515 of them have in total 1523 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|882|
|Apache-2.0|320|
|Apache-2.0|314|
|GPL-3|96|
|BSD|88|
|LGPL-3|23|
@ -612,9 +612,9 @@ There are 1528 Ebuilds in total, 1521 of them have in total 1529 (34 different)
|CC0-1.0|1|
|GPL-2+|1|
(Last counted: 02/11/2022)
(Last counted: 03/11/2022)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 02/11/2022
Last updated: 03/11/2022

View File

@ -8,15 +8,11 @@ AUX maxcube_TypeError_dirty_hack.patch 1460 BLAKE2B 08570971bb3ce4c120086a32ec20
AUX recorder.yaml 114 BLAKE2B af04840805aa13124208584e7f1d40335905a083ee7deead5c0e4324c969f2a231c801c23e42075782950aba7535496d92747bf03efd73a80b0d07e8492d18f6 SHA512 cb4e353e54fb6dc7034569b8d62ddcdca92680c23c2c4e1ce707d21cf95e93f41a0c44521d8c3ee90b68c830f6b8e65dab82ae64bfa09727ae384550f7de0c94
AUX socat-zwave.init.d 637 BLAKE2B d61c1024a6fe3ce8d322e62ac1ec15e00d08f5c5a63feabc8603ecc51ec16e0a4775e0c7da83d12d1ef0c9815c9ebf8ec8a86a678bb4a3b40decb04adc887f26 SHA512 2b13cd4175427853d5a4169cc7d441d62618e8136e4f5d9fd24d08a47f6916953ebd1e747ea9c7a0907b00766c7b2108ba3b8917178fd9a795da23e6525a0faf
AUX update-homeassistant 1326 BLAKE2B 917bdd332c4e5dea5177eecd11a7f8d72b911fddfdc8e5eb54960c526fe8c735e20d44e570cf7aeb99669d2a9670c70da1c5fbc30efb284d1f0f330799de6e24 SHA512 3c05f0d6d1bde0e1526c3e679568794c07091e7856dfd8793e13feec6f22725ddaa3163ca2c81d9df86cf73573f932e561743f05de420b350a0b68f6a9582aca
DIST homeassistant-2022.10.4.gh.tar.gz 16789088 BLAKE2B 4dd429a1eb7064a5aad864b20e6326b1f47eb2b9969d0cad88b50e2b9b731ac2f721e97e3cc19da2ff87142363647dc7f2964c540366bb7b02705c77573c715e SHA512 50a960ed4d3ddcec9ea039197206dab2102f49e2a661340a16081de48be81a86731c284844e8b46a3dfef9374a51b6b884785252e2e709966879dbbd98082054
DIST homeassistant-2022.10.5.gh.tar.gz 16789114 BLAKE2B cb64326ae8f4d3323bccc2b64b53bd61673f25343a1b9b2c74edea493b39848624f7ef4c9e6928bcb2cee2ab1bdbc5c57b51dfcf08ba06067c09e333b4d19816 SHA512 dfba7a9fbbe4840a631d398f3e70b77f6ce2df078a3281b8ac47a37c9c9db2d446e633278ccc3c7f8518b578e0d9943622ef15767be9d8e69deb39c9ca287a2a
DIST homeassistant-2022.11.0b6.gh.tar.gz 17078691 BLAKE2B 64b410e3c723321a28c13d59b0e4f1b21da2a9902643fe0b9fa4125fe458a317df3209066e68c6f3a82dcb5bded3bd38d33b7764f6397152ffc443dac0d5c857 SHA512 2a525ef48598fe789394e007ead0d35b9c50cf2da89dd8985d27089b6f9d2c14dfbd8cd772f317b475c36d7ae254ce9ca61fd7bef46ca1c4ed510e7f5b77e879
DIST homeassistant-2022.11.0b7.gh.tar.gz 17079137 BLAKE2B a606f4ceb13369d2dbfda5503f8ea38cfa3fcf144730579ccb0e24c53b675ee351892c3a23351f8b7ff0d1bdecf838de18b0f80485eb7f038ccdb13ace0ab183 SHA512 c77fe3bfa9f5b95af2e8420b7b1c60417f6d599a7ef6144223b2d291c86c7ec0311b5a84e00169d0b461872014449400af55c5abec8ab0237b078165ae0334c1
DIST homeassistant-2022.8.7.gh.tar.gz 15994709 BLAKE2B fc6d5d7ed831c012e99d49516c20afa0a03311131620740436421b0dfab45820cebf113810c2472357f4637040dea9b96c3a2a1c82ebc3136ece015f87b7d8ce SHA512 009cb81106996f8457c08c76a89b61689b8554ed0453715e6ea2ceee6f4bf4822f82ec2dc2aa3bd7793dd0b2462424557cf2d4a09565f6f089654cae6dce39d9
DIST homeassistant-2022.9.7.gh.tar.gz 16485744 BLAKE2B 04497b7b388e99020bb09b15a53db23b9f073ad27cf18fb1fb0d3d3426dab9a9d4d7e1fefea8bc9e0493022f2911a7f48244f9ccbeb62eb6c81856fbc12a691d SHA512 6569931c0506241e78bd2b997fbe4357075acddee2abd472f6262a372e787305feb6fa3300fd034d8624321a42f7fa43a03175033015861e8f04a384713d34ee
EBUILD homeassistant-full-2022.10.4.ebuild 75991 BLAKE2B 99803f02f352d3c920b6d1c260f0e1f431653ca7ca04451bd0350aa72ba4dcfa25d2397d955857cea027eb78532c075cb3188f8c3ad16043a29d757ee133217b SHA512 524a2273a51c63605a9a92baa66c3a0670f8425e0f88b1524d8631125a037bd7ee2dd767de516fedca2651737930ee20f6dd8303c1ea6ddd9947ead8b4642016
EBUILD homeassistant-full-2022.10.5.ebuild 75994 BLAKE2B 6c259466a38c50bc59ce70c0955a6889d18e2ed819162250cadc0246f9621a332e226181284fbed48f0549e9b4c36d87412ca8bfc04931fc683f7224c4f1d9a5 SHA512 debb921bc2debe1cd9d58dee3021a8eaeadb628d4aa31fa25eeba01953cd070de10509ccc959501746acfc34f0870a36de0b939ba048ec0c061509c92bc38010
EBUILD homeassistant-full-2022.11.0_beta6.ebuild 76300 BLAKE2B c53bbc60dcbf1dc722420bfb32a8386f62e64744b808af5a7ede02e64e13a189e473679f2617a50e9f2d46753627f40db7f5e6117dde8e5d9e46cbb279aafc3c SHA512 2a669808d6dc9022e2812a9274d9c19a5baed91da546cebcbe28934bfb2c0e5a1b2c1ef8646aa74db5a01a197a0e94c9ab9fc9b16800f94d7633dfcb40ba5ddb
EBUILD homeassistant-full-2022.11.0_beta7.ebuild 76300 BLAKE2B 06772fd5b5983065274496ce7e25c915ee00d504fc8f16a1724305423e17770fc23fd48effc0992bf1794ef7b3df311c109070e5d4c98e6dd3861bd2bd2296c7 SHA512 605122a9460a25e97ddf16f774e4d201963ad49b2ef07fa14bf470da344c4b35f60a56b7753a6580d0a1424a2d87232f9825c0934c9ac92fff75cec7dcfc2ef1
EBUILD homeassistant-full-2022.8.7-r1.ebuild 73617 BLAKE2B 1a6ff0a99da08284bf360afa71bc67b621ae6ee02756fc5ccdcbb714a8814304c3185845acc4fbff747ceff21c472f37d0a877cd95f2559a12fd8d5706eccb59 SHA512 b800bb7447f82285a9a5a6c2effd1ce98fe676f8c5fb36dc1338bcc74fc4991c844d82d23ff56dce0808f679cca97f9306f786f59a8d795052561b5a4dfde062
EBUILD homeassistant-full-2022.9.7.ebuild 75344 BLAKE2B 0add489fbe0015da2f0458fd4e99a71829d5a51de8ac6e4b4d25946304390f51feeea72d516cd0a83bb691a4e414d93bf6a39d87db08325e9fbcbddf4cd1f608 SHA512 703921c8b19d4ead020bfb5a302f776b713b74d714273bc21de8a1c9a6b5e8ddbe40fd718e01a2fda3bf750273902757984f36edf8e7ea10238a737b6e4ec8b8

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -8,15 +8,11 @@ AUX maxcube_TypeError_dirty_hack.patch 1460 BLAKE2B 08570971bb3ce4c120086a32ec20
AUX recorder.yaml 114 BLAKE2B af04840805aa13124208584e7f1d40335905a083ee7deead5c0e4324c969f2a231c801c23e42075782950aba7535496d92747bf03efd73a80b0d07e8492d18f6 SHA512 cb4e353e54fb6dc7034569b8d62ddcdca92680c23c2c4e1ce707d21cf95e93f41a0c44521d8c3ee90b68c830f6b8e65dab82ae64bfa09727ae384550f7de0c94
AUX socat-zwave.init.d 637 BLAKE2B d61c1024a6fe3ce8d322e62ac1ec15e00d08f5c5a63feabc8603ecc51ec16e0a4775e0c7da83d12d1ef0c9815c9ebf8ec8a86a678bb4a3b40decb04adc887f26 SHA512 2b13cd4175427853d5a4169cc7d441d62618e8136e4f5d9fd24d08a47f6916953ebd1e747ea9c7a0907b00766c7b2108ba3b8917178fd9a795da23e6525a0faf
AUX update-homeassistant 1326 BLAKE2B 917bdd332c4e5dea5177eecd11a7f8d72b911fddfdc8e5eb54960c526fe8c735e20d44e570cf7aeb99669d2a9670c70da1c5fbc30efb284d1f0f330799de6e24 SHA512 3c05f0d6d1bde0e1526c3e679568794c07091e7856dfd8793e13feec6f22725ddaa3163ca2c81d9df86cf73573f932e561743f05de420b350a0b68f6a9582aca
DIST homeassistant-2022.10.4.gh.tar.gz 16789088 BLAKE2B 4dd429a1eb7064a5aad864b20e6326b1f47eb2b9969d0cad88b50e2b9b731ac2f721e97e3cc19da2ff87142363647dc7f2964c540366bb7b02705c77573c715e SHA512 50a960ed4d3ddcec9ea039197206dab2102f49e2a661340a16081de48be81a86731c284844e8b46a3dfef9374a51b6b884785252e2e709966879dbbd98082054
DIST homeassistant-2022.10.5.gh.tar.gz 16789114 BLAKE2B cb64326ae8f4d3323bccc2b64b53bd61673f25343a1b9b2c74edea493b39848624f7ef4c9e6928bcb2cee2ab1bdbc5c57b51dfcf08ba06067c09e333b4d19816 SHA512 dfba7a9fbbe4840a631d398f3e70b77f6ce2df078a3281b8ac47a37c9c9db2d446e633278ccc3c7f8518b578e0d9943622ef15767be9d8e69deb39c9ca287a2a
DIST homeassistant-2022.11.0b6.gh.tar.gz 17078691 BLAKE2B 64b410e3c723321a28c13d59b0e4f1b21da2a9902643fe0b9fa4125fe458a317df3209066e68c6f3a82dcb5bded3bd38d33b7764f6397152ffc443dac0d5c857 SHA512 2a525ef48598fe789394e007ead0d35b9c50cf2da89dd8985d27089b6f9d2c14dfbd8cd772f317b475c36d7ae254ce9ca61fd7bef46ca1c4ed510e7f5b77e879
DIST homeassistant-2022.11.0b7.gh.tar.gz 17079137 BLAKE2B a606f4ceb13369d2dbfda5503f8ea38cfa3fcf144730579ccb0e24c53b675ee351892c3a23351f8b7ff0d1bdecf838de18b0f80485eb7f038ccdb13ace0ab183 SHA512 c77fe3bfa9f5b95af2e8420b7b1c60417f6d599a7ef6144223b2d291c86c7ec0311b5a84e00169d0b461872014449400af55c5abec8ab0237b078165ae0334c1
DIST homeassistant-2022.8.7.gh.tar.gz 15994709 BLAKE2B fc6d5d7ed831c012e99d49516c20afa0a03311131620740436421b0dfab45820cebf113810c2472357f4637040dea9b96c3a2a1c82ebc3136ece015f87b7d8ce SHA512 009cb81106996f8457c08c76a89b61689b8554ed0453715e6ea2ceee6f4bf4822f82ec2dc2aa3bd7793dd0b2462424557cf2d4a09565f6f089654cae6dce39d9
DIST homeassistant-2022.9.7.gh.tar.gz 16485744 BLAKE2B 04497b7b388e99020bb09b15a53db23b9f073ad27cf18fb1fb0d3d3426dab9a9d4d7e1fefea8bc9e0493022f2911a7f48244f9ccbeb62eb6c81856fbc12a691d SHA512 6569931c0506241e78bd2b997fbe4357075acddee2abd472f6262a372e787305feb6fa3300fd034d8624321a42f7fa43a03175033015861e8f04a384713d34ee
EBUILD homeassistant-min-2022.10.4.ebuild 15438 BLAKE2B 9800c23c651587ecdf969887447587d55a08f4c537f50d7a68a8af9dc7dd13cc3ae41058e584d0dad42214536a61ed211a1d2ff118ec839e48389076cd842e05 SHA512 1ae86faf2d8ec3d1b99c02c02cb075692038dd153083bb9d247288eb2a34a5ac73459b342d1724327784ce4a9531f565da9a291c616605b039bf2f0303661cdb
EBUILD homeassistant-min-2022.10.5.ebuild 15592 BLAKE2B 659e88646c304ecd4d6d02bb428d3d32ab5589747e4f0d3f2c9b48f07ac9716684022726c9aa38dd39ae4aed75a15971e5f7d0007fad52297469375afc005c9a SHA512 ebaa416d4ed00bae3815d7b539f9a8547b291f0e84aa4e2095841d32eb882278182fad0c0384b4c861f5e2d54df0bd8673d9a8d6aeb22805a36f3071a950725c
EBUILD homeassistant-min-2022.11.0_beta6.ebuild 15445 BLAKE2B 46a79aab307a11556f10e6f8df82e508278b8f2e7db0b6797661771cfb0c0f407b89f089dfe866b68d7d001b7d592c68052e0bdf29b6d1fe0cfa622339778a6d SHA512 81fd20aebc7c509578bfb63fe6ec05aac4117aa3a24eceece55b9ff19f6316d5391fb0e784594e55c8adb95b93b83fee44333dd4a41d64657b1a5c89ec5d3c6e
EBUILD homeassistant-min-2022.11.0_beta7.ebuild 15445 BLAKE2B 3a771f3a888b29f547d870f544988f4e0a361d289edc55d8e7230e57e52ea6daf7c6ed16802a0277d437b7c948c8a61b7c24efb507244f45b7f4a4c9db084676 SHA512 6f69fb4a3b1d5f6ac3603e93b8b5f7def47742406b9b44420f2a243943cb6f5ee5b279eebfc78a3607d772f1596d716ebac549a9175dcc6491c193a5d5591b3a
EBUILD homeassistant-min-2022.8.7.ebuild 14848 BLAKE2B 0bf3df5b400319c60bcc5cc8129f2f44c1cf32fa98c51e8052276eb6b01463fc21f768b84cce157d7607685b751e8c11e31c8ffa437ec4a9683799d039acf160 SHA512 80b0f8e82886f884371e5230a270dc5796c642365b13cdce251e04d00542395e3f99fbb9a3bc87edf2bb0ef9aa7262d739a22ae82a48874ec03c45f6d74fc19e
EBUILD homeassistant-min-2022.9.7.ebuild 15423 BLAKE2B 9f2174c99de23a4504ddd82215380316c62a6acd051ecc8bf73b03e7b422b28996897a5e14e846343b10f3cdf6b3bd619ccc6619501637f754a366579cea8a57 SHA512 04526ef3d2dade4aafdfa63d62d250d443533c4069cfaae0a061b093ba9d2d236c9f9950301c0d15e600f3b9ad733f19f93ec62aa317badcf953f39442b2c27f

View File

@ -1,295 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 readme.gentoo-r1 systemd
MY_PN=homeassistant
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_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S="${WORKDIR}/core-${MY_PV}"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus darksky dlna_dmr dlna_dms +dwd_weather_warnings enigma2 esphome ffmpeg file forecast_solar fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken +mariadb maxcube mikrotik +mobile_app modbus +mosquitto +mqtt myq mysensors mysql +notify_events octoprint onvif +otp owntracks +ping +plex ps4 +python_script qnap qvr_pro radio_browser +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +spotify +sql +ssl systemd systemmonitor tankerkoenig tasmota test tile tomorrowio tplink upnp utility_meter +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zha +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.8 dev-lang/python:3.9 dev-lang/python:3.10 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
<dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.1.3[${PYTHON_USEDEP}]
~dev-python/bleak-0.18.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.6.0[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-0.3.4[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.2.0[${PYTHON_USEDEP}]
~dev-python/cryptography-38.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.24.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.48.0[${PYTHON_USEDEP}]
~dev-python/grpcio-1.48.0[${PYTHON_USEDEP}]
~dev-python/h11-0.12.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.56.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.3.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20221010.0[${PYTHON_USEDEP}]
~dev-python/httpcore-0.15.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.0[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.7.11[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.2.0[${PYTHON_USEDEP}]
<dev-python/pip-22.1.0
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.1[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.4.5
~dev-python/sqlalchemy-1.4.41[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.5.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/python-zeroconf-0.39.1[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
# auth/mfa_modules/totp.py:REQUIREMENTS = ["pyotp==2.7.0", "PyQRCode==1.2.1"]
# scripts/check_config.py:REQUIREMENTS = ("colorlog==6.6.0",)
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
>=dev-python/multidict-5.2.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.4.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.7.0[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.67[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-44[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.18.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.1.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.6.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-0.3.4[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.24.0[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.9.1[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-12.1.4[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-11.1.1[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.0.2[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.2.4[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/ha-HAP-python-4.5.2[${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}] )
homekit_controller? ( ~dev-python/aiohomekit-2.0.1[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.5[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-1.1.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-2.5.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.8[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.0[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-5.2[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.4.41[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-2.0.2[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.15[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.28.0[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.20.0[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.4.41[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.2[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.1[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.16[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.16[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.4[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/python-zeroconf-0.39.1[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.2[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.82[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.51.3[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.1[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.43.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.12.5[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-6.4.4[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.981[${PYTHON_USEDEP}]
<dev-python/pip-22.1.0
~dev-vcs/pre-commit-2.20.0
~dev-python/pylint-2.15.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezegun-0.4.2[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.1.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.19.2[${PYTHON_USEDEP}]
~dev-python/stdlib-list-0.7.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
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/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -1,295 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 readme.gentoo-r1 systemd
MY_PN=homeassistant
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_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S="${WORKDIR}/core-${MY_PV}"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus darksky dlna_dmr dlna_dms +dwd_weather_warnings enigma2 esphome ffmpeg file forecast_solar fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken +mariadb maxcube mikrotik +mobile_app modbus +mosquitto +mqtt myq mysensors mysql +notify_events octoprint onvif +otp owntracks +ping +plex ps4 +python_script qnap qvr_pro radio_browser +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +spotify +sql +ssl systemd systemmonitor tankerkoenig tasmota test tile tomorrowio tplink upnp utility_meter +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zha +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.8 dev-lang/python:3.9 dev-lang/python:3.10 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.8.1[${PYTHON_USEDEP}]
~dev-python/bleak-0.19.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.6.0[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-0.3.6[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.2.0[${PYTHON_USEDEP}]
~dev-python/cryptography-38.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.60.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.48.0[${PYTHON_USEDEP}]
~dev-python/grpcio-1.48.0[${PYTHON_USEDEP}]
~dev-python/h11-0.12.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.56.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.6.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20221031.0[${PYTHON_USEDEP}]
~dev-python/httpcore-0.15.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.0[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.1[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.2.0[${PYTHON_USEDEP}]
<dev-python/pip-22.1.0
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.1[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.4.5
~dev-python/sqlalchemy-1.4.42[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.5.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/python-zeroconf-0.39.4[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
# auth/mfa_modules/totp.py:REQUIREMENTS = ["pyotp==2.7.0", "PyQRCode==1.2.1"]
# scripts/check_config.py:REQUIREMENTS = ("colorlog==6.6.0",)
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
>=dev-python/multidict-5.2.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.4.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.7.0[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.69[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-44[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.19.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.8.1[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.6.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-0.3.6[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.60.0[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.9.1[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-12.1.4[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-11.4.2[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.0.2[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/ha-HAP-python-4.5.2[${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}] )
homekit_controller? ( ~dev-python/aiohomekit-2.2.11[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.5[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-1.2.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-2.5.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.9[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.0[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-5.2[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.4.42[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-4.1.2[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.15[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.28.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.20.0[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.4.42[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.3[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.1[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.16[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.16[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.4[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/python-zeroconf-0.39.4[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.2[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.84[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.51.5[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.1[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.43.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.12.12[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-6.4.4[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.982[${PYTHON_USEDEP}]
<dev-python/pip-22.1.0
~dev-vcs/pre-commit-2.20.0
~dev-python/pylint-2.15.5[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezegun-0.4.2[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.1.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.19.2[${PYTHON_USEDEP}]
~dev-python/stdlib-list-0.7.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
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/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -8,15 +8,11 @@ AUX maxcube_TypeError_dirty_hack.patch 1460 BLAKE2B 08570971bb3ce4c120086a32ec20
AUX recorder.yaml 114 BLAKE2B af04840805aa13124208584e7f1d40335905a083ee7deead5c0e4324c969f2a231c801c23e42075782950aba7535496d92747bf03efd73a80b0d07e8492d18f6 SHA512 cb4e353e54fb6dc7034569b8d62ddcdca92680c23c2c4e1ce707d21cf95e93f41a0c44521d8c3ee90b68c830f6b8e65dab82ae64bfa09727ae384550f7de0c94
AUX socat-zwave.init.d 637 BLAKE2B d61c1024a6fe3ce8d322e62ac1ec15e00d08f5c5a63feabc8603ecc51ec16e0a4775e0c7da83d12d1ef0c9815c9ebf8ec8a86a678bb4a3b40decb04adc887f26 SHA512 2b13cd4175427853d5a4169cc7d441d62618e8136e4f5d9fd24d08a47f6916953ebd1e747ea9c7a0907b00766c7b2108ba3b8917178fd9a795da23e6525a0faf
AUX update-homeassistant 1326 BLAKE2B 917bdd332c4e5dea5177eecd11a7f8d72b911fddfdc8e5eb54960c526fe8c735e20d44e570cf7aeb99669d2a9670c70da1c5fbc30efb284d1f0f330799de6e24 SHA512 3c05f0d6d1bde0e1526c3e679568794c07091e7856dfd8793e13feec6f22725ddaa3163ca2c81d9df86cf73573f932e561743f05de420b350a0b68f6a9582aca
DIST homeassistant-2022.10.4.gh.tar.gz 16789088 BLAKE2B 4dd429a1eb7064a5aad864b20e6326b1f47eb2b9969d0cad88b50e2b9b731ac2f721e97e3cc19da2ff87142363647dc7f2964c540366bb7b02705c77573c715e SHA512 50a960ed4d3ddcec9ea039197206dab2102f49e2a661340a16081de48be81a86731c284844e8b46a3dfef9374a51b6b884785252e2e709966879dbbd98082054
DIST homeassistant-2022.10.5.gh.tar.gz 16789114 BLAKE2B cb64326ae8f4d3323bccc2b64b53bd61673f25343a1b9b2c74edea493b39848624f7ef4c9e6928bcb2cee2ab1bdbc5c57b51dfcf08ba06067c09e333b4d19816 SHA512 dfba7a9fbbe4840a631d398f3e70b77f6ce2df078a3281b8ac47a37c9c9db2d446e633278ccc3c7f8518b578e0d9943622ef15767be9d8e69deb39c9ca287a2a
DIST homeassistant-2022.11.0b6.gh.tar.gz 17078691 BLAKE2B 64b410e3c723321a28c13d59b0e4f1b21da2a9902643fe0b9fa4125fe458a317df3209066e68c6f3a82dcb5bded3bd38d33b7764f6397152ffc443dac0d5c857 SHA512 2a525ef48598fe789394e007ead0d35b9c50cf2da89dd8985d27089b6f9d2c14dfbd8cd772f317b475c36d7ae254ce9ca61fd7bef46ca1c4ed510e7f5b77e879
DIST homeassistant-2022.11.0b7.gh.tar.gz 17079137 BLAKE2B a606f4ceb13369d2dbfda5503f8ea38cfa3fcf144730579ccb0e24c53b675ee351892c3a23351f8b7ff0d1bdecf838de18b0f80485eb7f038ccdb13ace0ab183 SHA512 c77fe3bfa9f5b95af2e8420b7b1c60417f6d599a7ef6144223b2d291c86c7ec0311b5a84e00169d0b461872014449400af55c5abec8ab0237b078165ae0334c1
DIST homeassistant-2022.8.7.gh.tar.gz 15994709 BLAKE2B fc6d5d7ed831c012e99d49516c20afa0a03311131620740436421b0dfab45820cebf113810c2472357f4637040dea9b96c3a2a1c82ebc3136ece015f87b7d8ce SHA512 009cb81106996f8457c08c76a89b61689b8554ed0453715e6ea2ceee6f4bf4822f82ec2dc2aa3bd7793dd0b2462424557cf2d4a09565f6f089654cae6dce39d9
DIST homeassistant-2022.9.7.gh.tar.gz 16485744 BLAKE2B 04497b7b388e99020bb09b15a53db23b9f073ad27cf18fb1fb0d3d3426dab9a9d4d7e1fefea8bc9e0493022f2911a7f48244f9ccbeb62eb6c81856fbc12a691d SHA512 6569931c0506241e78bd2b997fbe4357075acddee2abd472f6262a372e787305feb6fa3300fd034d8624321a42f7fa43a03175033015861e8f04a384713d34ee
EBUILD homeassistant-2022.10.4.ebuild 30306 BLAKE2B 5a9abb610b2265cd28816bedc9b2219536aa8ac3ea126aa11ce4a192950c886dc6c89041f7eb386b0006fcfe73a506fa3a6b27b51472add5e97268680ef04a67 SHA512 05f5121f623c29250df5bc2e87eef9955c8a528518ba1f58e5f47842923153977e02d98f2615ff31b6c236d21c40f94fc6e3dbc9d12644b26784abfcef65bdd2
EBUILD homeassistant-2022.10.5.ebuild 30306 BLAKE2B 246cece779e925214d0c1fe106c213ff456e92c81f4ed19a007895874067d74442361e5d2b8e80ff3026718ee07e53bc1c4508a0ce10f48ec4e0529621a6aa46 SHA512 6a7dbd0225fd7e698189e7e609ef572367a9609b9d81da7b0a9e7317bc94f32ae24619bbe3507ba3ff094f97710bbeddf13ac1bdce9d015fb4832d427b604ab2
EBUILD homeassistant-2022.11.0_beta6.ebuild 30371 BLAKE2B 38c2d8a496f2a49c35c243f174be125e529053d42fe808d920a6057b6d24c9c91ae797d2ab6dab4f3da2720f63e2a788b67ff99a10090aca3e9676868ddac78b SHA512 63d40a0a04c64ba44bd068e532812c900bbebcc4eea399c2c17cb1dbf1822e5ee11d718934eb4e3cfada517527c307ce4d9a62300a74c3eb513d120c27aff8d2
EBUILD homeassistant-2022.11.0_beta7.ebuild 30371 BLAKE2B 4fd5569616f676f988fc3de8059159e9d5da76a4e6b4bf9f0087deeaeb9d861ad5b5412a64c2a82674c0e61539c6f001a51e21ebda000d3c86574957d154392f SHA512 7e551e6f484e94a107f2b6eab87ac4f13540c3963298d9d0d13823a727a31521b6eb90cd860fb04676af78da76d47ad38667560155685db60717f799855e6311
EBUILD homeassistant-2022.8.7.ebuild 29770 BLAKE2B e6afbfb161e4675457b3f48d213fb38e0e079410d5fb18243d911b9c85cc62d1a804edcdc6809b416d55c6d9be9a19a081aa58e2e2b4fcd15c7757332859c3fb SHA512 891fc542f09e180b8bd5a90feecf671b7f0402fd41a565d3695ad6ef40d9768d7a4d4854744ea3a4546d4f22788be434f31edf3fa543ecdf67db414e8f294bd1
EBUILD homeassistant-2022.9.7.ebuild 30287 BLAKE2B 5f4c01deaa4fb6692fe6cb7ef2186471e51c82e8817bbdbdd5d9db4d38ec02ca8815e3ba8dd985029349f6a63e924f65ca2a589bf845bae6a691f13fa974dfe1 SHA512 1bb06de0bb0f91e0db60f8835ada1b6076aa9a21f57169b037bf7d98c0618a0487c543127c3cbe8ccaf6cae3ed824279f715f11a75cace45ce27d1224c654ace

View File

@ -1,489 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 readme.gentoo-r1 systemd
MY_PN=homeassistant
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_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S="${WORKDIR}/core-${MY_PV}"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
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 awair axis backup baidu beewi_smartclim bh1750 bitcoin bizkaibus blackbird blebox blink blinksticklight blinkt blockchain bluetooth bluetooth_le_tracker bluetooth_tracker bme280 bme680 bmw_connected_drive bond braviatv broadlink brother brottsplatskartan brunt bsblan bt_home_hub_5 bt_smarthub buienradar +caldav camera canary cast cisco_mobility_express cli co2signal compensation coronavirus daikin darksky deconz delijn denonavr deutsche_bahn devolo_home_control dexcom dhcp dht discogs discord discovery dlna_dmr dlna_dms doorbird dunehd +dwd_weather_warnings dynalite dyson ecobee emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights evohome ffmpeg fibaro file flume flunearyou flux_led foobot forecast_solar 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 homekit_controller homematic homematicip_cloud hp_ilo http hue hydrawise iaqualink ihc imap incomfort influxdb insteon intesishome ipma ipp islamic_prayer_times jewish_calendar joaoapps_join kef knx kodi kraken lifx linode litterrobot loopenergy luci luftdaten +mariadb maxcube media_extractor meteo_france mfi miflora mikrotik mitemp_bt +mobile_app modbus +mosquitto +mqtt myq mysql nad nederlandse_spoorwegen netatmo netdata +notify_events nuki nws nx584 octoprint onkyo onvif opengarage opensensemap openweathermap opnsense +otp owntracks panasonic_viera philips_js pilight +ping pi_hole +plex plugwise poolsense powerwall ps4 +python_script qnap qvr_pro rachio radio_browser rainbird rainmachine +recorder rejseplanen +rest ring roku roomba roon samsungtv +scrape season shelly shodan signal_messenger simplisafe skybell sma smappee smarthab smartthings +snmp socat solax somfy sonos speedtestdotnet +spotify +sql squeezebox +ssl statsd synology_dsm systemd systemmonitor tankerkoenig tasmota tellduslive tesla test tile tomorrowio toon totalconnect tplink tuya unifi unifi_direct upnp utility_meter vallox velbus velux vera +version vicare vizio +wake_on_lan 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 zeroconf zerproc zha zhong_hong zoneminder +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.8 dev-lang/python:3.9 dev-lang/python:3.10 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant-min
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
<dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.1.3[${PYTHON_USEDEP}]
~dev-python/bleak-0.18.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.6.0[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-0.3.4[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.2.0[${PYTHON_USEDEP}]
~dev-python/cryptography-38.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.24.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.48.0[${PYTHON_USEDEP}]
~dev-python/grpcio-1.48.0[${PYTHON_USEDEP}]
~dev-python/h11-0.12.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.56.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.3.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20221010.0[${PYTHON_USEDEP}]
~dev-python/httpcore-0.15.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.0[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.7.11[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.2.0[${PYTHON_USEDEP}]
<dev-python/pip-22.1.0
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.1[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.4.5
~dev-python/sqlalchemy-1.4.41[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.5.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/python-zeroconf-0.39.1[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
# auth/mfa_modules/totp.py:REQUIREMENTS = ["pyotp==2.7.0", "PyQRCode==1.2.1"]
# scripts/check_config.py:REQUIREMENTS = ("colorlog==6.6.0",)
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
>=dev-python/multidict-5.2.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.2.0[${PYTHON_USEDEP}] )
accuweather? ( ~dev-python/accuweather-0.4.0[${PYTHON_USEDEP}] )
acer_projector? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] )
acmeda? ( ~dev-python/aiopulse-0.4.3[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.5.1[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aftership? ( ~dev-python/pyaftership-21.11.0[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.7.0[${PYTHON_USEDEP}] )
aladdin_connect? ( ~dev-python/AIOAladdinConnect-0.1.46[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.4.2[${PYTHON_USEDEP}] )
almond? ( ~dev-python/pyalmond-0.0.2[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-2021.11.0[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.9.7[${PYTHON_USEDEP}] )
ampio? ( ~dev-python/asmog-0.0.6[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.67[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
anel_pwrctrl? ( ~dev-python/anel-pwrctrl-homeassistant-0.0.1[${PYTHON_USEDEP}] )
anthemav? ( ~dev-python/anthemav-1.4.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.7.2[${PYTHON_USEDEP}] )
apcupsd? ( ~dev-python/apcaccess-0.0.13[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.10.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-1.0.0[${PYTHON_USEDEP}] )
aquostv? ( ~dev-python/sharp_aquos_rc-0.3.2[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.12.0[${PYTHON_USEDEP}] )
aruba? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.4.0[${PYTHON_USEDEP}] )
aten_pe? ( ~dev-python/atenpdu-0.3.2[${PYTHON_USEDEP}] )
atome? ( ~dev-python/pyAtome-0.1.1[${PYTHON_USEDEP}] )
august? ( ~dev-python/yalexs-1.2.6[${PYTHON_USEDEP}] )
aurora_abb_powerone? ( ~dev-python/aurorapy-0.2.7[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.5.1[${PYTHON_USEDEP}] )
avion? ( ~dev-python/avion-0.10[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.2.4[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-44[${PYTHON_USEDEP}] )
backup? ( ~dev-python/securetar-2022.2.0[${PYTHON_USEDEP}] )
baidu? ( ~dev-python/baidu-aip-1.6.6.0[${PYTHON_USEDEP}] )
beewi_smartclim? ( ~dev-python/beewi-smartclim-0.0.10[${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-2.0.2[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.19.2[${PYTHON_USEDEP}] )
blinksticklight? ( ~dev-python/BlinkStick-1.2.0[${PYTHON_USEDEP}] )
blinkt? ( ~dev-python/blinkt-0.1.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.18.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.1.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.6.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-0.3.4[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.24.0[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
bluetooth_tracker? ( ~dev-python/bt-proximity-0.2.1[${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}] ~dev-python/bme280spi-0.2.0[${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.10.4[${PYTHON_USEDEP}] )
bond? ( ~dev-python/bond-async-0.1.22[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/pybravia-0.2.3[${PYTHON_USEDEP}] )
broadlink? ( ~dev-python/broadlink-0.18.2[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-2.0.0[${PYTHON_USEDEP}] )
brottsplatskartan? ( ~dev-python/brottsplatskartan-0.0.1[${PYTHON_USEDEP}] )
brunt? ( ~dev-python/brunt-1.2.0[${PYTHON_USEDEP}] )
bsblan? ( ~dev-python/bsblan-0.5.0[${PYTHON_USEDEP}] )
bt_home_hub_5? ( ~dev-python/bthomehub5-devicelist-0.1.1[${PYTHON_USEDEP}] )
bt_smarthub? ( ~dev-python/btsmarthub-devicelist-0.2.3[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.9.1[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
canary? ( ~dev-python/py-canary-0.5.3[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-12.1.4[${PYTHON_USEDEP}] )
cisco_mobility_express? ( ~dev-python/ciscomobilityexpress-0.3.9[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.7.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-104[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-1.0.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.10.11[${PYTHON_USEDEP}] )
deutsche_bahn? ( ~dev-python/schiene-0.23[${PYTHON_USEDEP}] )
devolo_home_control? ( ~dev-python/devolo-home-control-api-0.18.2[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.3[${PYTHON_USEDEP}] )
dhcp? ( ~net-analyzer/scapy-2.4.5 ~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}] )
dht? ( ~dev-python/adafruit-circuitpython-dht-3.7.0[${PYTHON_USEDEP}] ~dev-python/RPi-GPIO-0.7.1_alpha4[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/nextcord-2.0.0_alpha8[${PYTHON_USEDEP}] )
discovery? ( ~dev-python/netdisco-3.0.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}] )
doorbird? ( ~dev-python/DoorBirdPy-2.1.0[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3.2[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.46[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.4[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.14[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.1[${PYTHON_USEDEP}] )
enphase_envoy? ( ~dev-python/envoy-reader-0.20.1[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.5.22[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-11.1.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
evohome? ( ~dev-python/evohome-async-0.3.15[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.0.2[${PYTHON_USEDEP}] )
fibaro? ( ~dev-python/fiblary3-0.1.8[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.6.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-2.0.2[${PYTHON_USEDEP}] )
flux_led? ( ~dev-python/flux-led-0.28.32[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-1.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fortios? ( ~dev-python/fortiosapi-1.0.5[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/freebox-api-0.0.10[${PYTHON_USEDEP}] )
fritz? ( ~dev-python/fritzconnection-1.10.3[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
fritzbox? ( ~dev-python/pyfritzhome-0.6.7[${PYTHON_USEDEP}] )
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.10.3[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.4.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-ha-0.1.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-2.1.0[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.2.4[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/ismartgate-4.0.4[${PYTHON_USEDEP}] )
greeneye_monitor? ( ~dev-python/greeneye-monitor-3.0.3[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-1.2.2[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-2022.7.0[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.9[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.7.2[${PYTHON_USEDEP}] )
here_travel_time? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/ha-HAP-python-4.5.2[${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}] )
homekit_controller? ( ~dev-python/aiohomekit-2.0.1[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.77[${PYTHON_USEDEP}] )
homematicip_cloud? ( ~dev-python/homematicip-1.0.7[${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-4.5.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.4.1[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] ~dev-python/ihcsdk-2.7.6[${PYTHON_USEDEP}] )
imap? ( ~dev-python/aioimaplib-1.0.1[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.4[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.2.0[${PYTHON_USEDEP}] ~dev-python/insteon-frontend-home-assistant-0.2.0[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.8.0[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-3.0.5[${PYTHON_USEDEP}] )
ipp? ( ~dev-python/pyipp-0.11.0[${PYTHON_USEDEP}] )
islamic_prayer_times? ( ~dev-python/prayer-times-calculator-0.0.6[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.10.4[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.9[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.16[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-1.1.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
lifx? ( ~dev-python/aiolifx-0.8.5[${PYTHON_USEDEP}] ~dev-python/aiolifx-effects-0.2.2[${PYTHON_USEDEP}] )
linode? ( ~dev-python/linode-api-4.1.9_beta1[${PYTHON_USEDEP}] )
litterrobot? ( ~dev-python/pylitterbot-2022.9.6[${PYTHON_USEDEP}] )
loopenergy? ( ~dev-python/pyloopenergy-0.2.1[${PYTHON_USEDEP}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.11[${PYTHON_USEDEP}] )
luftdaten? ( ~dev-python/luftdaten-0.7.2[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
media_extractor? ( ~net-misc/youtube-dl-2021.12.17 )
meteo_france? ( ~dev-python/meteofrance-api-1.0.2[${PYTHON_USEDEP}] )
mfi? ( ~dev-python/mficlient-0.3.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-2.5.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
nad? ( ~dev-python/nad-receiver-0.3.0[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.5[${PYTHON_USEDEP}] )
netatmo? ( ~dev-python/pyatmo-7.1.1[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-1.0.1[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.5.2[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.4.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.8[${PYTHON_USEDEP}] )
onkyo? ( ~dev-python/onkyo-eiscp-1.2.7[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
opengarage? ( ~dev-python/open-garage-0.2.0[${PYTHON_USEDEP}] )
opensensemap? ( ~dev-python/opensensemap-api-0.2.0[${PYTHON_USEDEP}] )
openweathermap? ( ~dev-python/pyowm-3.2.0[${PYTHON_USEDEP}] )
opnsense? ( ~dev-python/pyopnsense-0.2.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
panasonic_viera? ( ~dev-python/panasonic-viera-0.3.6[${PYTHON_USEDEP}] )
philips_js? ( ~dev-python/ha-philipsjs-2.9.0[${PYTHON_USEDEP}] )
pilight? ( ~dev-python/pilight-0.1.1[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
pi_hole? ( ~dev-python/hole-0.7.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.0[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/plugwise-0.21.3[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.3.18[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-5.2[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
rachio? ( ~dev-python/RachioPy-1.0.3[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
rainbird? ( ~dev-python/pyrainbird-0.4.3[${PYTHON_USEDEP}] )
rainmachine? ( ~dev-python/regenmaschine-2022.9.2[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.4.41[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.17.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.5[${PYTHON_USEDEP}] )
roon? ( ~dev-python/roonapi-0.1.1[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-2.0.2[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.28.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-2022.7.1[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/aioskybell-22.7.0[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.6.12[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.29[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartapp-0.3.3[${PYTHON_USEDEP}] ~dev-python/pysmartthings-0.7.6[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.15[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
solax? ( ~dev-python/solax-0.3.0[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.11.0[${PYTHON_USEDEP}] )
sonos? ( ~dev-python/soco-0.28.0[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.20.0[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.4.41[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.6.0[${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/py-synologydsm-api-1.0.8[${PYTHON_USEDEP}] )
systemmonitor? ( ~dev-python/psutil-5.9.2[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.1[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.18.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.1[${PYTHON_USEDEP}] )
totalconnect? ( ~dev-python/total-connect-client-2022.10[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuya-iot-py-sdk-0.6.6[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-39[${PYTHON_USEDEP}] )
unifi_direct? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.12.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/velbus-aio-2022.10.2[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.20[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.13[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-2.17.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.57[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${PYTHON_USEDEP}] )
waze_travel_time? ( ~dev-python/WazeRouteCalculator-0.14[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiowebostv-0.2.1[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.16[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.9[${PYTHON_USEDEP}] ~dev-python/python-wink-1.10.5[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.4.0[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.14.1[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.16[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xiaomi_aqara? ( ~dev-python/PyXiaomiGateway-0.14.1[${PYTHON_USEDEP}] )
xiaomi_miio? ( ~dev-python/construct-2.10.56[${PYTHON_USEDEP}] ~dev-python/micloud-0.5[${PYTHON_USEDEP}] ~dev-python/python-miio-0.5.12[${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.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.4[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.7.10[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.31.2[${PYTHON_USEDEP}] )
yi? ( ~dev-python/aioftp-0.21.3[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/python-zeroconf-0.39.1[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.4.8[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.2[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.82[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.51.3[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.1[${PYTHON_USEDEP}] )
zhong_hong? ( ~dev-python/zhong-hong-hvac-1.0.9[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.5.2[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.43.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.12.5[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-6.4.4[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.981[${PYTHON_USEDEP}]
<dev-python/pip-22.1.0
~dev-vcs/pre-commit-2.20.0
~dev-python/pylint-2.15.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezegun-0.4.2[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.1.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.19.2[${PYTHON_USEDEP}]
~dev-python/stdlib-list-0.7.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
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/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -1,489 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 readme.gentoo-r1 systemd
MY_PN=homeassistant
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_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S="${WORKDIR}/core-${MY_PV}"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
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 awair axis backup baidu beewi_smartclim bh1750 bitcoin bizkaibus blackbird blebox blink blinksticklight blinkt blockchain bluetooth bluetooth_le_tracker bluetooth_tracker bme280 bme680 bmw_connected_drive bond braviatv broadlink brother brottsplatskartan brunt bsblan bt_home_hub_5 bt_smarthub buienradar +caldav camera canary cast cisco_mobility_express cli co2signal compensation coronavirus daikin darksky deconz delijn denonavr deutsche_bahn devolo_home_control dexcom dhcp dht discogs discord discovery dlna_dmr dlna_dms doorbird dunehd +dwd_weather_warnings dynalite dyson ecobee emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights evohome ffmpeg fibaro file flume flunearyou flux_led foobot forecast_solar 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 homekit_controller homematic homematicip_cloud hp_ilo http hue hydrawise iaqualink ihc imap incomfort influxdb insteon intesishome ipma ipp islamic_prayer_times jewish_calendar joaoapps_join kef knx kodi kraken lifx linode litterrobot loopenergy luci luftdaten +mariadb maxcube media_extractor meteo_france mfi miflora mikrotik mitemp_bt +mobile_app modbus +mosquitto +mqtt myq mysql nad nederlandse_spoorwegen netatmo netdata +notify_events nuki nws nx584 octoprint onkyo onvif opengarage opensensemap openweathermap opnsense +otp owntracks panasonic_viera philips_js pilight +ping pi_hole +plex plugwise poolsense powerwall ps4 +python_script qnap qvr_pro rachio radio_browser rainbird rainmachine +recorder rejseplanen +rest ring roku roomba roon samsungtv +scrape season shelly shodan signal_messenger simplisafe skybell sma smappee smarthab smartthings +snmp socat solax somfy sonos speedtestdotnet +spotify +sql squeezebox +ssl statsd synology_dsm systemd systemmonitor tankerkoenig tasmota tellduslive tesla test tile tomorrowio toon totalconnect tplink tuya unifi unifi_direct upnp utility_meter vallox velbus velux vera +version vicare vizio +wake_on_lan 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 zeroconf zerproc zha zhong_hong zoneminder +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.8 dev-lang/python:3.9 dev-lang/python:3.10 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant-min
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.8.1[${PYTHON_USEDEP}]
~dev-python/bleak-0.19.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.6.0[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-0.3.6[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.2.0[${PYTHON_USEDEP}]
~dev-python/cryptography-38.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.60.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.48.0[${PYTHON_USEDEP}]
~dev-python/grpcio-1.48.0[${PYTHON_USEDEP}]
~dev-python/h11-0.12.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.56.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.6.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20221031.0[${PYTHON_USEDEP}]
~dev-python/httpcore-0.15.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.0[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.1[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.2.0[${PYTHON_USEDEP}]
<dev-python/pip-22.1.0
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.1[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.4.5
~dev-python/sqlalchemy-1.4.42[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.5.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/python-zeroconf-0.39.4[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
# auth/mfa_modules/totp.py:REQUIREMENTS = ["pyotp==2.7.0", "PyQRCode==1.2.1"]
# scripts/check_config.py:REQUIREMENTS = ("colorlog==6.6.0",)
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
>=dev-python/multidict-5.2.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.2.0[${PYTHON_USEDEP}] )
accuweather? ( ~dev-python/accuweather-0.4.0[${PYTHON_USEDEP}] )
acer_projector? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] )
acmeda? ( ~dev-python/aiopulse-0.4.3[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.5.1[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aftership? ( ~dev-python/pyaftership-21.11.0[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.7.0[${PYTHON_USEDEP}] )
aladdin_connect? ( ~dev-python/AIOAladdinConnect-0.1.46[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.4.2[${PYTHON_USEDEP}] )
almond? ( ~dev-python/pyalmond-0.0.2[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-2021.11.0[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.9.7[${PYTHON_USEDEP}] )
ampio? ( ~dev-python/asmog-0.0.6[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.69[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
anel_pwrctrl? ( ~dev-python/anel-pwrctrl-homeassistant-0.0.1[${PYTHON_USEDEP}] )
anthemav? ( ~dev-python/anthemav-1.4.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.7.2[${PYTHON_USEDEP}] )
apcupsd? ( ~dev-python/apcaccess-0.0.13[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.10.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-1.1.0[${PYTHON_USEDEP}] )
aquostv? ( ~dev-python/sharp_aquos_rc-0.3.2[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.12.0[${PYTHON_USEDEP}] )
aruba? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.4.0[${PYTHON_USEDEP}] )
aten_pe? ( ~dev-python/atenpdu-0.3.2[${PYTHON_USEDEP}] )
atome? ( ~dev-python/pyAtome-0.1.1[${PYTHON_USEDEP}] )
august? ( ~dev-python/yalexs-1.2.6[${PYTHON_USEDEP}] )
aurora_abb_powerone? ( ~dev-python/aurorapy-0.2.7[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.5.1[${PYTHON_USEDEP}] )
avion? ( ~dev-python/avion-0.10[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.2.4[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-44[${PYTHON_USEDEP}] )
backup? ( ~dev-python/securetar-2022.2.0[${PYTHON_USEDEP}] )
baidu? ( ~dev-python/baidu-aip-1.6.6.0[${PYTHON_USEDEP}] )
beewi_smartclim? ( ~dev-python/beewi-smartclim-0.0.10[${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-2.1.3[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.19.2[${PYTHON_USEDEP}] )
blinksticklight? ( ~dev-python/BlinkStick-1.2.0[${PYTHON_USEDEP}] )
blinkt? ( ~dev-python/blinkt-0.1.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.19.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.8.1[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.6.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-0.3.6[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.60.0[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
bluetooth_tracker? ( ~dev-python/bt-proximity-0.2.1[${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}] ~dev-python/bme280spi-0.2.0[${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.10.4[${PYTHON_USEDEP}] )
bond? ( ~dev-python/bond-async-0.1.22[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/pybravia-0.2.3[${PYTHON_USEDEP}] )
broadlink? ( ~dev-python/broadlink-0.18.2[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-2.0.0[${PYTHON_USEDEP}] )
brottsplatskartan? ( ~dev-python/brottsplatskartan-0.0.1[${PYTHON_USEDEP}] )
brunt? ( ~dev-python/brunt-1.2.0[${PYTHON_USEDEP}] )
bsblan? ( ~dev-python/python-bsblan-0.5.5[${PYTHON_USEDEP}] )
bt_home_hub_5? ( ~dev-python/bthomehub5-devicelist-0.1.1[${PYTHON_USEDEP}] )
bt_smarthub? ( ~dev-python/btsmarthub-devicelist-0.2.3[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.9.1[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
canary? ( ~dev-python/py-canary-0.5.3[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-12.1.4[${PYTHON_USEDEP}] )
cisco_mobility_express? ( ~dev-python/ciscomobilityexpress-0.3.9[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.8.0[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-105[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-1.0.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.10.12[${PYTHON_USEDEP}] )
deutsche_bahn? ( ~dev-python/schiene-0.23[${PYTHON_USEDEP}] )
devolo_home_control? ( ~dev-python/devolo-home-control-api-0.18.2[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.3[${PYTHON_USEDEP}] )
dhcp? ( ~net-analyzer/scapy-2.4.5 ~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}] )
dht? ( ~dev-python/adafruit-circuitpython-dht-3.7.0[${PYTHON_USEDEP}] ~dev-python/RPi-GPIO-0.7.1_alpha4[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/nextcord-2.0.0_alpha8[${PYTHON_USEDEP}] )
discovery? ( ~dev-python/netdisco-3.0.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}] )
doorbird? ( ~dev-python/DoorBirdPy-2.1.0[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3.2[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.46[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.4[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.14[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.1[${PYTHON_USEDEP}] )
enphase_envoy? ( ~dev-python/envoy-reader-0.20.1[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.5.22[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-11.4.2[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
evohome? ( ~dev-python/evohome-async-0.3.15[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.0.2[${PYTHON_USEDEP}] )
fibaro? ( ~dev-python/fiblary3-0.1.8[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.6.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-2.0.2[${PYTHON_USEDEP}] )
flux_led? ( ~dev-python/flux-led-0.28.32[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-1.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fortios? ( ~dev-python/fortiosapi-1.0.5[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/freebox-api-1.0.1[${PYTHON_USEDEP}] )
fritz? ( ~dev-python/fritzconnection-1.10.3[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
fritzbox? ( ~dev-python/pyfritzhome-0.6.7[${PYTHON_USEDEP}] )
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.10.3[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.4.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-ha-0.1.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-2.1.0[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/ismartgate-4.0.4[${PYTHON_USEDEP}] )
greeneye_monitor? ( ~dev-python/greeneye-monitor-3.0.3[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-1.2.3[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-2022.7.0[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.9[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.7.2[${PYTHON_USEDEP}] )
here_travel_time? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/ha-HAP-python-4.5.2[${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}] )
homekit_controller? ( ~dev-python/aiohomekit-2.2.11[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.77[${PYTHON_USEDEP}] )
homematicip_cloud? ( ~dev-python/homematicip-1.0.7[${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-4.5.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.5.0[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] ~dev-python/ihcsdk-2.7.6[${PYTHON_USEDEP}] )
imap? ( ~dev-python/aioimaplib-1.0.1[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.4[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.2.0[${PYTHON_USEDEP}] ~dev-python/insteon-frontend-home-assistant-0.2.0[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.8.0[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-3.0.5[${PYTHON_USEDEP}] )
ipp? ( ~dev-python/pyipp-0.12.1[${PYTHON_USEDEP}] )
islamic_prayer_times? ( ~dev-python/prayer-times-calculator-0.0.6[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.10.4[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.9[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.16[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-1.2.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
lifx? ( ~dev-python/aiolifx-0.8.6[${PYTHON_USEDEP}] ~dev-python/aiolifx-effects-0.3.0[${PYTHON_USEDEP}] ~dev-python/aiolifx-themes-0.2.0[${PYTHON_USEDEP}] )
linode? ( ~dev-python/linode-api-4.1.9_beta1[${PYTHON_USEDEP}] )
litterrobot? ( ~dev-python/pylitterbot-2022.10.2[${PYTHON_USEDEP}] )
loopenergy? ( ~dev-python/pyloopenergy-0.2.1[${PYTHON_USEDEP}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.11[${PYTHON_USEDEP}] )
luftdaten? ( ~dev-python/luftdaten-0.7.2[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
media_extractor? ( ~net-misc/youtube-dl-2021.12.17 )
meteo_france? ( ~dev-python/meteofrance-api-1.1.0[${PYTHON_USEDEP}] )
mfi? ( ~dev-python/mficlient-0.3.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-2.5.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
nad? ( ~dev-python/nad-receiver-0.3.0[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.5[${PYTHON_USEDEP}] )
netatmo? ( ~dev-python/pyatmo-7.3.0[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-1.0.1[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.5.2[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.4.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.9[${PYTHON_USEDEP}] )
onkyo? ( ~dev-python/onkyo-eiscp-1.2.7[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
opengarage? ( ~dev-python/open-garage-0.2.0[${PYTHON_USEDEP}] )
opensensemap? ( ~dev-python/opensensemap-api-0.2.0[${PYTHON_USEDEP}] )
openweathermap? ( ~dev-python/pyowm-3.2.0[${PYTHON_USEDEP}] )
opnsense? ( ~dev-python/pyopnsense-0.2.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.7.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
panasonic_viera? ( ~dev-python/panasonic-viera-0.3.6[${PYTHON_USEDEP}] )
philips_js? ( ~dev-python/ha-philipsjs-2.9.0[${PYTHON_USEDEP}] )
pilight? ( ~dev-python/pilight-0.1.1[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
pi_hole? ( ~dev-python/hole-0.7.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.0[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/plugwise-0.25.3[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.3.18[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-5.2[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
rachio? ( ~dev-python/RachioPy-1.0.3[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
rainbird? ( ~dev-python/pyrainbird-0.4.3[${PYTHON_USEDEP}] )
rainmachine? ( ~dev-python/regenmaschine-2022.10.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.4.42[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.17.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.5[${PYTHON_USEDEP}] )
roon? ( ~dev-python/roonapi-0.1.1[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-4.1.2[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.28.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-2022.7.1[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/aioskybell-22.7.0[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.7.2[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.29[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartapp-0.3.3[${PYTHON_USEDEP}] ~dev-python/pysmartthings-0.7.6[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.15[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
solax? ( ~dev-python/solax-0.3.0[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.11.0[${PYTHON_USEDEP}] )
sonos? ( ~dev-python/soco-0.28.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.20.0[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.4.42[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.6.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/py-synologydsm-api-1.0.8[${PYTHON_USEDEP}] )
systemmonitor? ( ~dev-python/psutil-5.9.3[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.1[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.18.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.1[${PYTHON_USEDEP}] )
totalconnect? ( ~dev-python/total-connect-client-2022.10[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuya-iot-py-sdk-0.6.6[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-41[${PYTHON_USEDEP}] )
unifi_direct? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.12.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/velbus-aio-2022.10.4[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.20[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.13[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-2.17.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.57[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${PYTHON_USEDEP}] )
waze_travel_time? ( ~dev-python/WazeRouteCalculator-0.14[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiowebostv-0.2.1[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.16[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.9[${PYTHON_USEDEP}] ~dev-python/python-wink-1.10.5[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.4.0[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.14.1[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.16[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xiaomi_aqara? ( ~dev-python/PyXiaomiGateway-0.14.1[${PYTHON_USEDEP}] )
xiaomi_miio? ( ~dev-python/construct-2.10.56[${PYTHON_USEDEP}] ~dev-python/micloud-0.5[${PYTHON_USEDEP}] ~dev-python/python-miio-0.5.12[${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.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.4[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.7.10[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.32.1[${PYTHON_USEDEP}] )
yi? ( ~dev-python/aioftp-0.21.3[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/python-zeroconf-0.39.4[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.4.8[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.2[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.84[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.51.5[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.1[${PYTHON_USEDEP}] )
zhong_hong? ( ~dev-python/zhong-hong-hvac-1.0.9[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.5.2[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.43.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.12.12[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-6.4.4[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.982[${PYTHON_USEDEP}]
<dev-python/pip-22.1.0
~dev-vcs/pre-commit-2.20.0
~dev-python/pylint-2.15.5[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezegun-0.4.2[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.1.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.19.2[${PYTHON_USEDEP}]
~dev-python/stdlib-list-0.7.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
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/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest