homeassistant-2024.1.0

Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/milestone/57
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2024-01-06 18:37:24 +01:00
parent 9456b83998
commit ab24adf3da
14 changed files with 2633 additions and 223 deletions

View File

@@ -16,8 +16,14 @@ DIST homeassistant-2023.12.3.gh.tar.gz 15480716 BLAKE2B 82aa45c07be99fc4b436d3fd
DIST homeassistant-2023.12.3.tar.gz 18844508 BLAKE2B fb4b0c7737d8b4fa92dcce6d73b687be5fd1166f9f450944c23b68e78827ec3953807ed39aaaffc06042bce39748cf544f0cca73116429a8bad1cb3d21e480a7 SHA512 6256b3518b0f654f527db7f000d415fe11c37eb350cb6aacbe23789709fa5d0da1db6b6a12aaaef6b2249df567cba12f02113eaedd77459d7e3c504bd418561e
DIST homeassistant-2023.12.4.gh.tar.gz 15480656 BLAKE2B 1315601a3bfcb94fe32533eddab8ad3aac7ff38e9bc08cfa9078b89f458192a6e53e8f8892a33d37d695e4b15c3fbe2b8f7e874f663ca675bf04f1effc0978f3 SHA512 a3eb5ab9f50c11f0493666082597b1bf22652c05033c4d1fe9e96a374df26641d4b3773c493b3319ec6d6c0a8a0b3eb08cf0642b2c2854d8adcc179a06a2624d
DIST homeassistant-2023.12.4.tar.gz 18924952 BLAKE2B da4dd4406d86522b24647f81a135528a11de370fc78223156c3b5634e5bb088b14226c3b1f1ddef236b17f5ebf47f8991973328d800114b883893980f1202612 SHA512 0fe0eae4d326a10f6e3809aec7173d1435284655a71ddfb150f0560548c4fa664c6ee8100c40aadf09d66ed598a16596bd4e08bbdc5dc86549e3e53a210933e6
DIST homeassistant-2024.1.0.gh.tar.gz 15710129 BLAKE2B c1550a3827dec564afdf150b7b628fd3fc001157d36baa49e0e9cf9a9094de2baf8c7b7662d386c535ff2f2a6cd86d5a8dc5041a06df588c6f6dbdf253985f10 SHA512 f5c6aea33ee8fc239534c14a7f1c66088cb66ffce8ce38316e152e66395b9b08b10f2b81d891ce8d7ed96337cf4c11e8e8d614b7caf28c51a4bb04a7630b18a1
DIST homeassistant-2024.1.0.tar.gz 19164130 BLAKE2B 839991b8759f600380fa25ff34129c15760df13c4d1eff3e2f1ce6c99d2468b6c25249253f4ceb8570f1045e40b221f31b243be69a4a92f69705e26fc250d108 SHA512 e23b26656257bbd0becda6852127e4bdc195ed7c35747c0acaffad3dbab7e7ee216e639109c149a90dc982bcd24bae952202de969ee38b6082d11c34bef18ec2
DIST homeassistant-2024.1.1.gh.tar.gz 15713018 BLAKE2B c520d3dd803c44201cb7c76bddfe6b0e2cf95e3720fa9e84e3f2e35cc3a3e12c3a86e982e1d4c8c10e2b5c8cbf9080d1372eeccbbea0dcbfaf4c8894c0c27966 SHA512 b60078650f13bfe828d7d9be3eb2d97decd4b7565e4c2d7cc25c84bf7c5eb1dbea19858480195b29412b4293b69848394fc2d2e2c4c9c7a680bb3ff73e3d3ccc
DIST homeassistant-2024.1.1.tar.gz 19198679 BLAKE2B d5cde6b5bff0e8d725c8ec11ab9fd3d49385a893e21161c9f9aa526b3066c03e4726ad1918d04a5a6ed422cbe36308d589fc9da39a85132fe7f1589b696082bc SHA512 6fe13056be901aad8565f8e08d30f6ee139c6b2eb473ecd51fcd88a83aa24b2dc4367748fdbf32303713bf6e63f719043daf75c9973072d23cb813c8dfe79781
EBUILD homeassistant-min-2023.11.3-r1.ebuild 18025 BLAKE2B 8c94d3ee7a3500320c369992ea86eac2941328b82cc98cd009b7ca0c76a47944b2c0614a686f8d6afcb0e083e226722a907d0c0167274caf1bd8e72a2d465d0e SHA512 8d9db1ff23cba699c912bba707e416e7c4b20dbcb33c95bc37832fdcbb4892277b9fba773aa751d17cb6c86a33f6309fceca3b6c6c55370645df6dfdd2662ce5
EBUILD homeassistant-min-2023.12.1.ebuild 17717 BLAKE2B 0f1ab8a95b2b898e1cf1e37065f52651daabd15e08437853911984dd65de5b41d4c1502d4c57b080fd44836891ca3e8c6f537bd75cb732746179f4bacedc66b2 SHA512 a29b8c6dee5414923643f18032c60fa3b5fb713478208a1160489c6e7fc915d1764ff61dda94cd956ea98b1e68f035317b71bbbd910edfc4e0adef6e8ecc4cf4
EBUILD homeassistant-min-2023.12.3-r1.ebuild 17735 BLAKE2B 68bd1d6dfe65e6bb4231c4ca48eab271ad701eaade8884da6d55ab964cb46fbc72b8d0b712d893e73f56d501fe9f75bf7ea4d1f387702293b7ccdf624f560c05 SHA512 5389dfa702ee18d3c06cb40f4b616914b4ab0d37d5f2354e5c87b87407616bcbcd11d6b7e347418a9b6523a568d979012e5b515428bdbf9454a88f8a70ce4093
EBUILD homeassistant-min-2023.12.4.ebuild 17733 BLAKE2B 8aa40f7336ed9b954ab4749b76b6c7fbea924a9b9b445409c96df5b2226dc09870ea08f00cfac16884ea49949bd074f3917405f2e590b09cb76da4aa495ad2ac SHA512 6abce85b25315fba8d7ffe04f41c2b33bb1560f6f7162a25037ed673ebdf752a0f8fb4a905cd89e7214ec7d815964b5a20c4732d1e189dddaeccecb2ad507b4d
MISC metadata.xml 9131 BLAKE2B 3ec2fb688d0aeb8d050bf716f29010cf6f4fef0f44d4514cd931cbfb3029f9b4be2bc2d4dae5023ce67cc03508074b9531ac769e33109d3f0d49c01f3397b10e SHA512 961c8b681830edec21eee09b704540e6c6f3814c3b864ef77a8e6871f135803bb7a0ed9c4f9511d337ce582a49a46bbae1d76f8e02e66bbf1b034e2a75574ed0
EBUILD homeassistant-min-2024.1.0.ebuild 18196 BLAKE2B 84c7691ec4d348882d1ba287d81948018edbff95267e98c99d6a2491d606e1e931d468b8033db6426ef1bbba2aced76e3373276aab2c1a7132ea2ab4642b4c6a SHA512 0461e4753368aeb33864c87a1e0b717bfecef8fd9926eeaac1baa5cc2848d91a6573995f73be266c7f7328c4b3b3446c1c1e4da618999d0789f1028327e97a67
EBUILD homeassistant-min-2024.1.1.ebuild 18196 BLAKE2B 84c7691ec4d348882d1ba287d81948018edbff95267e98c99d6a2491d606e1e931d468b8033db6426ef1bbba2aced76e3373276aab2c1a7132ea2ab4642b4c6a SHA512 0461e4753368aeb33864c87a1e0b717bfecef8fd9926eeaac1baa5cc2848d91a6573995f73be266c7f7328c4b3b3446c1c1e4da618999d0789f1028327e97a67
MISC metadata.xml 9341 BLAKE2B dd7661bd3182982bd648b990def8e43ce5baf4b67e609ba6642eb98c5ac0a2f17325502169edcf4bcdc123bfcabcdc5f4f8ce3bf37b466db614d99259c26a85d SHA512 86f5591007774710d39d9537bd9451e5fbd383a66950fdb12679b197a59631d29152c8b824aa67b1a7b42037e93dc2b661f48e69d4234153e9ad8d9d7d7a0e90

View File

@@ -0,0 +1,328 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_11 )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 pypi 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="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
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 androidtv_remote android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus dlna_dmr dlna_dms dwd_weather_warnings ecowitt enigma2 esphome ffmpeg file forecast_solar fronius github glances holiday +homekit homekit_controller http hyperion influxdb knx kodi kraken local_calendar local_todo +mariadb +matter maxcube mikrotik +mobile_app modbus +mosquitto +mqtt mysensors mysql nfandroidtv +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 wled 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.11 dev-lang/python:3.12 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
dev-libs/xerces-c"
# 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.6.0[${PYTHON_USEDEP}]
~dev-python/aiohttp-fast-url-dispatcher-0.3.0[${PYTHON_USEDEP}]
~dev-python/aiohttp-zlib-ng-0.1.3[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.9.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-4.1.0[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-23.1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-23.11.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-3.4.0[${PYTHON_USEDEP}]
~dev-python/bleak-0.21.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.16.2[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.2.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-1.19.0[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
~dev-python/cached-ipaddress-0.3.0[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/charset-normalizer-3.2.0[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-41.0.7[${PYTHON_USEDEP}]
>=dev-python/dacite-1.7.0[${PYTHON_USEDEP}]
~dev-python/dbus-fast-2.21.0[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnv-hash-fast-0.5.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.59.0[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.59.0[${PYTHON_USEDEP}]
~dev-python/grpcio-1.59.0[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/ha-av-10.1.1[${PYTHON_USEDEP}]
~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}]
~dev-python/habluetooth-2.0.1[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.75.1[${PYTHON_USEDEP}]
~dev-python/hassil-1.5.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.11.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20240103.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2024.1.2[${PYTHON_USEDEP}]
~dev-python/httpcore-1.0.2[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.26.0[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.2.0[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.3.0[${PYTHON_USEDEP}]
~dev-python/lxml-4.9.4[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~media-libs/mutagen-1.47.0
~dev-python/numpy-1.26.0[${PYTHON_USEDEP}]
~dev-python/orjson-3.9.9[${PYTHON_USEDEP}]
>=dev-python/packaging-23.1[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pillow-10.1.0[${PYTHON_USEDEP}]
>=dev-python/pip-21.3.1
~dev-python/protobuf-python-4.25.1[${PYTHON_USEDEP}]
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pydantic-1.10.12[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.8.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.2.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
|| ( ~dev-python/pysnmp-lextudio-5.0.31[${PYTHON_USEDEP}] ~dev-python/pysnmplib-5.0.21[${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/PyTurboJPEG-1.7.1[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
~dev-python/regex-2023.12.25[${PYTHON_USEDEP}]
~dev-python/requests-2.31.0[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.23[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.9.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
~dev-python/ulid-transform-0.9.0[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/webrtc-noise-gain-1.2.3[${PYTHON_USEDEP}]
>=dev-python/websockets-11.0.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.9.4[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.131.0[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.7.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-2.1.1[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2023.8.1[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.4[async,${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.73[async,${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[async,${PYTHON_USEDEP}] )
androidtv_remote? ( ~dev-python/androidtvremote2-0.0.14[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-48[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.21.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-3.4.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.16.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.2.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-1.19.0[${PYTHON_USEDEP}] ~dev-python/dbus-fast-2.21.0[${PYTHON_USEDEP}] ~dev-python/habluetooth-2.0.1[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.3.8[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.7.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.8[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/aioelectricitymaps-0.1.5[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.26.0[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}] ~dev-python/getmac-0.9.4[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.6[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.5.0[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-4.0.2[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-21.0.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] ~dev-python/bleak-esphome-0.4.0[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-3.0.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.2[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
glances? ( ~dev-python/glances-api-0.5.0[${PYTHON_USEDEP}] )
holiday? ( ~dev-python/holidays-0.39[${PYTHON_USEDEP}] ~dev-python/Babel-2.13.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.9.1[${PYTHON_USEDEP}] ~dev-python/fnv-hash-fast-0.5.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-3.1.1[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] ~dev-python/aiohttp-fast-url-dispatcher-0.3.0[${PYTHON_USEDEP}] ~dev-python/aiohttp-zlib-ng-0.1.3[${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-2.11.2[${PYTHON_USEDEP}] ~dev-python/xknxproject-3.4.0[${PYTHON_USEDEP}] ~dev-python/knx-frontend-2023.6.23.191712[${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}] )
local_calendar? ( ~dev-python/ical-6.1.1[${PYTHON_USEDEP}] )
local_todo? ( ~dev-python/ical-6.1.1[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
matter? ( ~dev-python/python-matter-server-5.1.1[${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-3.5.4[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
nfandroidtv? ( ~dev-python/notifications-android-tv-0.1.5[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.12[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-3.1.12[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.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.15.7[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.14[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-7.0_alpha1[${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.2.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.23[${PYTHON_USEDEP}] ~dev-python/fnv-hash-fast-0.5.0[${PYTHON_USEDEP}] ~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82.2[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.8.5[listen,${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.9.4[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.6.0[async,encrypted,${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.12.2[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.4[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.5[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-7.0.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmp-lextudio-5.0.31[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.30.0[${PYTHON_USEDEP}] ~dev-python/sonos-websocket-0.1.2[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.23.0[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.23[${PYTHON_USEDEP}] ~dev-python/sqlparse-0.4.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.7[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.8.0[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2023.4.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.6[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.4[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}] ~dev-python/getmac-0.9.4[${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-1.3.0[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.17.0[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.39[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.131.0[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.37.6[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.109[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.22.4[${PYTHON_USEDEP}] ~dev-python/zigpy-0.60.4[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.20.1[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.12.0[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.12.1[${PYTHON_USEDEP}] ~dev-python/universal-silabs-flasher-0.0.15[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-fast-0.11[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.55.2[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-3.0.1[${PYTHON_USEDEP}]
~dev-python/coverage-7.3.4[${PYTHON_USEDEP}]
~dev-python/freezegun-1.3.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.8.0[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.11.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.6.0
~dev-python/pydantic-1.10.12[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.2.1[${PYTHON_USEDEP}]
~dev-python/pylint-3.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.21.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-4.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.6.0[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.7[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-3.3.1[${PYTHON_USEDEP}]
~dev-python/pytest-7.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.11.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.2[${PYTHON_USEDEP}]
~dev-python/syrupy-4.6.0[${PYTHON_USEDEP}]
~dev-python/tqdm-4.66.1[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
src_prepare() {
if use test ; then
cp --no-preserve=mode --recursive ${WORKDIR}/core-${MY_PV}/tests ${S}
chmod u+x ${S}/tests/auth/providers/test_command_line_cmd.sh
fi
sed -E -i "s/regex==[^ ]*/regex/g" -i homeassistant/package_constraints.txt || die
distutils-r1_src_prepare
}
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
"
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

@@ -0,0 +1,328 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_11 )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 pypi 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="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
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 androidtv_remote android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus dlna_dmr dlna_dms dwd_weather_warnings ecowitt enigma2 esphome ffmpeg file forecast_solar fronius github glances holiday +homekit homekit_controller http hyperion influxdb knx kodi kraken local_calendar local_todo +mariadb +matter maxcube mikrotik +mobile_app modbus +mosquitto +mqtt mysensors mysql nfandroidtv +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 wled 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.11 dev-lang/python:3.12 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
dev-libs/xerces-c"
# 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.6.0[${PYTHON_USEDEP}]
~dev-python/aiohttp-fast-url-dispatcher-0.3.0[${PYTHON_USEDEP}]
~dev-python/aiohttp-zlib-ng-0.1.3[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.9.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-4.1.0[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-23.1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-23.11.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-3.4.0[${PYTHON_USEDEP}]
~dev-python/bleak-0.21.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.16.2[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.2.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-1.19.0[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
~dev-python/cached-ipaddress-0.3.0[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/charset-normalizer-3.2.0[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-41.0.7[${PYTHON_USEDEP}]
>=dev-python/dacite-1.7.0[${PYTHON_USEDEP}]
~dev-python/dbus-fast-2.21.0[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnv-hash-fast-0.5.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.59.0[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.59.0[${PYTHON_USEDEP}]
~dev-python/grpcio-1.59.0[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/ha-av-10.1.1[${PYTHON_USEDEP}]
~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}]
~dev-python/habluetooth-2.0.1[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.75.1[${PYTHON_USEDEP}]
~dev-python/hassil-1.5.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.11.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20240103.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2024.1.2[${PYTHON_USEDEP}]
~dev-python/httpcore-1.0.2[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.26.0[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.2.0[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.3.0[${PYTHON_USEDEP}]
~dev-python/lxml-4.9.4[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~media-libs/mutagen-1.47.0
~dev-python/numpy-1.26.0[${PYTHON_USEDEP}]
~dev-python/orjson-3.9.9[${PYTHON_USEDEP}]
>=dev-python/packaging-23.1[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pillow-10.1.0[${PYTHON_USEDEP}]
>=dev-python/pip-21.3.1
~dev-python/protobuf-python-4.25.1[${PYTHON_USEDEP}]
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pydantic-1.10.12[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.8.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.2.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
|| ( ~dev-python/pysnmp-lextudio-5.0.31[${PYTHON_USEDEP}] ~dev-python/pysnmplib-5.0.21[${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/PyTurboJPEG-1.7.1[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
~dev-python/regex-2023.12.25[${PYTHON_USEDEP}]
~dev-python/requests-2.31.0[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.23[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.9.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
~dev-python/ulid-transform-0.9.0[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/webrtc-noise-gain-1.2.3[${PYTHON_USEDEP}]
>=dev-python/websockets-11.0.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.9.4[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.131.0[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.7.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-2.1.1[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2023.8.1[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.4[async,${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.73[async,${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[async,${PYTHON_USEDEP}] )
androidtv_remote? ( ~dev-python/androidtvremote2-0.0.14[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-48[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.21.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-3.4.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.16.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.2.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-1.19.0[${PYTHON_USEDEP}] ~dev-python/dbus-fast-2.21.0[${PYTHON_USEDEP}] ~dev-python/habluetooth-2.0.1[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.3.8[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.7.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.8[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/aioelectricitymaps-0.1.5[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.26.0[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}] ~dev-python/getmac-0.9.4[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.6[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.5.0[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-4.0.2[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-21.0.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] ~dev-python/bleak-esphome-0.4.0[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-3.0.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.2[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
glances? ( ~dev-python/glances-api-0.5.0[${PYTHON_USEDEP}] )
holiday? ( ~dev-python/holidays-0.39[${PYTHON_USEDEP}] ~dev-python/Babel-2.13.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.9.1[${PYTHON_USEDEP}] ~dev-python/fnv-hash-fast-0.5.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-3.1.1[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] ~dev-python/aiohttp-fast-url-dispatcher-0.3.0[${PYTHON_USEDEP}] ~dev-python/aiohttp-zlib-ng-0.1.3[${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-2.11.2[${PYTHON_USEDEP}] ~dev-python/xknxproject-3.4.0[${PYTHON_USEDEP}] ~dev-python/knx-frontend-2023.6.23.191712[${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}] )
local_calendar? ( ~dev-python/ical-6.1.1[${PYTHON_USEDEP}] )
local_todo? ( ~dev-python/ical-6.1.1[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
matter? ( ~dev-python/python-matter-server-5.1.1[${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-3.5.4[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
nfandroidtv? ( ~dev-python/notifications-android-tv-0.1.5[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.12[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-3.1.12[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.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.15.7[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.14[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-7.0_alpha1[${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.2.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.23[${PYTHON_USEDEP}] ~dev-python/fnv-hash-fast-0.5.0[${PYTHON_USEDEP}] ~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82.2[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.8.5[listen,${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.9.4[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.6.0[async,encrypted,${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.12.2[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.4[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.5[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-7.0.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmp-lextudio-5.0.31[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.30.0[${PYTHON_USEDEP}] ~dev-python/sonos-websocket-0.1.2[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.23.0[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.23[${PYTHON_USEDEP}] ~dev-python/sqlparse-0.4.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.7[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.8.0[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2023.4.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.6[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.4[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.38.0[${PYTHON_USEDEP}] ~dev-python/getmac-0.9.4[${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-1.3.0[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.17.0[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.39[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.131.0[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.37.6[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.109[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.22.4[${PYTHON_USEDEP}] ~dev-python/zigpy-0.60.4[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.20.1[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.12.0[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.12.1[${PYTHON_USEDEP}] ~dev-python/universal-silabs-flasher-0.0.15[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-fast-0.11[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.55.2[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-3.0.1[${PYTHON_USEDEP}]
~dev-python/coverage-7.3.4[${PYTHON_USEDEP}]
~dev-python/freezegun-1.3.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.8.0[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.11.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.6.0
~dev-python/pydantic-1.10.12[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.2.1[${PYTHON_USEDEP}]
~dev-python/pylint-3.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.21.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-4.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.6.0[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.7[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-3.3.1[${PYTHON_USEDEP}]
~dev-python/pytest-7.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.11.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.2[${PYTHON_USEDEP}]
~dev-python/syrupy-4.6.0[${PYTHON_USEDEP}]
~dev-python/tqdm-4.66.1[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
src_prepare() {
if use test ; then
cp --no-preserve=mode --recursive ${WORKDIR}/core-${MY_PV}/tests ${S}
chmod u+x ${S}/tests/auth/providers/test_command_line_cmd.sh
fi
sed -E -i "s/regex==[^ ]*/regex/g" -i homeassistant/package_constraints.txt || die
distutils-r1_src_prepare
}
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
"
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

@@ -43,6 +43,8 @@
<flag name="forecast_solar">Asynchronous Python client for getting forecast solar information</flag>
<flag name="fronius">Add (very basic) Support for Fronius Symo JSON Api to Home Assistant</flag>
<flag name="github">GitHub sensor integrates data from GitHub to monitor your favorite repositories</flag>
<flag name="glances">Allows you to monitor the system information provided by the Glances API</flag>
<flag name="holiday">create a calendar of holidays in Home Assistant for powering automations</flag>
<flag name="homekit">Integrate HomeKit controller and accessory in Home Assistant</flag>
<flag name="homekit_controller">Allows you to connect accessories with the “Works with HomeKit” logo</flag>
<flag name="http">Serves all files and data required for the Home Assistant frontend</flag>