homeassistant-0.101.3

This commit is contained in:
Andreas Billmeier 2019-11-06 01:10:29 +01:00
parent 612d4a6c37
commit 3f02b17a82
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 286 additions and 1 deletions

View File

@ -14,6 +14,7 @@ DIST homeassistant-0.100.3.tar.gz 4569043 BLAKE2B 7382c098b7e0468713add85e74e0ae
DIST homeassistant-0.101.0.tar.gz 4700309 BLAKE2B 3bb36ebbe6d5b53766f5154b35b5ceebf68d34ad8aab99917d66e6d6fe0f2cd04196eb9cad3efc565fcf2e327e6172dfa1f49b96d39523cdd5cd2f0af1904b2a SHA512 bc3d3a49014167be884a27e6e770e49865b37a783e5005f89c31b13c1b0ec9d3ed2e777408a16111f4b8b55281c1f731bc0d00e9e41a89dcaf44bf3405202096
DIST homeassistant-0.101.1.tar.gz 4700217 BLAKE2B 0a3146f93007c89dcefc7358fae2deb59ee2055c32d7db8c0f46a554ea63bfbf2019579b56cb038c852959116504a441fe76257fecdfd84e527d5eecc815e76d SHA512 7d314a10fe519e89b5f71c356dc1e191864e36b95d0b2fd2cf8a155bba66a6c6cf689a3668438428be60434318d157e8430b426222aa98652fa2573a7421c705
DIST homeassistant-0.101.2.tar.gz 4700923 BLAKE2B 77ebc4b2f5cac65dfda2eb8d98e3dc9172eb11e746356bf9a5d5d4ebccde34b14845777bbc176be87e13583a9e1cfecb7abf3572b26adb63d8abcab21bbc496d SHA512 e83aa9b66eff6f294fcbcb31ed5ec66be983089a4cef8dcefd4b0a1dcf6af1cf49295e06e3c2b45724788572d79da288263cd8e3a6704d935d1a1a5979118712
DIST homeassistant-0.101.3.tar.gz 4701442 BLAKE2B 9c98eab744bf80b113b52ace904809978e59629cf2115bdb3ecf778021a0283fe3c4e747694bed5e42193775b22e6c6817b09d90e7aaf0705601cbfa56e29989 SHA512 23f1e41dd17c48d93c93147b0b5511edc66bf268e04fd06a2b683db1cbb9ecffe15f0247f58e9123ba0b055c8245daf3af05b33e5c5f0dfb06b8b61a85fb573b
DIST homeassistant-0.98.5.tar.gz 4290704 BLAKE2B 2328d50bd1d216a751ba5c5d19f0e54427c7f56be50a7f1c4a49d67cf1735d86393dfa9f366b1bd38706aa8192d4f390664a1e9c3562f7ff59f057c97b15d3f6 SHA512 1e9363d9c8569b7c169481c6dd8fcc6510262559379789f40af7f94664d44a2a1b3482b2d58141feaf78620b5e8b2d1f04017a0330bf35d2808b5f74f98a7785
DIST homeassistant-0.99.2.tar.gz 4407132 BLAKE2B 785fd49ae5001a8ff55ec70433542b482831aabba8164c53c11496cf7b3fa508b7d2c1e91a74c33871d11f7580a2fc2cdba40f66f7dbb7e689f416c884b287ad SHA512 48817c7256674970a93a4b8155269482b30150e907ac73506ed2a1bf7e4c3730214a14225f38d209e9c62888cbed889e4898769cdd2187470aba8dd9173af332
DIST homeassistant-0.99.3.tar.gz 4407163 BLAKE2B b0e4845d927109b1bc7fc2f8c6833d464d2dbc09d5d92c1b09cde5136e94fa468c042bfe5b799f059285842b4fbc530d052c7ca199a8d7d9a2c335d17907ce16 SHA512 44594cdea80334043dd14256fba8c2ceda09a9b572ae956008345e95bb6e150eacd3e2119f1a8caa8de513f8e34b784573372f9daa542d107564777a79f10ee4
@ -24,6 +25,7 @@ EBUILD homeassistant-0.100.3.ebuild 11984 BLAKE2B dc24b2f4bd876d0850401f0910f27d
EBUILD homeassistant-0.101.0.ebuild 12006 BLAKE2B 2cde2aa0d25d8a4721e196e05754d11055544e61b1b7151a28d98fd6228018d13abc4ef63ccb897fb87d1d63a22553c94a083fb7b49bed463978ac8cd9c71270 SHA512 f23cc3b64d5b014375f2f44dab235a1c529aa1d91765663dd78482e19093ba3c38c6293594b61be7ecf844fe750e62bb58a3d5db1e4392a0b0bf5546521d87d6
EBUILD homeassistant-0.101.1.ebuild 12006 BLAKE2B 2cde2aa0d25d8a4721e196e05754d11055544e61b1b7151a28d98fd6228018d13abc4ef63ccb897fb87d1d63a22553c94a083fb7b49bed463978ac8cd9c71270 SHA512 f23cc3b64d5b014375f2f44dab235a1c529aa1d91765663dd78482e19093ba3c38c6293594b61be7ecf844fe750e62bb58a3d5db1e4392a0b0bf5546521d87d6
EBUILD homeassistant-0.101.2-r3.ebuild 11975 BLAKE2B 834ada779432d5de7e7f0bef35bc43dc7101d784efa507ef907c4a9ba51abab4ef87dc0b6e7775b8e2a34b92f819c72a78b41be7c788dfcb89df69b98b6127d4 SHA512 004a3b21041e5ff50d17982587a70a19cdf95905f6dc07a604663ffa4fe8a4a2a07276f65e1040162a945ccfb5f98d9bfcfb39c6d54e640713104bc8f663c3ad
EBUILD homeassistant-0.101.3.ebuild 11975 BLAKE2B 834ada779432d5de7e7f0bef35bc43dc7101d784efa507ef907c4a9ba51abab4ef87dc0b6e7775b8e2a34b92f819c72a78b41be7c788dfcb89df69b98b6127d4 SHA512 004a3b21041e5ff50d17982587a70a19cdf95905f6dc07a604663ffa4fe8a4a2a07276f65e1040162a945ccfb5f98d9bfcfb39c6d54e640713104bc8f663c3ad
EBUILD homeassistant-0.98.5.ebuild 11614 BLAKE2B 8701e2ee1ccdc026380e4748cf04f21137328abec3c5b79323f4d46da06ad38aba4951d66c75a7643805095ff9f35b6fc8ed540124929f706af5f081e040ff6a SHA512 256465b32eaaad6f7a05ac3244b327325f803c652b8ed27ababb2192a1fb92810dc9d858783afb95fecbb89fcbec5b6c04c475137d42cbeb6a0b93203622bbde
EBUILD homeassistant-0.99.2-r1.ebuild 11616 BLAKE2B 33eddd4d8bb93c40be90ae8e11bdc5d9d32df74e8cd4204a8f81117372800aca53664e9eb88ca729929bbddfd61880fb350592a0f935f43bfea3b22980486adb SHA512 a585fe6cf0aeb8300cf685c1be475f02a3629b46d54987ce5114811d4a5da136584a7febd8682f83081ab1d5c94e21bc4a5b247ee671da5666709245e4ad16d9
EBUILD homeassistant-0.99.3-r1.ebuild 11670 BLAKE2B 4ba7f41bab710e76626c2a88e1a68eabfcced5ae602a042b529d2bdd2519d850aaa3c74ffda94883d7167ed350f0397d229174f3b65ed07da58228fec9a2e2d4 SHA512 bbcc1c24b9b0ee278fe266d97e54db36000fb0d93c9590a7e76bf2b2cc2bfd1a8988e27441a31289271d1e4235b0897b1c61f2e952ec78d6bc24f6a82b0e941e

View File

@ -0,0 +1,280 @@
# 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 python-single-r1 user readme.gentoo-r1 eutils # distutils-r1
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 on 3.7 (and 3.6 for a short time)"
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 atmo atv aurora avea buienradar cli ciscomobilityexpress daikin darksky denonavr enigma esphome everlights envoy fronius +frontend gpiozero growl harmony heos homekit homematic homematicip hpilo hs100 hue maxcube miio mikrotik mqtt musiccast +mysql openwrt qnap roku rxv samsungtv sma socat sonos shodan speedtest ssl test tradfri ubee unify vera wemo wink withings wwlln xknx youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS}
!app-misc/homeassistant-bin
>=dev-lang/python-3.6.5
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.9.11[${PYTHON_USEDEP}]
~dev-python/contextvars-2.4[${PYTHON_USEDEP}]
~dev-python/cryptography-2.8[${PYTHON_USEDEP}]
>=dev-python/immutables-0.9[${PYTHON_USEDEP}]
~dev-python/importlib-metadata-0.23[${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.6[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.1.2[${PYTHON_USEDEP}]
=dev-python/requests-2.22.0-r1[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.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.8.1[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.14.2[${PYTHON_USEDEP}]
>=dev-python/boto3-1.9.233[${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.22[${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.17.3[${PYTHON_USEDEP}]
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-6.2.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.3[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.0.1[${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.1.0[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-19.0.0[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/PyQRCode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.11[${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-5.0[${PYTHON_USEDEP}]
>=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.10[${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-r1[${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.32[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.21[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-2.3.2[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${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.10[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.4.2[${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-20191025.1[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.1.13[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${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.61[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.12[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-1.9.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.6[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-2.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/hbmqtt-0.9.5[${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 )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] )
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.4[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( >=dev-python/pysonos-0.0.24[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.19.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.3.1[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.7[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-11[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.6[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( =dev-python/withings-api-2.0.0_beta[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2019.10.22[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.6.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.10.0[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.6.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.10.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.0[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.26[${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
}

View File

@ -35,8 +35,10 @@ After some experiments, i decided to compile the required modules **only for Pyt
## Migration
was easier as i thought.
- unlock Python 3.7 code in /etc/portage/profile/use.stable.mask (see example)
` -python_targets_python3_7
-python_single_target_python3_7`
- take [package.accept_keywords](https://git.edevau.net/onkel\
beh/HomeAssistantRepository/raw/branch/python37dev/etc/portage/package.accept_keywords/99_homeassistant) and [package.use](http\
s://git.edevau.net/onkelbeh/HomeAssistantRepository/src/branch/python37dev/etc/portage/package.use) from my dev box and copy it to `/etc/portage`
@ -44,7 +46,8 @@ s://git.edevau.net/onkelbeh/HomeAssistantRepository/src/branch/python37dev/etc/p
- start `emerge --ask --changed-use --deep @world`
- already installed packages could require 2.7 and 3.6 targets, OK, i had to allow 18 of them, we'll clean this up later:
` >=dev-python/asn1crypto-0.24.0 python_targets_python2_7 python_targets_python3_6
` /etc/portage/package.use/99_local:
>=dev-python/asn1crypto-0.24.0 python_targets_python2_7 python_targets_python3_6
>=dev-python/async_timeout-3.0.1 python_targets_python3_6
=dev-python/attrs-19.2.0 python_targets_python2_7 python_targets_python3_6
>=dev-python/cffi-1.12.2 python_targets_python2_7 python_targets_python3_6