update homeassistant-2021.9.2

This commit is contained in:
Andreas Billmeier 2021-09-04 09:50:36 +02:00 committed by Andreas Billmeier
parent 9c5cf93980
commit 801ab407ed
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
9 changed files with 1699 additions and 16 deletions

View File

@ -18,7 +18,7 @@ PyPI/GitHub/Sourceforge).
## 2020/09/25: Publishing new Main Ebuilds
Since homeassistant-0.115.3 the **Main Ebuild** is released in three different stages of expansion, only *one* of them can be installed. These three only differ in the amount of USE Flags they hold. If you are new here, start with app-misc/homeassistant-min
Since homeassistant-0.115.3 the **Main Ebuild** is released in three different stages of expansion, only *one* of them can be installed. These three only differ in the amount of USE Flags they hold. If you are new here, start with app-misc/homeassistant-min.
### `app-misc/homeassistant-min`
New Ebuild, generated for `0.115.3` and later, intended for production use, these are the USE Flags I use in production myself. These all will compile fine and are extensively tested in every release, it currently holds **75** USE Flags.
@ -32,6 +32,8 @@ The Ebuild we have since `0.97.0`, ss soon as I know that at least one user is a
WARNING: This one currently breaks (caused by shell limitations) emerge with an 'Argument list too long' error. It compiles with a [kernel hack](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/190#issuecomment-1002). Thanks to @gcampagnoli.
This Ebuild contains USE Flags for (nearly) all components of Home Assistant with external dependencies. Most components compile, but these are too many (for me) to run tests for all of them on a regular schedule. It holds **784** USE Flags.
A list of all components aka USEFlags is generated with every release [DOMAINTABLE.md](DOMAINTABLE.md)
### Commons for all three Main Ebuilds
Some core dependecies are pulled in from suggested USE Flags `(+)`. You should have a *good reason* to deselect suggested USE Flags. Other components are known to have issues, these are deselected `(-)` in the Ebuilds. Perhaps they compile, perhaps they run. Normally, they have dependencies which interfere with very common libraries. The suggest/deselect prefixes are the same in all three expansion stages.
@ -240,11 +242,10 @@ $ eix --installed-with-use python_targets_python3_8
$ diff <(equery h python_targets_python3_8) <(equery h python_targets_python3_9)
```
# Some background
# My VMs/boxes and Stuff I use
## My environment
I run Home Assistant on a virtual X64 box, 4GB RAM, 3 Cores of an older Xeon E5-2630 v2 @ 2.60GHz and 30GB Disk from a small FC SAN (HP MSA). Recorder writes to a local mariadb socket, moved this from my 'big' mariadb machine because of some performance issues. Influxdb and Graphana are also on the same box. I cannot imagine how someone can run this stuff an a Raspberry Pi. You'll find a list of the integrations I use myself on my production box [here](https://github.com/onkelbeh/HomeAssistantRepository/blob/master/etc/portage/package.use/60_homeassistant).
Also, a list of all components aka USEFlags is generated with every release (https://git.edevau.net/onkelbeh/HomeAssistantRepository/src/branch/master/DOMAINTABLE.md)
## Python 3.9 Support
My production box now runs Python 3.9.6_p1 (29.8.2021). Most modules are OK with 3.9 support, I will upgrade them if they are touched, if you find your favorite components missing, just open a ticket and drop me a list. Also ESPHome-2021.8.2 runs (with a small hack in platformio). During compile tests, I have all available tests turned on.
@ -288,6 +289,8 @@ Along MQTT I am actively using (and therefore testing) the following platforms/c
* Axis Camera (1, a few more to come)
* yr.no weather (best reliable forecast you can get for low money) (https://www.yr.no/) (removed by YR's request in 2021)
# Some background
## Why I don't (want to) use a virtual environment for Home Assistant
On Gentoo, we have a very powerful package manager. So I (now) try to put everything Home Assistant uses into Ebuilds.
@ -371,9 +374,9 @@ There are 1976 Ebuilds in total, 1964 of them have in total 1979 (36 different)
|CC0-1.0|1|
|GPL-1|1|
(Last counted: 03/09/2021)
(Last counted: 04/09/2021)
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: 03/09/2021
Last updated: 04/09/2021

View File

@ -16,6 +16,7 @@ DIST homeassistant-2021.8.8.tar.gz 10387233 BLAKE2B 2cdb4d7aefbea1172f43203d189e
DIST homeassistant-2021.9.0.tar.gz 11500598 BLAKE2B 9aa3766f9e207c0b0cf255c177540ca0599499c98fcb19c79ba9e7f1c9b2614f24b26c5e9e2c6c739c93fcdc87d38a92cdf41c7ed38d763dcada3f1a0a79ecd3 SHA512 5fd91efe73ac84925393e30d0988da68c8b7de560f42e008a400ed4df1a6871f8ff330887a890b9ff96b498c552ef4ced6e00b0e63852a5d15c060bb3fea237b
DIST homeassistant-2021.9.0b6.tar.gz 11499905 BLAKE2B df0c62f9f0f1e70f644aef450ee1681d8ceefb2847290969c4b6542725bc3320062c9db11687afbc2d30a5ed52c45c09825e1878217af34fd0e6bd9a20620e77 SHA512 7b394aea33b1480c4eefb4ec4cdde0b69a8df2ab19837d405b4b8fafb428a56ee128d1796560e26d4015861e83843a9c83d809171a7291025141fbd6169f5d35
DIST homeassistant-2021.9.1.tar.gz 11501767 BLAKE2B 84351f0d97117f46f335080cb88909754f66b4b607cef8c9d9fd3020f87db7a23ae36c8b7de598a1e39b02613f3d2d65c309805dc104c5e33652f420a263545b SHA512 dcb6c82b06b3d303d729ff7dd1f7ab0e982dc673a643b761c2f8d05edc62828c644de64a78ccca75cabc1751bd5b0ef90f573cf22d370f36c336993a95218340
DIST homeassistant-2021.9.2.tar.gz 11502289 BLAKE2B a8379f8d17cc1a1f16f787f2688ee2f2f888d25a3b4db6a729b15b80f74316b9c6c40dcf4538b7eea4ca5afcd072810c62bfcdd5270bc61644ccd4135794955d SHA512 32bb9a21ff04d8437bf9287484c78405fa222e4e8677333c298e2d9e2f5007dabf6028c5618a68eaa212db1b82f00fa3c925fe15e0a117c98782877804bbf588
EBUILD homeassistant-full-2021.6.6-r1.ebuild 65857 BLAKE2B 0976c096e093e0d4abc3115935aab01cb14792ecf2de45f2adc40e10f0e4a0568ff7d591fc6096f173099a3ce89f58fea10b78f7e5b2a23a4aecbde50f4b64c4 SHA512 3a23ad13d2314efeba48bf361730136a2b92fbe1b3d622137ec88b7b30c1882e959e428a85c81261fe3bc1b92c7bcf53f7d8385e39fcfc9cce0cc20c7f48872c
EBUILD homeassistant-full-2021.7.4.ebuild 65712 BLAKE2B 15819144e89f7dd138b8c1250a4bb8781e513ca6e4d5e298cefcbd2af648d052152024337d9937ac1ae144a951a280bcf1e9a17a7b32a522741b32d03cf635ac SHA512 7abe800d1295928609afae935cbbe019f717f73b717f5ebca760844b6a58b369493db6d0b85dcf4d4e25447aefe0d5259b3a3cfe13ddf602ce196b535934c4a3
EBUILD homeassistant-full-2021.8.6.ebuild 66075 BLAKE2B c0f426e63e48170346ee3a44cb7e933d6953cd44251d78d19f48949369fa185192c7df30156dcd7cf7f4ca9cbc863f5a30e40d82aebd31a269f9744f1318aeaa SHA512 98cb983a2e31491ec26df78847efb9387dd297bf068a0bed3e45b2e40b938c2ea4dffe28bf0772803b3c7d58b1eee6e99462275c2f8323a474bcb6920e16ed61
@ -24,5 +25,6 @@ EBUILD homeassistant-full-2021.8.8.ebuild 66171 BLAKE2B 999f2f6397c4b7aeaf58bcae
EBUILD homeassistant-full-2021.9.0.ebuild 66806 BLAKE2B a960ed327a08a88ded84bc55e0bbb499f6538d404cd187b01908393389778e6a1036a8647ee0bc499c613cdc25c4dd482d1a949521ba9b18f77b243a91aaf0d1 SHA512 de283da35395bdefe47da2746687464d5db7e7ff93550563593539beb5353f629ecc69239e2d971947ea603d3830b346f663269ee759d167ccdacce4d85c6633
EBUILD homeassistant-full-2021.9.0_beta6.ebuild 66812 BLAKE2B 43a9dd7d31962ccc4861fedeba4839e42a726ba6e0513e614b6ab4ec2e554e679997aa50d2c608f15afa7eda37666f2f3a584391659cbadf5dc076e048aa6e90 SHA512 4b7bb74778224e6322c3b61e6af10656a1ef8a3bcbc4d9b9fd4827a5ac340718196a2a79636bc0e71d7fdd96f096f58d264cedb0d99c90dbe52eea3b7ebd7e0d
EBUILD homeassistant-full-2021.9.1.ebuild 67056 BLAKE2B ec82c2acd877ae674d92c727392510096a4cc23e9f588688e5555fc442e8085d361b3c29acd66191194c0aa0e8dc3cdfba8f800b1e52f93c253328ece7da26fe SHA512 a7de4a1b875c0fa8093f6fd08084b67955096dff7f817519c87413dcdd780a75f105020afea1bcd458b70b82f211b9a955baffdd39842665c01575fb286e04af
EBUILD homeassistant-full-2021.9.2.ebuild 67056 BLAKE2B ec82c2acd877ae674d92c727392510096a4cc23e9f588688e5555fc442e8085d361b3c29acd66191194c0aa0e8dc3cdfba8f800b1e52f93c253328ece7da26fe SHA512 a7de4a1b875c0fa8093f6fd08084b67955096dff7f817519c87413dcdd780a75f105020afea1bcd458b70b82f211b9a955baffdd39842665c01575fb286e04af
EBUILD homeassistant-full-9999.ebuild 67062 BLAKE2B 614e74ff342525d6eea08e7ffde893f2bed1ca94762e70fc55c62fb0920c544ea76124c0657a43e4bf0758695e5700d88f4f44d276dfa88c458ef6528cf78dcd SHA512 7ea4efd51c52b4f7fcdaa408cedf1117aff58277a7974c45992cee5caba43912c2f29c829df3c6017ab34b4fd071e7996de5cd75934d50f7969c09d256a1a349
MISC metadata.xml 72298 BLAKE2B 729cd419c06ca3082bea36c62d09813dc2e0b8777e06e7339827acf2bb7cd8377581e3bf260b9b719c0627f0b02bf53f5e4a92560f5d91e9e35e77bc0594b001 SHA512 26f62dbbdc4db65e00b5339f07b3ed3c4a53a92292625e5f2659ac63cb4a7689a1fcd64b8706ae93759f2544fb324c565c66d58c09660d3620ba2ad60c8f159c
MISC metadata.xml 72885 BLAKE2B 1d1cc192bde56c1aabfc159df0467d93ca51ee7c127c9b74a55775058506e8d43876b97aa6885f00750ae115e5c406cab9ee30bbd6bbc9d9d60aec6e72faa8c9 SHA512 5e62eb94ab84f084f808a35a8cbce669453bef37aac8db4486517ae5bc1068158f6cf8703e9d62213c562b23477a4a41b4090a80c95f9edfdcc906ff4c8a7503

File diff suppressed because one or more lines are too long

View File

@ -27,7 +27,7 @@
<flag name="agent_dvr">Agent DVR is a free* software DVR solution</flag>
<flag name="airly">Uses the Airly web service as a source for air quality data</flag>
<flag name="airnow">AirNow web service as a source for air quality data</flag>
<flag name="airtouch4"/>
<flag name="airtouch4">control Ducted Air Conditioning Systems that are using the AirTouch 4 Controller</flag>
<flag name="airvisual">Airvisual sensor platform queries the AirVisual cloud API for air quality data</flag>
<flag name="aladdin_connect">The aladdin_connect cover platform lets you control Genie Aladdin Connect garage</flag>
<flag name="alarmdecoder">AlarmDecoder extended</flag>
@ -213,7 +213,7 @@
<flag name="firmata">Firmata can be used to add digital inputs and outputs to Home Assistant</flag>
<flag name="fitbit">The Fitbit sensor allows you to expose data from Fitbit to Home Assistant</flag>
<flag name="fixer">current exchange rate from Fixer.io using data from ECB</flag>
<flag name="fjaraskupan"/>
<flag name="fjaraskupan">Fjäråskupan allows you to control your Bluetooth equipped kitchen fan</flag>
<flag name="fleetgo">integrate your vehicles equipped with FleetGO hardware into Home Assistant</flag>
<flag name="flexit">Integrates Flexit Air Conditioning unit into Home Assistant</flag>
<flag name="flic">The flic platform allows you to receive click events from flic smart buttons</flag>
@ -321,7 +321,7 @@
<flag name="insteon">allowing linked INSTEON devices to be used</flag>
<flag name="intesishome">communications with IntesisHome Smart AC Controllers</flag>
<flag name="iota">IOTA is a new blockless distributed ledger</flag>
<flag name="iotawatt"/>
<flag name="iotawatt">Integration for the IoTaWatt Open WiFi Electricity Monitor</flag>
<flag name="iperf3">iperf3 sensor integration allows you to measure network bandwidth</flag>
<flag name="ipma">ipma weather platform</flag>
<flag name="ipp">read current data from your networked printer</flag>
@ -493,7 +493,7 @@
<flag name="ovo_energy">allows you to monitor your energy consumption data</flag>
<flag name="owntracks">OwnTracks: track your location and send it directly to Home Assistant</flag>
<flag name="ozw">Open Zwave MQTT</flag>
<flag name="p1_monitor"/>
<flag name="p1_monitor">The P1 Monitor integration integrates the P1 Monitor API platform</flag>
<flag name="panasonic_bluray">allows you to control a Panasonic Blu-Ray player</flag>
<flag name="panasonic_viera">panasonic_viera platform allows you to control a Panasonic Viera TV</flag>
<flag name="pandora">Pandora account, you can control it from Home Assistant with this media player</flag>
@ -702,7 +702,7 @@
<flag name="tplink_lte">allows you to observe and control TP-Link LTE routers</flag>
<flag name="traccar">uses GPS for tracking and has support for over 1500 different types of devices</flag>
<flag name="trackr">trackr platform allows you to detect presence using TrackR devices</flag>
<flag name="tractive"/>
<flag name="tractive">Tractive is an Austrian company develops real-time location trackers for pets</flag>
<flag name="tradfri">Control/observe IKEA Tradfri devices</flag>
<flag name="trafikverket_train">Retrieve train departure information from Trafikverket</flag>
<flag name="trafikverket_weatherstation">weather information provided by Trafikverket weather stations in Sweden</flag>
@ -726,8 +726,8 @@
<flag name="upc_connect">presence detection by looking at a Connect Box</flag>
<flag name="updater">binary sensor will check daily for new releases</flag>
<flag name="upnp">support UPnP/Internet Gateway Device (IGD) Protocol</flag>
<flag name="uptimerobot"/>
<flag name="usb"/>
<flag name="uptimerobot">provides binary sensors from your monitors from Uptime Robot</flag>
<flag name="usb">USB Discovery integration will watch the host for USB devices</flag>
<flag name="uscis">updates on your USCIS case using your case/receipt number</flag>
<flag name="usgs_earthquakes_feed">a GeoJSON feed provided by the U.S. Geological Survey</flag>
<flag name="uvc">allows you to integrate UniFi Video Camera (UVC) into Home Assistant</flag>
@ -786,7 +786,7 @@
<flag name="yeelight">allows you to control your Yeelight Wifi bulbs</flag>
<flag name="yeelightsunflower">allows you to control your Yeelight Sunflower light bulbs</flag>
<flag name="yi">allows you to utilize Yi Home Cameras within Home Assistant</flag>
<flag name="youless"/>
<flag name="youless">allows you to read the meter values from sensors created by YouLess</flag>
<flag name="zabbix">integration to connect to a Zabbix monitoring instance via the Zabbix API</flag>
<flag name="zengge">Python API for controlling Zengge LED bulbs</flag>
<flag name="zeroconf">will scan the network for supported devices and services</flag>

View File

@ -16,6 +16,7 @@ DIST homeassistant-2021.8.8.tar.gz 10387233 BLAKE2B 2cdb4d7aefbea1172f43203d189e
DIST homeassistant-2021.9.0.tar.gz 11500598 BLAKE2B 9aa3766f9e207c0b0cf255c177540ca0599499c98fcb19c79ba9e7f1c9b2614f24b26c5e9e2c6c739c93fcdc87d38a92cdf41c7ed38d763dcada3f1a0a79ecd3 SHA512 5fd91efe73ac84925393e30d0988da68c8b7de560f42e008a400ed4df1a6871f8ff330887a890b9ff96b498c552ef4ced6e00b0e63852a5d15c060bb3fea237b
DIST homeassistant-2021.9.0b6.tar.gz 11499905 BLAKE2B df0c62f9f0f1e70f644aef450ee1681d8ceefb2847290969c4b6542725bc3320062c9db11687afbc2d30a5ed52c45c09825e1878217af34fd0e6bd9a20620e77 SHA512 7b394aea33b1480c4eefb4ec4cdde0b69a8df2ab19837d405b4b8fafb428a56ee128d1796560e26d4015861e83843a9c83d809171a7291025141fbd6169f5d35
DIST homeassistant-2021.9.1.tar.gz 11501767 BLAKE2B 84351f0d97117f46f335080cb88909754f66b4b607cef8c9d9fd3020f87db7a23ae36c8b7de598a1e39b02613f3d2d65c309805dc104c5e33652f420a263545b SHA512 dcb6c82b06b3d303d729ff7dd1f7ab0e982dc673a643b761c2f8d05edc62828c644de64a78ccca75cabc1751bd5b0ef90f573cf22d370f36c336993a95218340
DIST homeassistant-2021.9.2.tar.gz 11502289 BLAKE2B a8379f8d17cc1a1f16f787f2688ee2f2f888d25a3b4db6a729b15b80f74316b9c6c40dcf4538b7eea4ca5afcd072810c62bfcdd5270bc61644ccd4135794955d SHA512 32bb9a21ff04d8437bf9287484c78405fa222e4e8677333c298e2d9e2f5007dabf6028c5618a68eaa212db1b82f00fa3c925fe15e0a117c98782877804bbf588
EBUILD homeassistant-min-2021.6.6-r1.ebuild 12233 BLAKE2B 30ee78d7716dfab66d1072266eed74ad2b99009b9129c1923405fffb4eeb27a7cc541eabea41e6952f945106cf300412e4da522f0c08be7186abbe39701fdc0d SHA512 6cd35d171c71e30ee1dede4a1ef814c9f5987e6224faa670f1da1cd7055283a49fbe32b0dbcd17e77b8642d1a4d42829277df8a849741861da35ddc3beb78aa8
EBUILD homeassistant-min-2021.7.4.ebuild 12185 BLAKE2B 3221c25a9f0dd2824788561e1dac86925ca4ee3a5dd9136e4a5435a297f783fcea4226177f7c1995c6092264484ea627ae543d722ed72ab73f7ba2119a9d2d24 SHA512 1507c5088e9c705b2636f5114cd042b9050ae9c74279d37ec5cba6cbca4b0c5f43389e2831c4a0bd7c084b6c85329d6ba5c9312caf4f6f77b933b5a4fcf40228
EBUILD homeassistant-min-2021.8.6.ebuild 12279 BLAKE2B 54518f2405eb5fb186ad839872bdd0249ad0ed296d7f9b040198b9ca945b34fb68cb8904107e7cc6e733625dbcde3dad47797e6c963831be990577ffd8f86553 SHA512 08be6039757bcb1459e1373418c91e5199a02499e87281eeb4b7e95584253bd273b98ab9e4dad8e408314d2dc9409bc3c5d32db3ec0da621f03ab3c692021d8c
@ -24,4 +25,5 @@ EBUILD homeassistant-min-2021.8.8-r1.ebuild 12279 BLAKE2B 8deb7dde790bae8d164ac9
EBUILD homeassistant-min-2021.9.0.ebuild 12372 BLAKE2B ee00d4dbcdf88ef531a21d22d24cbbf1d1db4cd464d74d4e79b5f1cd4601e0e4ee153262b188d7609aae11cf326681f7a8343485545349e7308676d1f3a68197 SHA512 e75eb9d4275d98b9e502079fa8b0e0474135db4ab9e3077e5aab420991d632d7e99430dfa6de28c69ccbd42446b4ab09271eaf33bd4be17f5dfb1fcec4c88b87
EBUILD homeassistant-min-2021.9.0_beta6.ebuild 12314 BLAKE2B fdf119df746f3a538c87f041da9fab72d1ee5ad166b4d8cc67f854fe9e39167ae20c440f3a1a22633188a2632f0a6adcabd017d45218d9b7fc3383bf6b48b939 SHA512 9b7ee09ac453a157720619fdd543059a7e9caab7b09375825c45ad65a8be4dd79e629fe4de4944a1aa50d072c6cea85085660e3f01a3ab15c250f624359a77e5
EBUILD homeassistant-min-2021.9.1.ebuild 12372 BLAKE2B ee00d4dbcdf88ef531a21d22d24cbbf1d1db4cd464d74d4e79b5f1cd4601e0e4ee153262b188d7609aae11cf326681f7a8343485545349e7308676d1f3a68197 SHA512 e75eb9d4275d98b9e502079fa8b0e0474135db4ab9e3077e5aab420991d632d7e99430dfa6de28c69ccbd42446b4ab09271eaf33bd4be17f5dfb1fcec4c88b87
EBUILD homeassistant-min-2021.9.2.ebuild 12372 BLAKE2B ee00d4dbcdf88ef531a21d22d24cbbf1d1db4cd464d74d4e79b5f1cd4601e0e4ee153262b188d7609aae11cf326681f7a8343485545349e7308676d1f3a68197 SHA512 e75eb9d4275d98b9e502079fa8b0e0474135db4ab9e3077e5aab420991d632d7e99430dfa6de28c69ccbd42446b4ab09271eaf33bd4be17f5dfb1fcec4c88b87
MISC metadata.xml 6818 BLAKE2B 7c34bd7d39495698673ab0414b9591d343bddc4ca8a9e9bafa74e216db40f794b319d142ec1e20f76704474ba05b69df209478f6e1f2fc2f9cbe4ba659fac475 SHA512 f3f5ee6ba62239146ce17e337a1b4d35ff1c0d18c60bca74a2fae6140672f12a7ad2d248e3b6e19820a879d8601fed63a1fd36f21fba9c85546372f618455315

View File

@ -0,0 +1,256 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit readme.gentoo-r1 eutils distutils-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}.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 amd64-linux x86-linux"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth_le_tracker +caldav cast cli compensation coronavirus darksky +dwd_weather_warnings enigma2 esphome fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken maxcube mikrotik +mobile_app +mqtt myq mysensors +mysql +notify_events +otp owntracks ozw +ping +plex ps4 +python_script qnap qvr_pro +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +sql +ssl systemd systemmonitor tasmota test tile tplink tradfri +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zwave +zwave_js"
# 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.2[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.7.4_p0[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.20.0[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-21.4.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/backports-zoneinfo[${PYTHON_USEDEP}]' python3_8)
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.12.5[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
~dev-python/cryptography-3.3.2[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
~dev-python/emoji-1.2.0[${PYTHON_USEDEP}]
~dev-python/google-api-core-1.31.2[${PYTHON_USEDEP}]
~dev-python/google-cloud-pubsub-2.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-1.31.0[${PYTHON_USEDEP}]
>=dev-python/h11-0.12.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.46.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20210830.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.19.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/jinja-3.0.1[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.3.0[${PYTHON_USEDEP}]
~dev-python/pillow-8.2.0[${PYTHON_USEDEP}]
<dev-python/pip-20.3.0
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/pynacl-1.4.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
~dev-python/pyudev-0.22.0[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.25.1[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.4.5
~dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.12.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.6.3[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.36.2[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
# auth/mfa_modules/totp.py:REQUIREMENTS = ["pyotp==2.3.0", "PyQRCode==1.2.1"]
# scripts/check_config.py:REQUIREMENTS = ("colorlog==5.0.1",)
RDEPEND="${RDEPEND}
~dev-python/colorlog-5.0.1[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.2.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-5.0.9[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.0[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.60[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-0.8[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-44[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.7.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-9.2.0[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
compensation? ( ~dev-python/numpy-1.21.1[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.4[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-8.0.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.6.0[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-21.8.0[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.1.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-0.6.2[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.4[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.14.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-0.18.9[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.5[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] ~dev-python/emoji-1.2.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.3[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.21.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysql-connector-python[${PYTHON_USEDEP}] dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.3.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] )
ozw? ( ~dev-python/python-openzwave-mqtt-1.4.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.7.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.2.0[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-5.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.1[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-1.6.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.0.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.3[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-3.7.7.0[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.6.4[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.23.3[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.8.0[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.2.20[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-5.2.3[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.2[${PYTHON_USEDEP}] )
tradfri? ( ~dev-python/pytradfri-7.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-21.7.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.0.1[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.6.7[${PYTHON_USEDEP}] )
whois? ( ~dev-python/python-whois-0.7.3[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.11.2[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.9.1[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.36.2[${PYTHON_USEDEP}] )
zwave? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}] ~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/zwave-js-server-python-0.29.1[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-5.5[${PYTHON_USEDEP}]
~dev-python/jsonpickle-1.4.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.910[${PYTHON_USEDEP}]
~dev-python/pipdeptree-1.0.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-2.14.0
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pylint-2.10.2[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.12.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.4[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.2.1[${PYTHON_USEDEP}]
~dev-python/pytest-6.2.4[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.9.2[${PYTHON_USEDEP}]
~dev-python/responses-0.12.0[${PYTHON_USEDEP}]
~dev-python/respx-0.17.0[${PYTHON_USEDEP}]
~dev-python/stdlib-list-0.7.0[${PYTHON_USEDEP}]
~dev-python/tqdm-4.49.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
}

View File

@ -16,6 +16,7 @@ DIST homeassistant-2021.8.8.tar.gz 10387233 BLAKE2B 2cdb4d7aefbea1172f43203d189e
DIST homeassistant-2021.9.0.tar.gz 11500598 BLAKE2B 9aa3766f9e207c0b0cf255c177540ca0599499c98fcb19c79ba9e7f1c9b2614f24b26c5e9e2c6c739c93fcdc87d38a92cdf41c7ed38d763dcada3f1a0a79ecd3 SHA512 5fd91efe73ac84925393e30d0988da68c8b7de560f42e008a400ed4df1a6871f8ff330887a890b9ff96b498c552ef4ced6e00b0e63852a5d15c060bb3fea237b
DIST homeassistant-2021.9.0b6.tar.gz 11499905 BLAKE2B df0c62f9f0f1e70f644aef450ee1681d8ceefb2847290969c4b6542725bc3320062c9db11687afbc2d30a5ed52c45c09825e1878217af34fd0e6bd9a20620e77 SHA512 7b394aea33b1480c4eefb4ec4cdde0b69a8df2ab19837d405b4b8fafb428a56ee128d1796560e26d4015861e83843a9c83d809171a7291025141fbd6169f5d35
DIST homeassistant-2021.9.1.tar.gz 11501767 BLAKE2B 84351f0d97117f46f335080cb88909754f66b4b607cef8c9d9fd3020f87db7a23ae36c8b7de598a1e39b02613f3d2d65c309805dc104c5e33652f420a263545b SHA512 dcb6c82b06b3d303d729ff7dd1f7ab0e982dc673a643b761c2f8d05edc62828c644de64a78ccca75cabc1751bd5b0ef90f573cf22d370f36c336993a95218340
DIST homeassistant-2021.9.2.tar.gz 11502289 BLAKE2B a8379f8d17cc1a1f16f787f2688ee2f2f888d25a3b4db6a729b15b80f74316b9c6c40dcf4538b7eea4ca5afcd072810c62bfcdd5270bc61644ccd4135794955d SHA512 32bb9a21ff04d8437bf9287484c78405fa222e4e8677333c298e2d9e2f5007dabf6028c5618a68eaa212db1b82f00fa3c925fe15e0a117c98782877804bbf588
EBUILD homeassistant-2021.6.6-r1.ebuild 27387 BLAKE2B 0f8b94da37522ea13cc82587871aa6782b034d7004a3c44e6ecbacb23fdb4a24e7daefb529183af3d517b0eb8b79395dd8aaec5c667c4c45c6e5022790a52e97 SHA512 5f2110d67eb763b88486726710bac12e09a26f4ebf9640d0d8d3c6bc580bdff51f219a359aec41be9dd32172fabd640be141b92689c88f4194eba339e87403ba
EBUILD homeassistant-2021.7.4.ebuild 27303 BLAKE2B 4cfae846e4ef67fd010998434d3ddc1b8f42978e2ccfde20ba1f850e5c4fd4f78dbb06756b09d656580f9c6ab53b05719a1f7a3a33f147f2e91148a3f36461eb SHA512 d77106b91b42c865891afb6e8aa91cf85c6bb4f608b17479b8eb0fa6d64c148ffa546f04aef4711ff42d899b848d8a154b8838e4aadd24adafd29b836ff94349
EBUILD homeassistant-2021.8.6.ebuild 27542 BLAKE2B 6e98e00d723cbe15f51606a0ad7a82491c36227f22abc8e948d264f70c128266b66740323f0afbed08d2b0050a8cc3f796b01c6355f2aaff905f9720050c8240 SHA512 0f2983c87b080400cbbf7399322cff2ad9d852e09ea472fcfc13714b4f05c8aa6592261b405227c3d2657e427b512379a4602d8aae4d39bb3642315bca8c476f
@ -24,4 +25,5 @@ EBUILD homeassistant-2021.8.8.ebuild 27542 BLAKE2B fde2e27eeb23e40bd6e934525b99b
EBUILD homeassistant-2021.9.0.ebuild 27689 BLAKE2B ab34a6885b2db9e8320b0d7326a668254d273f2296a4647c3992331a715f31cbc853a4b704c099084f53b21c44dec511c157894d794767cb86ff2cc8c869b41c SHA512 28504bcf9925f1c793873001e9576dbefbbcf21b77a52e02816bbffb6b1a2cddf10f0246bea19b4c77f67ae4afdcc9334f8906f3f235950bb8a34042caa7167c
EBUILD homeassistant-2021.9.0_beta6.ebuild 27631 BLAKE2B b97c0518f688a12a0f8ef427f8f3b8a4ea3bfcd720a027546917fb0ef051e5ebad89136d156844d553783dfe1e11085307fe99c2bc1b0b3893497b2ae4d5d9a0 SHA512 18a0b33409ade25ab47637b2e3a78a41d2d8ba567b3d35c055e818b02b0aba7e0fd88ed111602e379f2f022d8a4829dba617dda73b99639ebe40a6b5ceb03155
EBUILD homeassistant-2021.9.1.ebuild 27689 BLAKE2B 165e1c1b9c9a97c27406f89915af074956cb9df0e5dc43154b559c9f9512619fed911c1dae81aad5f637c974fc54b0c949194249d07242f17796908993b7b009 SHA512 f229ccd66b4bfb26ef329e008d1054574c1ab3204239b5d1f1faf93fb8a295d9286c9b2be648ddb8e012bbd10379a2f91df4fbbba02115b20c703dd7b40e15b9
EBUILD homeassistant-2021.9.2.ebuild 27689 BLAKE2B 165e1c1b9c9a97c27406f89915af074956cb9df0e5dc43154b559c9f9512619fed911c1dae81aad5f637c974fc54b0c949194249d07242f17796908993b7b009 SHA512 f229ccd66b4bfb26ef329e008d1054574c1ab3204239b5d1f1faf93fb8a295d9286c9b2be648ddb8e012bbd10379a2f91df4fbbba02115b20c703dd7b40e15b9
MISC metadata.xml 24291 BLAKE2B ab6056589a6dbb53dc9832fc8e10386af8d4da2c59325f3250e31ec70a6b6158935f4b14501c94370707186f3067b864cb1123d5801349057dd713b7d841aa97 SHA512 ab0bc391faf03e770e8277170dfae769dd6826d368f7c597f56b968535bd98ef9932551e76800349c2bcc5219b054b8742550a9ede687b13d16ea1cf6280f8e8

View File

@ -0,0 +1,453 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit readme.gentoo-r1 eutils distutils-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}.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 amd64-linux x86-linux"
IUSE="abode accuweather acer_projector acmeda adguard ads aftership agent_dvr airly airvisual aladdin_connect alarmdecoder almond alpha_vantage ambiclimate ambient_station amcrest ampio androidtv android_ip_webcam anel_pwrctrl anthemav apache_kafka apcupsd apple_tv apprise aquostv arcam_fmj aruba asuswrt aten_pe atome august aurora_abb_powerone avea avion awair axis baidu -beewi_smartclim bh1750 bitcoin bizkaibus blackbird blebox blink blinksticklight blinkt blockchain 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 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 doorbird dunehd +dwd_weather_warnings dynalite dyson ecobee emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights evohome fibaro flume flunearyou flux_led foobot fortios freebox fritz fritzbox fritzbox_callmonitor fritzbox_netmonitor fronius garmin_connect gios github gogogate2 greeneye_monitor growatt_server guardian harman_kardon_avr harmony heos here_travel_time +homekit 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 linode litterrobot loopenergy luci luftdaten maxcube media_extractor meteo_france mfi miflora mikrotik -mitemp_bt +mobile_app +mqtt myq +mysql nad nederlandse_spoorwegen netatmo netdata +notify_events nuki nws nx584 onkyo opengarage opensensemap openweathermap +otp owntracks ozw panasonic_viera philips_js pilight +ping pi_hole +plex plugwise poolsense powerwall ps4 +python_script qnap qvr_pro rachio 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 tasmota tellduslive tesla test tile toon totalconnect tplink tradfri tuya unifi unifi_direct upnp 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 +zwave_js"
# 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.2[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.7.4_p0[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.20.0[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-21.2.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-21.4.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/backports-zoneinfo[${PYTHON_USEDEP}]' python3_8)
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.12.5[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
~dev-python/cryptography-3.3.2[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
~dev-python/emoji-1.2.0[${PYTHON_USEDEP}]
~dev-python/google-api-core-1.31.2[${PYTHON_USEDEP}]
~dev-python/google-cloud-pubsub-2.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-1.31.0[${PYTHON_USEDEP}]
>=dev-python/h11-0.12.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.46.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20210830.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.19.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/jinja-3.0.1[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.3.0[${PYTHON_USEDEP}]
~dev-python/pillow-8.2.0[${PYTHON_USEDEP}]
<dev-python/pip-20.3.0
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/pynacl-1.4.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
~dev-python/pyudev-0.22.0[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.25.1[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.4.5
~dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.12.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.6.3[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.36.2[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
# auth/mfa_modules/totp.py:REQUIREMENTS = ["pyotp==2.3.0", "PyQRCode==1.2.1"]
# scripts/check_config.py:REQUIREMENTS = ("colorlog==5.0.1",)
RDEPEND="${RDEPEND}
~dev-python/colorlog-5.0.1[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.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.2.0[${PYTHON_USEDEP}] )
acer_projector? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] )
acmeda? ( ~dev-python/aiopulse-0.4.2[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.5.0[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aftership? ( ~dev-python/pyaftership-0.1.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-5.0.9[${PYTHON_USEDEP}] )
aladdin_connect? ( ~dev-python/aladdin-connect-0.3[${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-1.3.0[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.8.0[${PYTHON_USEDEP}] )
ampio? ( ~dev-python/asmog-0.0.6[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.0[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.60[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-0.8[${PYTHON_USEDEP}] )
anel_pwrctrl? ( ~dev-python/anel-pwrctrl-homeassistant-0.0.1[${PYTHON_USEDEP}] )
anthemav? ( ~dev-python/anthemav-1.2.0[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apcupsd? ( ~dev-python/apcaccess-0.0.13[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.8.2[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.9.4[${PYTHON_USEDEP}] )
aquostv? ( ~dev-python/sharp_aquos_rc-0.3.2[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.7.0[${PYTHON_USEDEP}] )
aruba? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.3.4[${PYTHON_USEDEP}] )
aten_pe? ( ~dev-python/atenpdu-0.3.0[${PYTHON_USEDEP}] )
atome? ( ~dev-python/pyAtome-0.1.1[${PYTHON_USEDEP}] )
august? ( ~dev-python/yalexs-1.1.13[${PYTHON_USEDEP}] )
aurora_abb_powerone? ( ~dev-python/aurorapy-0.2.6[${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.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-44[${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-1.3.3[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.17.0[${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_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.7.20[${PYTHON_USEDEP}] )
bond? ( ~dev-python/bond-api-0.1.12[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/bravia-tv-1.0.11[${PYTHON_USEDEP}] )
broadlink? ( ~dev-python/broadlink-0.17.0[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-1.0.2[${PYTHON_USEDEP}] )
brottsplatskartan? ( ~dev-python/brottsplatskartan-0.0.1[${PYTHON_USEDEP}] )
brunt? ( ~dev-python/brunt-0.1.3[${PYTHON_USEDEP}] )
bsblan? ( ~dev-python/bsblan-0.4.0[${PYTHON_USEDEP}] )
bt_home_hub_5? ( ~dev-python/bthomehub5-devicelist-0.1.1[${PYTHON_USEDEP}] )
bt_smarthub? ( ~dev-python/btsmarthub-devicelist-0.2.0[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.7.1[${PYTHON_USEDEP}] )
canary? ( ~dev-python/py-canary-0.5.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-9.2.0[${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.21.1[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.4.4[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-83[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.6.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.10.8[${PYTHON_USEDEP}] )
deutsche_bahn? ( ~dev-python/schiene-0.23[${PYTHON_USEDEP}] )
devolo_home_control? ( ~dev-python/devolo-home-control-api-0.17.4[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
dhcp? ( ~net-analyzer/scapy-2.4.5 ~dev-python/aiodiscover-1.4.2[${PYTHON_USEDEP}] )
dht? ( ~dev-python/adafruit-circuitpython-dht-3.6.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.7.2[${PYTHON_USEDEP}] )
discovery? ( ~dev-python/netdisco-2.9.0[${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.4[${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.11[${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.19.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.2.5[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-8.0.0[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
evohome? ( ~dev-python/evohome-async-0.3.15[${PYTHON_USEDEP}] )
fibaro? ( ~dev-python/fiblary3-0.1.7[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-2.0.2[${PYTHON_USEDEP}] )
flux_led? ( ~dev-python/flux-led-0.22[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-1.0.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.6.0[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}] )
fritzbox? ( ~dev-python/pyfritzhome-0.6.2[${PYTHON_USEDEP}] )
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.6.0[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.4.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.6.0[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-ha-0.1.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-2.0.0[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-21.8.0[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/ismartgate-4.0.0[${PYTHON_USEDEP}] )
greeneye_monitor? ( ~dev-python/greeneye-monitor-2.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-1.0.1[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-1.0.8[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.7[${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/HAP-python-4.1.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-0.6.2[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.74[${PYTHON_USEDEP}] )
homematicip_cloud? ( ~dev-python/homematicip-1.0.1[${PYTHON_USEDEP}] )
hp_ilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.6.1[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.90[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
imap? ( ~dev-python/aioimaplib-0.9.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.4[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.14.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.12[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.6[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
ipp? ( ~dev-python/pyipp-0.11.0[${PYTHON_USEDEP}] )
islamic_prayer_times? ( ~dev-python/prayer-times-calculator-0.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.10.2[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.16[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-0.18.9[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.5[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
linode? ( ~dev-python/linode-api-4.1.9_beta1[${PYTHON_USEDEP}] )
litterrobot? ( ~dev-python/pylitterbot-2021.8.1[${PYTHON_USEDEP}] )
loopenergy? ( ~dev-python/pyloopenergy-0.2.1[${PYTHON_USEDEP}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.8[${PYTHON_USEDEP}] )
luftdaten? ( ~dev-python/luftdaten-0.6.5[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
media_extractor? ( ~dev-python/youtube_dl-2021.4.26[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-1.0.2[${PYTHON_USEDEP}] )
mfi? ( ~dev-python/mficlient-0.3.0[${PYTHON_USEDEP}] )
miflora? ( ~dev-python/bluepy-1.3.0[${PYTHON_USEDEP}] ~dev-python/miflora-0.7.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mitemp_bt? ( ~dev-python/mitemp-bt-0.0.3[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] ~dev-python/emoji-1.2.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.3[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysql-connector-python[${PYTHON_USEDEP}] dev-python/mysqlclient[${PYTHON_USEDEP}] )
nad? ( ~dev-python/nad-receiver-0.2.0[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.5[${PYTHON_USEDEP}] )
netatmo? ( ~dev-python/pyatmo-5.2.3[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.4.1[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.3.0[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
onkyo? ( ~dev-python/onkyo-eiscp-1.2.7[${PYTHON_USEDEP}] )
opengarage? ( ~dev-python/open-garage-0.1.5[${PYTHON_USEDEP}] )
opensensemap? ( ~dev-python/opensensemap-api-0.1.5[${PYTHON_USEDEP}] )
openweathermap? ( ~dev-python/pyowm-3.2.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.3.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] )
ozw? ( ~dev-python/python-openzwave-mqtt-1.4.0[${PYTHON_USEDEP}] )
panasonic_viera? ( ~dev-python/panasonic-viera-0.3.6[${PYTHON_USEDEP}] )
philips_js? ( ~dev-python/ha-philipsjs-2.7.5[${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.5.1[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.7.0[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/plugwise-0.8.5[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.3.10[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.2.0[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-5.1[${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}] )
rainbird? ( ~dev-python/pyrainbird-0.4.3[${PYTHON_USEDEP}] )
rainmachine? ( ~dev-python/regenmaschine-3.1.5[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.1[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.8.1[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.3[${PYTHON_USEDEP}] )
roon? ( ~dev-python/roonapi-0.0.38[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-1.6.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.0.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.3[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-3.7.7.0[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.6.4[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.25.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-11.0.6[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.3[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.6.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.25[${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/pysnmp-4.4.12[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
solax? ( ~dev-python/solax-0.2.8[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.11.0[${PYTHON_USEDEP}] )
sonos? ( ~dev-python/soco-0.23.3[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.18.0[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.5.5[${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.4[${PYTHON_USEDEP}] )
systemmonitor? ( ~dev-python/psutil-5.8.0[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.2.20[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.18.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-5.2.3[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
totalconnect? ( ~dev-python/total-connect-client-0.57[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.2[${PYTHON_USEDEP}] )
tradfri? ( ~dev-python/pytradfri-7.0.6[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-26[${PYTHON_USEDEP}] )
unifi_direct? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.20.0[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.8.1[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.1.2[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.19[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.13[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-21.7.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-1.0.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.57[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.0.1[${PYTHON_USEDEP}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${PYTHON_USEDEP}] )
waze_travel_time? ( ~dev-python/WazeRouteCalculator-0.12[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.4.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.6.7[${PYTHON_USEDEP}] )
whois? ( ~dev-python/python-whois-0.7.3[${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.3.2[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.8.0[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.11.2[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xiaomi_aqara? ( ~dev-python/PyXiaomiGateway-0.13.4[${PYTHON_USEDEP}] )
xiaomi_miio? ( ~dev-python/construct-2.10.56[${PYTHON_USEDEP}] ~dev-python/micloud-0.3[${PYTHON_USEDEP}] ~dev-python/python-miio-0.5.8[${PYTHON_USEDEP}] )
xiaomi_tv? ( ~dev-python/pymitv-1.4.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.9.1[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.7.4[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.20.0[${PYTHON_USEDEP}] )
yi? ( ~dev-python/aioftp-0.12.0[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.36.2[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.4.8[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.27.0[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.5[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.60[${PYTHON_USEDEP}] ~dev-python/zigpy-cc-0.5.2[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.13.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.37.1[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.14.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.7.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.5.4[${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? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}] ~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/zwave-js-server-python-0.29.1[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-5.5[${PYTHON_USEDEP}]
~dev-python/jsonpickle-1.4.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.910[${PYTHON_USEDEP}]
~dev-python/pipdeptree-1.0.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-2.14.0
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pylint-2.10.2[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.12.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.4[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.2.1[${PYTHON_USEDEP}]
~dev-python/pytest-6.2.4[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.9.2[${PYTHON_USEDEP}]
~dev-python/responses-0.12.0[${PYTHON_USEDEP}]
~dev-python/respx-0.17.0[${PYTHON_USEDEP}]
~dev-python/stdlib-list-0.7.0[${PYTHON_USEDEP}]
~dev-python/tqdm-4.49.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
}

View File

@ -444,7 +444,7 @@ libffi==3.3
libgudev==234
libiconv==0
libiconv==1.15
libidn2==2.3.1
libidn2==2.3.2
libidn==1.37
libintl==0
libintl==0.21
@ -1098,7 +1098,7 @@ urllib3==1.26.6
urwid==2.1.1
uscisstatus==0.1.1
user-agents==2.0
util-linux==2.36.2
util-linux==2.37.2
uvcclient==0.11.0
uvicorn==0.13.4
vallox-websocket-api==2.8.1