This commit is contained in:
parent
e714a82d89
commit
70f4a4fdae
@ -15,7 +15,6 @@ DIST homeassistant-0.97.0b3.tar.gz 4241456 BLAKE2B 9807ae2ee343ec6ce13fad0c1147d
|
||||
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 11423 BLAKE2B af8f2d22cd6162b3f98143f889f3dac35729c25d3c5f0bd87ee55d4390fd6381ea252d6e67ec7628f95976398cec6a00bff26e202338996817eeabde4a7ade82 SHA512 185e0f85d88995299250124b30c09f9e8fdac5ec0d67ac7afbfc0f791710078b133599cb33935fafbe1197e15bdafabaed874629f4fb2988b1fa3a12a265a732
|
||||
EBUILD homeassistant-0.97.0.ebuild 11439 BLAKE2B 53dbba00a7caecf2aeccd699769e46529252e7c8f29401af5b0f225c3fe701cb8121192b1c83f926b18917fe4f2ad508347863eacbc0cd82a07751ba5e5a8671 SHA512 df178dc6fc6ecba692887ed44645ef65135b9d1aab68dd102c8220c1f65eed76383704cad365cdd35dcbf3f2f6d159a2a1cc3c5ba63f23894d92eb9f52617269
|
||||
EBUILD homeassistant-0.97.0-r1.ebuild 11430 BLAKE2B 98ee1d3c83cb2097033757eb1a314ad9100d179d345332592156a9c1d73a55a6c8d606951e1e652fcde409642c348decd48869abab07d812b23cffa65efec1f2 SHA512 3628178ca346c016192865b10491ea8330d11ed4105efdc73f6551d2a5e5a7a158a61e483aa745db4c09445138556642e9441f3ad172ec8e1ca2f9ba3f4242a2
|
||||
EBUILD homeassistant-0.97.0_beta3.ebuild 11440 BLAKE2B 5a86ead906a999fcfb5fcfe864e39c831d74917889ea1d195f63019f64cbf9dfdeac4e330af4d98eda40bdd77024a98f874e1fca6f5e2fe1339f1ef2db22d83b SHA512 c5802c150acfc4190cacbacbdb20135e4cb8b29595cb43ff177ee85d0efb17dd916062da50127b10e57dd2eccdd78fa405109cc80a423f1be70873a5ee1488a7
|
||||
MISC metadata.xml 4023 BLAKE2B faecd86a97957810f9dadf199a41aba166c6ea08dea128de1ca0a405e68effd512d8e0f6fad7db5aeffb7c13b3c84ea3b4ec215bb5437e3272a799a5c5eb7eca SHA512 5db7695b7104c1caa172e63479bf6d22e7135a259718090a43d42e26d040adeaeb8852be47a0decd7de26049c53bb870fd4bd8de6c09447cbfc9ccdf7aba42ba
|
||||
MISC metadata.xml 4025 BLAKE2B c74e3cddf0e25114b46dd0e58be8f9b371e2172b380a65b50603ac62f5b9b2a476898e63f3867e84ad20c2a307220bc0af160de2d6c20e90bbc452f4ba3d2332 SHA512 99333b33d6e0f280063aad32c7519a1af861e15e02f3740f6a94630dafca4bd01bea71165fb71fbe9922c9604eae578140d7ee058c53b24a415e4cc4620cc99f
|
||||
|
@ -260,7 +260,7 @@ python_install_all() {
|
||||
fi
|
||||
|
||||
if use mqtt ; then
|
||||
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}"
|
||||
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
|
@ -1,277 +0,0 @@
|
||||
# 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.1[${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"
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
|
||||
|
||||
dobin "${FILESDIR}/hasstest"
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
if use mqtt ; then
|
||||
sed -i -e 's/# need mosquitto/need mosquitto/g' "/etc/init.d/${PN}"
|
||||
fi
|
||||
if use socat ; then
|
||||
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "/etc/init.d/${PN}"
|
||||
fi
|
||||
|
||||
}
|
@ -42,7 +42,7 @@
|
||||
<flag name="rxv">Library for Yamaha RX-* Receivers</flag>
|
||||
<flag name="samsungtv">Support for Samsung TV Sets</flag>
|
||||
<flag name="sma">add Support for SMA Solar WebConnect</flag>
|
||||
<flag name="socat">Install socat & socat-zwave startscript</flag>
|
||||
<flag name="socat">Install socat and socat-zwave startscript</flag>
|
||||
<flag name="sonos">Sonos Media Player Support</flag>
|
||||
<flag name="shodan">Shodan is a search engine for Internet-connected devices</flag>
|
||||
<flag name="speedtest">spedtest.net support</flag>
|
||||
|
Loading…
x
Reference in New Issue
Block a user