update homeassistant-0.116.0_beta2

This commit is contained in:
2020-10-04 10:13:57 +02:00
committed by Andreas Billmeier
parent d624b127af
commit 5eaeabeff6
9 changed files with 1655 additions and 77 deletions

View File

@@ -15,6 +15,7 @@ DIST homeassistant-0.115.5.tar.gz 7548209 BLAKE2B a507cd3cd5f8c24f69896445b3015d
DIST homeassistant-0.115.6.tar.gz 7548699 BLAKE2B f39970dad3adcdf9926556c9989e21803ca116d30c1062ed8da3881c92aedf2e068449e1d95dc0b48a04427f1318a607d55a294d4e13ada58793ac134f1d70af SHA512 f780dd438d165a0b02e8c9566734851b59e9f1e5da6525416765b41c91a0a2c30429f9ba71b48a0b6aa3f29429c6d5b1eff6a217d5aaee23cbba1bab42736147
DIST homeassistant-0.116.0b0.tar.gz 7734809 BLAKE2B 2242de35284c4d717a0c4af4c8c0356e97e0630fb06d48f2fbe24ad21e4d68ea0248d7f51c28873fb5c2c55f054bc279783a3c59bda9a2c87b7f74a7aed41fdc SHA512 791b5ee7c90e0576d528a6dd49645d1fd5ddc2e9fd1f52ca0d2f9916edd3d07b167a1d52a73ed4375012a09244ae3aea7af16801bdfdd5b94bc33b4830a7ee52
DIST homeassistant-0.116.0b1.tar.gz 7737501 BLAKE2B 7616c25c5cc8ca690bdbbd200f8af80fa8494b1d52b765ffedf9466a105ab66a454c660fab6b3c72788bf2fbe40175ec6c98639efc8c4aca442907891dc395f1 SHA512 908ec1b1cc5f3f3a4332c72de08caf03542444045220b2c02ae8f45933e5c85ad14085122880d52625cd9db3ecda34d4dcd4ebe2c042a2edabf57104074200c5
DIST homeassistant-0.116.0b2.tar.gz 7739679 BLAKE2B 28b637940a0304c0cbc610f0f1f7316d92594709fd24527058ff527a0ad0c4c40c102ecdb216e81d99d41bf85213a7c8ead25b00965c8a3c2e75ba09d770960a SHA512 421f4418a585c29f26a4751706e774d033e756f7c9f9b0b9b2b8547e2e38ba7b57b0e8cb18145b30df41160a8ca0e24bbf8bb0eaa94a66381e2f887c72b2c103
EBUILD homeassistant-min-0.115.2.ebuild 9336 BLAKE2B 0b6aa030d202022461bab9240c6e781236a2fc0ef3327a264b528e23f84c2528537ae44dd12e02fe744fb3c0df217107a2ca47b63c3919fd6a9c796748630edd SHA512 96622965030b4872c08c78f76b524bcbc81edc1d49362b31c896ff6e7067e428e6e71c0064f759068a5004dc103ca282639da6b4165517b683daad4f3e55dae5
EBUILD homeassistant-min-0.115.3-r2.ebuild 9442 BLAKE2B 394ff68ee52220d03851d44b5d015e4df6edc473d0ad3eaf0b1d0ad308d07dae31106b8f9baa0fc98094c4f599dc97bc554bd45dfa20380e65778079409fc183 SHA512 831e6ea135b2f93ea774891e9f9bd23f1432962f855f6a05a48641858e9c5dd025b97d6a2e50265dcc39a8e65f7969a60f73d7780fc622769b1f036d7acef667
EBUILD homeassistant-min-0.115.3.ebuild 9516 BLAKE2B 929e26de8dfaf2744213dd0334cc39f44cb9826e4f406de933d755a55134b2ca9961225384c0e8daf7cc097c408075f9a1e7b8170daced21479abd64cdede42e SHA512 5cffd75f4fee95159ac0a291aeb0f168843023d78b2ac895c2ade8ca81edf0f9a438c875784c48bf990a191dbe4b6e46cbdfbcba0d0b0d080cdeb054c6cf0bd3
@@ -23,4 +24,5 @@ EBUILD homeassistant-min-0.115.5.ebuild 9686 BLAKE2B 275f99aa66552a5763e3343f89c
EBUILD homeassistant-min-0.115.6.ebuild 9714 BLAKE2B 66e671ebade9988c3a8846b4e502ba4851707b402ad5f2f99f56cb83d5f19a05a83c0a22d505af2e9e096238b746f2cf75002e71e9878ee5a58af2418c2e95b5 SHA512 de43d1dd6be9cee2027829350b16b53c6896d920263fea2d7aa89f161c0a54a0915368bcc6f71942dd959fa2dd002964e050aaa83d4e5c47c196d7928b15ac34
EBUILD homeassistant-min-0.116.0_beta0.ebuild 9716 BLAKE2B 61057f3eb09846986eb0aa68905efc566948b20414b68f90efe947dc24297e06027c318f5a0483e6c6f9f42031974593c68e87faff3b68a1b90e9450fd1ad9a5 SHA512 27e5e071731976ff59f5a85987b4f2dfa1a5feacb304be2ae901f74ec164e12ed57531076532d4fc90a6412b559c78d362c5d58463e5c1a776599281bebe6347
EBUILD homeassistant-min-0.116.0_beta1.ebuild 9716 BLAKE2B 5165fc8795b0e7a671abca7c055be932ca83272d91cf72e1e3d43ddbca0c1c740845817bbc7f7405848827d56b0f3b1253969ff7347ea2d8ca48147c0913c6e4 SHA512 f94350bd64f5bbe82af1507ce2af7407f0aacc42cc45d493a74f440aa22340950a167cd97f0f7768457972dab23339e257eefe15458863cb91ca54efacec23ed
EBUILD homeassistant-min-0.116.0_beta2.ebuild 9716 BLAKE2B 50b64fa0fe0bcf4e3233fd7af86738a0c77d95d3a81e607483379f3fc85259e8adfd5c113076148aa2325c73cfa36802751f11796e2b8e9a1c89793820a76f92 SHA512 76e881df61ca5018da5eb5b80449a7b73c9b7c97ade708e48828fe0e35ae50a7391ebcb6f5b5f82da446a7a025c0ac28e47fcee94c38064a6358e9a5495ab937
MISC metadata.xml 4179 BLAKE2B 3a485f447b08c66ad7046157bb5b4e1ae3cbbcbd321f819cac5d925872aec22eca23e39b5e255e094d9700a07404af69f5d98c332a5d703387b15d0f55465ad6 SHA512 053e0ae07e0f876db769f25cad733e5c5eefc9860bfd80d6b3295d1017a9ed9f74f3c3f976405d957d9be85a1da13fafe4805157a9dd4678a087617b4263326e

View File

@@ -0,0 +1,222 @@
# Copyright 1999-2020 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
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 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="androidtv axis +caldav cli coronavirus darksky +dwd_weather_warnings enigma2 esphome fronius github +homekit influxdb kodi maxcube maxcube_hack mikrotik +mobile_app +mqtt +mysql +notify_events +otp owntracks +ping +python_script qnap +recorder +rest samsungtv +scrape shelly signal_messenger +snmp socat sonos +sql +ssl 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.6.2[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.6.20[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/grpcio-1.31.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.37.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20201001.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
~dev-python/jinja-2.11.2[${PYTHON_USEDEP}]
~dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
~dev-python/pillow-7.2.0[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3[${PYTHON_USEDEP}]
>=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-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.12.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.5[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
RDEPEND="${RDEPEND}
~dev-python/colorlog-4.2.1[${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.50[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-37[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.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.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.3[${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.0.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}] )
influxdb? ( ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.0[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.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-0.5.4[${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-1.1.3[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.19[${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.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.1[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.3.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/pysonos-0.0.33[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
tradfri? ( ~dev-python/pytradfri-7.0.2[${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.3[${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/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.9[${PYTHON_USEDEP}]
~dev-python/coverage-5.3[${PYTHON_USEDEP}]
~dev-python/jsonpickle-1.4.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.782[${PYTHON_USEDEP}]
~dev-python/pipdeptree-1.0.0[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.7.1[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pylint-2.6.0[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.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.0.2[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.12.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"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
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}"
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
}