homeassistant-0.97.1
This commit is contained in:
parent
e5c8c1c22f
commit
429f94b283
@ -12,9 +12,11 @@ DIST homeassistant-0.96.4.tar.gz 4172463 BLAKE2B 0af16b8b8f28ed97f5610e92dba3d43
|
||||
DIST homeassistant-0.96.5.tar.gz 4172926 BLAKE2B 91cedc199dbce262d252e7df9abdf46d680f2593675dd802d2be7a5ea777e4e5f77c6f22fe3b926e72c000ccae84017c4a75e75836b709d5ff1f28d86d0ce78c SHA512 f52d129bfd0ea9ee9599ee07c3ba953ed5c061bddf90fadcf6d48aa786c757118552fc8cde0955cbe859a32095808fef5c25794e18aae1e8e03badf56a272d68
|
||||
DIST homeassistant-0.97.0.tar.gz 4241344 BLAKE2B 29675b83b02a54f5d4631d09ca6efd12c3a62115d6baf38cfab6f5fcbf79a979cbf5bef347f36f165818bd641c248fee8cebbbbe0cf8d62dedfd61f144652470 SHA512 9b208267d7c61277139bcbcac9886fb2bf3ac882a613db092142f3f19ad795552155e7add823f76b157cd32d2e30afc635dfef4c61ebb1b261eea2aab1cb6642
|
||||
DIST homeassistant-0.97.0b3.tar.gz 4241456 BLAKE2B 9807ae2ee343ec6ce13fad0c1147db2b005290abad12758ab54429c8f5d7668ec39d490273fe2a493ea89ed6c08484157a7cf996c51f7a84d425650332354fdb SHA512 79abc0619f0d110580a9497e4196c11d9667524390501e305dac12c973b9a39345d8637232878f78d43490272919699e60c67cd1587bedaa02153e9c6370425d
|
||||
DIST homeassistant-0.97.1.tar.gz 4241539 BLAKE2B bac723c1c63f2b93ae9caa6ce37836dec3d211836e421cf9de9b4a276a6b24c4fd0b62bebae4b3771dde22d7ba8124f845e0b002a2e0ab5944d0d3916db6ab43 SHA512 4355c9fca0ca6c387cf18e74b541df753fb7fae33a79e5a8e1db2d091ba482581a1ce96c7891e66351732376a6765d8d11a5db17fa11f6fe536c4b7899547d91
|
||||
EBUILD homeassistant-0.96.3.ebuild 9713 BLAKE2B 8f92b5490d94dd8acda9f894a76b89487ed1d51c52e78bc7323d038b1f974f8357de19cf2fcf621a925593db7cc37fe586d1bbed20b44feb57c4385f18312c3a SHA512 89ce458e7765be828a6038f41d10546041466aa8bdae4f25863f3745b1b8f2868b3dba6acb9f64b07052889d7f142c4915d6485f96da8d90b64b8eddf83d7887
|
||||
EBUILD homeassistant-0.96.4.ebuild 9987 BLAKE2B 9b455c68c96e1c90dfbb78870594a6b7cf0ca20219c137fe8d5e08640d4dba1eb485857bd6c9d82cb5cb685670dbb0fa5e3be470ffefa1ee1fbf7e424fd455c4 SHA512 289e77cba4e11e12552bb97bd940ff2b04b95f98a1dce99ee36b4e8874c44a1c623e302f1f3cb32ec0f9ac5632eaa9f008fcfa9170e0a868b4866320d02a9015
|
||||
EBUILD homeassistant-0.96.5.ebuild 10091 BLAKE2B 84d2abc22e9e1924655a61d8679d38ca03eb3bef6166576888cb62b951fce17dc7fe980bb0ff82d73b876e3df255ef1c396a902152cf319528c1cc7851187203 SHA512 45328058cd35d1daa149e82ef29f949ed1ac13069e54a8847c9e5ca0eb80a748cead63f5314ff01b944822c2e7b4ce67a11599b123364ecdc76a16693d7dbb00
|
||||
EBUILD homeassistant-0.97.0-r1.ebuild 11430 BLAKE2B 98ee1d3c83cb2097033757eb1a314ad9100d179d345332592156a9c1d73a55a6c8d606951e1e652fcde409642c348decd48869abab07d812b23cffa65efec1f2 SHA512 3628178ca346c016192865b10491ea8330d11ed4105efdc73f6551d2a5e5a7a158a61e483aa745db4c09445138556642e9441f3ad172ec8e1ca2f9ba3f4242a2
|
||||
EBUILD homeassistant-0.97.0_beta3.ebuild 11440 BLAKE2B 5a86ead906a999fcfb5fcfe864e39c831d74917889ea1d195f63019f64cbf9dfdeac4e330af4d98eda40bdd77024a98f874e1fca6f5e2fe1339f1ef2db22d83b SHA512 c5802c150acfc4190cacbacbdb20135e4cb8b29595cb43ff177ee85d0efb17dd916062da50127b10e57dd2eccdd78fa405109cc80a423f1be70873a5ee1488a7
|
||||
EBUILD homeassistant-0.97.1.ebuild 11430 BLAKE2B 9b71e74c17bd67385bea6d561f922395eb4391659c6cbc5960e652dceed651ebc3a9f49aa095bbf15b3fc2a34f3fdf8c654f739ce87b5600b4aa53993b1648fd SHA512 a54c0c3d583d18b1ce1b055d65074de4e4806cfd66dfb6624067cb0ed3b7a01edcefc59dd1202ab8a679f9225c006b294f67ea8dd74efdb132e443b08ef0d506
|
||||
MISC metadata.xml 4025 BLAKE2B c74e3cddf0e25114b46dd0e58be8f9b371e2172b380a65b50603ac62f5b9b2a476898e63f3867e84ad20c2a307220bc0af160de2d6c20e90bbc452f4ba3d2332 SHA512 99333b33d6e0f280063aad32c7519a1af861e15e02f3740f6a94630dafca4bd01bea71165fb71fbe9922c9604eae578140d7ee058c53b24a415e4cc4620cc99f
|
||||
|
275
app-misc/homeassistant/homeassistant-0.97.1.ebuild
Normal file
275
app-misc/homeassistant/homeassistant-0.97.1.ebuild
Normal file
@ -0,0 +1,275 @@
|
||||
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
|
||||
# Distributed under the terms of the GNU General Public License v3.0
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit user readme.gentoo-r1 eutils distutils-r1
|
||||
|
||||
MY_P=${P/_beta/b}
|
||||
MY_PV=${PV/_beta/b}
|
||||
|
||||
DESCRIPTION="Open-source home automation platform running on Python 3.6"
|
||||
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
|
||||
SRC_URI="https://github.com/home-assistant/home-assistant/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="abode androidtv asuswrt atv aurora avea buienradar cli ciscomobilityexpress daikin darksky denonavr enigma esphome everlights envoy fronius +frontend growl homekit homematic homematicip hpilo hs100 hue maxcube miio mikrotik mqtt musiccast +mysql qnap roku rxv samsungtv sma socat sonos shodan speedtest ssl test tradfri ubee unify vera wemo wink wwlln xknx z-wave zigbee zoneminder"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
!app-misc/homeassistant-bin
|
||||
|
||||
app-admin/logrotate
|
||||
dev-db/sqlite
|
||||
dev-libs/libfastjson
|
||||
>=dev-libs/xerces-c-3.1.4-r1
|
||||
>=dev-libs/xml-security-c-1.7.3
|
||||
~dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
|
||||
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
|
||||
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
|
||||
~dev-python/attrs-19.1.0[${PYTHON_USEDEP}]
|
||||
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2019.6.16[${PYTHON_USEDEP}]
|
||||
~dev-python/contextvars-2.4[${PYTHON_USEDEP}]
|
||||
~dev-python/cryptography-2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/immutables-0.9[${PYTHON_USEDEP}]
|
||||
~dev-python/importlib-metadata-0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
|
||||
~dev-python/passlib-1.7.1-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
|
||||
~dev-python/python-slugify-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyyaml-5.1.1[${PYTHON_USEDEP}]
|
||||
=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
|
||||
~dev-python/ruamel-yaml-0.15.99[${PYTHON_USEDEP}]
|
||||
~dev-python/voluptuous-0.11.5[${PYTHON_USEDEP}]
|
||||
~dev-python/voluptuous-serialize-2.1.0[${PYTHON_USEDEP}]
|
||||
|
||||
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}]
|
||||
~dev-python/beautifulsoup-4.7.1[${PYTHON_USEDEP}]
|
||||
~dev-python/blinkpy-0.14.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto3-1.9.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/botocore-1.12.115[${PYTHON_USEDEP}]
|
||||
~dev-python/caldav-0.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
|
||||
~dev-python/cffi-1.12.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
|
||||
~dev-python/colorlog-4.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.4.0[${PYTHON_USEDEP}]
|
||||
~dev-python/docopt-0.6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/ecdsa-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/envs-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/future-0.17.1[${PYTHON_USEDEP}]
|
||||
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
|
||||
~dev-python/hass-nabucasa-0.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ifaddr-0.1.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/jose-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
|
||||
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
|
||||
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.16.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
|
||||
~dev-python/pillow-5.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.6.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/PyChromecast-3.2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
|
||||
|| ( >=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
|
||||
~dev-python/pyhaversion-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-19.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyotp-2.2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pysnmp-4.4.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
|
||||
=dev-python/RestrictedPython-4.0_beta8[${PYTHON_USEDEP}]
|
||||
~dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
|
||||
~dev-python/sqlalchemy-1.3.5[${PYTHON_USEDEP}]
|
||||
~dev-python/transitions-0.6.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-3.6.4-r1[${PYTHON_USEDEP}]
|
||||
~dev-python/tzlocal-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/user-agents-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/vobject-0.9.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
|
||||
=dev-python/warrant-0.6.1-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.54.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/websockets-7.0[${PYTHON_USEDEP}]
|
||||
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/zeroconf-0.23.0[${PYTHON_USEDEP}]
|
||||
>=media-libs/mutagen-1.42.0
|
||||
|
||||
abode? ( ~dev-python/abodepy-0.15.0[${PYTHON_USEDEP}] )
|
||||
androidtv? ( ~dev-python/androidtv-0.0.18[${PYTHON_USEDEP}] )
|
||||
asuswrt? ( ~dev-python/aioasuswrt-1.1.21[${PYTHON_USEDEP}] )
|
||||
atv? ( >=dev-python/pyatv-0.3.12[${PYTHON_USEDEP}] )
|
||||
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
|
||||
avea? ( =dev-python/avea-1.2.8[${PYTHON_USEDEP}] )
|
||||
buienradar? ( ~dev-python/buienradar-1.0.1[${PYTHON_USEDEP}] )
|
||||
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
|
||||
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
|
||||
daikin? ( ~dev-python/pydaikin-1.6.1[${PYTHON_USEDEP}] )
|
||||
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
|
||||
denonavr? ( ~dev-python/denonavr-0.7.9[${PYTHON_USEDEP}] )
|
||||
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
|
||||
esphome? ( dev-embedded/esphome
|
||||
~dev-python/aioesphomeapi-2.2.0[${PYTHON_USEDEP}] )
|
||||
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
|
||||
envoy? ( ~dev-python/envoy-reader-0.8.6[${PYTHON_USEDEP}] )
|
||||
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
|
||||
frontend? ( =app-misc/home-assistant-frontend-20190805.0[${PYTHON_USEDEP}] )
|
||||
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
|
||||
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
|
||||
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
|
||||
homematic? ( ~dev-python/pyhomematic-0.1.60[${PYTHON_USEDEP}] )
|
||||
homematicip? ( ~dev-python/homematicip-0.10.10[${PYTHON_USEDEP}] )
|
||||
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
|
||||
hue? ( ~dev-python/aiohue-1.9.1[${PYTHON_USEDEP}] )
|
||||
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
|
||||
miio? ( ~dev-python/python-miio-0.4.5[${PYTHON_USEDEP}] )
|
||||
mikrotik? ( ~dev-python/librouteros-2.2.0[${PYTHON_USEDEP}] )
|
||||
mqtt? ( ~dev-python/hbmqtt-0.9.4[${PYTHON_USEDEP}]
|
||||
app-misc/mosquitto )
|
||||
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
|
||||
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}] )
|
||||
virtual/mysql )
|
||||
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
|
||||
roku? ( ~dev-python/roku-3.1[${PYTHON_USEDEP}] )
|
||||
rxv? ( =dev-python/rxv-0.6.0[${PYTHON_USEDEP}]
|
||||
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] )
|
||||
samsungtv? ( >=dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] )
|
||||
sma? ( ~dev-python/pysma-0.3.2[${PYTHON_USEDEP}] )
|
||||
socat? ( net-misc/socat )
|
||||
sonos? ( >=dev-python/pysonos-0.0.22[${PYTHON_USEDEP}] )
|
||||
shodan? ( ~dev-python/shodan-1.13.0[${PYTHON_USEDEP}] )
|
||||
speedtest? ( ~net-analyzer/speedtest-cli-2.1.1[${PYTHON_USEDEP}] )
|
||||
ssl? ( dev-libs/openssl:0
|
||||
app-crypt/certbot
|
||||
net-proxy/haproxy )
|
||||
tradfri? ( >=dev-python/pytradfri-6.0.1[${PYTHON_USEDEP}]
|
||||
sys-devel/autoconf:2.69 )
|
||||
ubee? ( ~dev-python/pyubee-0.7[${PYTHON_USEDEP}] )
|
||||
unify? ( ~dev-python/aiounify-10[${PYTHON_USEDEP}] )
|
||||
vera? ( ~dev-python/pyvera-0.3.2[${PYTHON_USEDEP}] )
|
||||
wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] )
|
||||
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
|
||||
wwlln? ( ~dev-python/aiowwlln-1.0.0[${PYTHON_USEDEP}] )
|
||||
xknx? ( ~dev-python/xknx-0.11.1[${PYTHON_USEDEP}] )
|
||||
zigbee? ( ~dev-python/zigpy-deconz-0.2.1[${PYTHON_USEDEP}]
|
||||
~dev-python/zigpy-homeassistant-0.7.0[${PYTHON_USEDEP}]
|
||||
~dev-python/bellows-homeassistant-0.9.0[${PYTHON_USEDEP}]
|
||||
~dev-python/zha-quirks-0.0.20[${PYTHON_USEDEP}] )
|
||||
zoneminder? ( ~dev-python/zm-py-0.3.3[${PYTHON_USEDEP}] )
|
||||
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
|
||||
~dev-python/homeassistant-pyozw-0.1.4[${PYTHON_USEDEP}]
|
||||
~dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}]
|
||||
~dev-python/cffi-1.12.2[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
|
||||
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
|
||||
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
|
||||
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
|
||||
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
|
||||
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
|
||||
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
INSTALL_DIR="/opt/${PN}"
|
||||
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
DOC_CONTENTS="
|
||||
The HA interface listens on port 8123
|
||||
hass configuration is in: /etc/${PN}
|
||||
daemon command line arguments are configured in: /etc/conf.d/${PN}
|
||||
logging is to: /var/log/${PN}/{server,errors,stdout}.log
|
||||
The sqlite db is by default in: /etc/${PN}
|
||||
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
|
||||
"
|
||||
|
||||
S="${WORKDIR}/home-assistant-${MY_PV}"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
enewuser "${PN}" -1 -1 "$INSTALL_DIR" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's;astral==1.5;astral>=1.5;' \
|
||||
-i "setup.py" \
|
||||
-i homeassistant/package_constraints.txt
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc ${DOCS}
|
||||
distutils-r1_python_install_all
|
||||
|
||||
keepdir "$INSTALL_DIR"
|
||||
|
||||
keepdir "/etc/${PN}"
|
||||
fowners -R "${PN}:${PN}" "/etc/${PN}"
|
||||
|
||||
keepdir "/var/log/${PN}"
|
||||
fowners -R "${PN}:${PN}" "/var/log/${PN}"
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
|
||||
|
||||
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/${PN}" || die
|
||||
fi
|
||||
|
||||
if use mqtt ; then
|
||||
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
|
||||
|
||||
dobin "${FILESDIR}/hasstest"
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user