remove olds

This commit is contained in:
Andreas Billmeier (@STR/VW3) 2022-11-17 14:23:54 +01:00 committed by Andreas Billmeier
parent e22d68df7c
commit 8805226a90
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 7 additions and 304 deletions

View File

@ -338,13 +338,13 @@ I run Home Assistant on a virtual X64 box, 4GB RAM, 3 Cores of an older Xeon E5-
## My machines
Currently I have three VM's running:
### Production
Python 3.10.8_p2
Python 3.10.8_p3
4 GB RAM, 3 cores of a Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
### Dev / Test
Python 3.10.8_p2 / 3.11.0_p1
Python 3.10.8_p3 / 3.11.0_p2
4 GB RAM, 3 cores of a Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
### Dev / Test2
Python 3.10.8_p2 / 3.11.0_p1
Python 3.10.8_p3 / 3.11.0_p2
4 GB RAM, 3 cores of a Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
## Hardware I use
@ -573,12 +573,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1531 Ebuilds in total, 1524 of them have in total 1532 (34 different) licenses assigned.
There are 1528 Ebuilds in total, 1521 of them have in total 1529 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|888|
|Apache-2.0|316|
|Apache-2.0|313|
|GPL-3|96|
|BSD|91|
|LGPL-3|21|
@ -612,9 +612,9 @@ There are 1531 Ebuilds in total, 1524 of them have in total 1532 (34 different)
|CC0-1.0|1|
|GPL-2+|1|
(Last counted: 14/11/2022)
(Last counted: 17/11/2022)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 14/11/2022
Last updated: 17/11/2022

View File

@ -10,12 +10,10 @@ AUX socat-zwave.init.d 637 BLAKE2B d61c1024a6fe3ce8d322e62ac1ec15e00d08f5c5a63fe
AUX update-homeassistant 1326 BLAKE2B 917bdd332c4e5dea5177eecd11a7f8d72b911fddfdc8e5eb54960c526fe8c735e20d44e570cf7aeb99669d2a9670c70da1c5fbc30efb284d1f0f330799de6e24 SHA512 3c05f0d6d1bde0e1526c3e679568794c07091e7856dfd8793e13feec6f22725ddaa3163ca2c81d9df86cf73573f932e561743f05de420b350a0b68f6a9582aca
DIST homeassistant-2022.10.5.gh.tar.gz 16789114 BLAKE2B cb64326ae8f4d3323bccc2b64b53bd61673f25343a1b9b2c74edea493b39848624f7ef4c9e6928bcb2cee2ab1bdbc5c57b51dfcf08ba06067c09e333b4d19816 SHA512 dfba7a9fbbe4840a631d398f3e70b77f6ce2df078a3281b8ac47a37c9c9db2d446e633278ccc3c7f8518b578e0d9943622ef15767be9d8e69deb39c9ca287a2a
DIST homeassistant-2022.11.0.gh.tar.gz 17079666 BLAKE2B 07ac79262de27cd1095515d2226c10585e82bc98772daa53085cbab9cca2e827acbe4caf5d7832bd4c879deb14fd9c6d164fd04b672eb16a43b06ce7a478096e SHA512 0f0a43667d8051f96852aed671ddb3c7f9860f986f36ea401b7ed75a0c11abc336ca9c9226989d5c4df7cdba580f8d9e8a728c631bc0834305847747df4f0c23
DIST homeassistant-2022.11.1.gh.tar.gz 17079353 BLAKE2B 647e6003e935e1481c83bbabe72e3b0e33b4f1521b90d6d32ca509a0606480516b26e065daf20a0303394a9bd6224856fb83e96b7d8ce105f1f90ce993c9e543 SHA512 75e6d93e0508c20fb82b0992dbfc08ff11f09c5209cf30863b8840c7b914e3d60335ba70eb09f0a5495a79f4fb3673451a3ebf7b954a506afa9ebd21382eb1f6
DIST homeassistant-2022.11.2.gh.tar.gz 17087161 BLAKE2B 36eb112ad5d7f1619c1200a9f7b70a058834c512481170c5853875ddc00514c6eaa6041e8e17b6d629353698a8f56be96f48e511f3e1a7992230a5162b147f4d SHA512 054a2c11c395be4ee10dc9c47f62162a2fa383cb3bc4ad8e0e9be7b9ef6e4c1a9acbe49efeaefae89349081574caaaaf3cf5fcf09424d043db6185c3df95d72d
DIST homeassistant-2022.9.7.gh.tar.gz 16485744 BLAKE2B 04497b7b388e99020bb09b15a53db23b9f073ad27cf18fb1fb0d3d3426dab9a9d4d7e1fefea8bc9e0493022f2911a7f48244f9ccbeb62eb6c81856fbc12a691d SHA512 6569931c0506241e78bd2b997fbe4357075acddee2abd472f6262a372e787305feb6fa3300fd034d8624321a42f7fa43a03175033015861e8f04a384713d34ee
EBUILD homeassistant-min-2022.10.5.ebuild 15592 BLAKE2B 659e88646c304ecd4d6d02bb428d3d32ab5589747e4f0d3f2c9b48f07ac9716684022726c9aa38dd39ae4aed75a15971e5f7d0007fad52297469375afc005c9a SHA512 ebaa416d4ed00bae3815d7b539f9a8547b291f0e84aa4e2095841d32eb882278182fad0c0384b4c861f5e2d54df0bd8673d9a8d6aeb22805a36f3071a950725c
EBUILD homeassistant-min-2022.11.0.ebuild 15441 BLAKE2B 7cdb92e966221b37968518dba35587360605cac6dc3306248420b89df922465e9586bf134f6d77bf12f2fe0cffb3ef903ca5ee356eb161c5d4be06690477cf0c SHA512 1c65269b4140107542dee783c18586958a2214da5a1e71da907c10006d06af2db9370295c49244e12c36434f76a6a3ff562adaf55530fe067818e027d31ac4c5
EBUILD homeassistant-min-2022.11.1-r1.ebuild 15441 BLAKE2B d32957e2e3dfb47ecd83a389573dcd67696b351c92b61cb5702c59b5a510ac99d21789cc1c79c53d9c3acf3688d1a16afa0f3c9c62ed69d9f411f29f16e148a6 SHA512 8c7493ebf56ee374381925426cd58d559ac3d59da261a83a46f2906d25f23e7dcf2b933aaf28c279388b2c8e940b3d901ede8d94365eb6da6d5cd5f2b7b6e651
EBUILD homeassistant-min-2022.11.2.ebuild 15442 BLAKE2B 045956b91989b7ddd395f878cceff5eaa11522f1dfa41041a8d351b5de9c4844102c868ca2cf4dccb59efa71c835be9b93e2d0ee72c6c05d1f86f40f16992742 SHA512 19e619fb681813aa9350223bc9a77f9d5553bdf097f8c0fb2a184d952fa8d5df7d6a5c3644ab368b41ce2472f4afacaf7d0b5788e0840fec70e3ee5863ddc43f
EBUILD homeassistant-min-2022.9.7.ebuild 15423 BLAKE2B 9f2174c99de23a4504ddd82215380316c62a6acd051ecc8bf73b03e7b422b28996897a5e14e846343b10f3cdf6b3bd619ccc6619501637f754a366579cea8a57 SHA512 04526ef3d2dade4aafdfa63d62d250d443533c4069cfaae0a061b093ba9d2d236c9f9950301c0d15e600f3b9ad733f19f93ec62aa317badcf953f39442b2c27f
MISC metadata.xml 8590 BLAKE2B 778d6edeb133ef32e85577738355ebb1f1b79fbdfede440089a6bc563908c7aa0455ad5dd25d1eff02995864977421716deb26f4b437bd8b7bd39f9bf9448647 SHA512 9860231d2ee1c8e57a18b4e59a94b7dcf06a0f1d2055dc5182449cf3876d78af4637c5aae3fa7d3d5333839003815c61ea93581638064318d70c376c1f603927

View File

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