add hyperion to -min

This commit is contained in:
Andreas Billmeier 2021-03-21 08:15:51 +01:00 committed by Andreas Billmeier
parent 54ab8d2731
commit 71057e9825
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 226 additions and 1 deletions

View File

@ -3,6 +3,7 @@
* pin aiohttp-3.7.4 (avoid 3.7.4_p0)
* default PlexAPI (it is loaded anyway)
* update homeassistant-2021.3.4-r1
* add hyperion to -min
2021-03-20
* bump xknx-0.17.3

View File

@ -41,4 +41,5 @@ EBUILD homeassistant-min-2021.3.2-r1.ebuild 1564 BLAKE2B 70b4aace9007f5a2ee957b1
EBUILD homeassistant-min-2021.3.2.ebuild 9822 BLAKE2B 2c9c2390b9904eac14bb56ee4e2bce4fc2044e088d4c570101cd23a85a7d14ea0c1bcf3d14c44590785f1fed0f3f5bbeb648c864eec3b39c62ea694d91651b8d SHA512 c6e1724aa79142a9b716c4d03f97aa52a7c16233ec00d27b6578884c3ce0f28e2cef156fdfb4b73d659d3c7ae624c1360ecdb6ef5c9ceb2620bb2da5d7e51918
EBUILD homeassistant-min-2021.3.3.ebuild 9822 BLAKE2B 76e7afaf7e671055827ad720dacc8635d062975547ac2237ddebf2efd3ad5e159171e154faeb1ce20a9d0f91421c85567bcee67c9206fb76fc3a93ce8cc9813c SHA512 9d4ed816a8a8b23857ff21eeca8dd0dc164162e5090f9cfb9fea611a26f275e482233c118190d6fd5b67a75a0770823f9a5485f45a025ed9d2391e87672e55e0
EBUILD homeassistant-min-2021.3.4-r1.ebuild 9979 BLAKE2B 47a31970b50de17459b1053de4c95b5c5a1804802b0c62aff8f256eb0435112215f7ea508779cdfa3e3e72117c870813f732148318f4bb72e234b04dea684b1b SHA512 83f19f32016e127aca08f1f5dee040871352d6954a7da0dae2ebbd581e12bd839bb4548d929fd2cd63927f45157648c1547a0d13108dd17592a43ca8cdfaf513
MISC metadata.xml 4455 BLAKE2B 363932f1e96bca4ca00696a00ce913d54150f3ff09ec4c4ae27fcc01aa789796aa70ab33900e1a4550a142d04b0c9e3eaa98358de0e3ed84b1ed0b5b7c1f9870 SHA512 63ce1f49ebefeba67baa28d144f85913ab4d3731dd9e7ca10d717d758a69f4cf6e03597902b7c308e1a755921727c5f8b915dcb5f60a99f929cdb302a865512f
EBUILD homeassistant-min-2021.3.4-r2.ebuild 10050 BLAKE2B f1e03de76e26039914efbc5a984bbde6cb3225026f01a3eb7142065cb3e6f19785b63227df4353c20cbb145eeb0f42e919a5bda20e695eecd61aff625195a7aa SHA512 d8a43204f61dfb2dc36880320d4c5bbb1e33decc3fb8b2156bd4099198900513fac8291f3f0786b1b1ce8b3c621be476381de13599592086e997e2dd3698e385
MISC metadata.xml 4532 BLAKE2B 42a7c0549fe361d587e23f980ba1c8bd57370a3419dbddf91836b681ba9669af6c0260d1360835dbc749066e178f58bc5387a82cc28b5a206928c72bec22b57a SHA512 9110d6a9e5df61510be43c54da19d7a9a9ff6b23dca9d37cfbdb5579e0445c43bae6aa3fc407d579d8461fdf6c2152f795e3c194b5e23fec85ce11525241a1a1

View File

@ -0,0 +1,222 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1 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 3.7 & 3.8"
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="androidtv axis +caldav cli coronavirus darksky +dwd_weather_warnings enigma2 esphome fronius github +homekit hyperion influxdb kodi maxcube mikrotik +mobile_app +mqtt +mysql +notify_events +otp owntracks +ping +plex +python_script qnap qvr_pro +recorder +rest samsungtv +scrape shelly signal_messenger +snmp socat sonos +sql +ssl systemd tasmota test tradfri +version +wake_on_lan workday yamaha yamaha_musiccast +zwave"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# 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/aiohttp-3.7.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.14.13[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-21.2.3[${PYTHON_USEDEP}]
~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.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-1.2.0[${PYTHON_USEDEP}]
~dev-python/grpcio-1.31.0[${PYTHON_USEDEP}]
>=dev-python/h11-0.12.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.41.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20210302.6[${PYTHON_USEDEP}]
>=dev-python/httpcore-0.12.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.16.1[${PYTHON_USEDEP}]
~dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
~dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
~dev-python/pillow-8.1.1[${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.3.0[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2021.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
~dev-python/requests-2.25.1[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.4.4
~dev-python/sqlalchemy-1.3.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.28.8[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
RDEPEND="${RDEPEND}
~dev-python/colorlog-4.5.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"
# Module requirements from useflags
RDEPEND="${RDEPEND}
androidtv? ( ~dev-python/adb-shell-0.2.1[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.57[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-43[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.7.1[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
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.3[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.5[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
github? ( ~dev-python/PyGithub-1.43.8[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-3.4.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] ~dev-python/PyTurboJPEG-1.4.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.0[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.14.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.1[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.3.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] ~dev-python/emoji-1.2.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.1[${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.3.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-2.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.4.1[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.12[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-5.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.23[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-1.6.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.3[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.6.1[${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/pysonos-0.0.40[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.3.23[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
tasmota? ( ~dev-python/HATasmota-0.2.9[${PYTHON_USEDEP}] )
tradfri? ( ~dev-python/pytradfri-7.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.4.2[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.10.5.2[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
zwave? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}] ~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.4.2[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.10[${PYTHON_USEDEP}]
~dev-python/coverage-5.4[${PYTHON_USEDEP}]
~dev-python/jsonpickle-1.4.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.812[${PYTHON_USEDEP}]
~dev-python/pipdeptree-1.0.0[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.10.1[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pylint-2.6.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.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.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-6.2.2[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.12.0[${PYTHON_USEDEP}]
~dev-python/respx-0.16.2[${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

@ -26,6 +26,7 @@
<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="homekit">Integrate HomeKit controller and accessory in Home Assistant</flag>
<flag name="hyperion">integrate your Hyperion into Home Assistant</flag>
<flag name="influxdb">transfer sensor data to a local InfluxDB database</flag>
<flag name="kodi">control a Kodi multimedia system</flag>
<flag name="maxcube">eQ-3 ELV MAX Cube Python API</flag>