homeassistant-0.95.2
This commit is contained in:
parent
188007a0bc
commit
c8f19bab93
@ -10,9 +10,11 @@ DIST homeassistant-0.94.4.tar.gz 4030369 BLAKE2B 1e1719e871128f5fd4919a93d8392fd
|
||||
DIST homeassistant-0.95.0.tar.gz 4118848 BLAKE2B e9e7af29cae5e660d0ea3f80a4e51fd8d3efddc61607274a4d69e4d4d944369879bfd883aa11c3b8e9edd69c137b3d9a3e504db998748b0c49aa211e0e777843 SHA512 71700b8c68e92e70ac4beafe4080798c9c462fe0e8509671bc8c38c2ca39a20bf700158de461ee1bfc8ed3c235242bce1daff7f6b17987dae30364115731bb7c
|
||||
DIST homeassistant-0.95.0b4.tar.gz 4118684 BLAKE2B 620ea8b0eb7b1dac88521dd8cd6cdfc9f89498243f0fb59746bfcd73b2d99be7ee1b7f8e6ecfa0870479eed815e55e95a1b58cc29fa38167dc03f3aec47b82a3 SHA512 a5c82a05786c20e91f94063c41f1bb2acc05a0494e1b7a03e56bf8cd719a1b7fe8fd49cb81146be74c36b609b7035670737bd6e07fface71af5e963bb7fd765f
|
||||
DIST homeassistant-0.95.1.tar.gz 4118985 BLAKE2B 2ddad2079c5924eca24672dc1c66b6f253ce91dacb7f7e0aabb65971cc9ade70a9373d218c236b4509f28d6918f20874383cb1f444bf71a7713dfffb2a51b0f3 SHA512 edbd775df54d7097e511d556fb6bc0425a75235d147fb7b81c5efe84e637584cebffd5ef8c593cd4f4959456cf8a3482c579004598ae7078be1af39c09203beb
|
||||
DIST homeassistant-0.95.2.tar.gz 4119045 BLAKE2B c64c4dd3f808affe7a3d76638aaddb8f4b5f1bda44a28cc22ffd22f67c3bb277706a5fbcac8a7362810b27d9d129f6eb0fb2c0c861dca1a9bf585750a71d4be0 SHA512 a98161e7d01411e1dd4133415fd60c9b5359b2fee07fbcf0d9c4f0714286af0d548c887fa9c9d62e4b6f2240b5d216dd9cdaa6a7f8e67b49f23457dc3355c6ae
|
||||
EBUILD homeassistant-0.94.3.ebuild 8919 BLAKE2B 14c0e728953103f7ba335f26012695ccc6207103dacdf9ca8b24663ab01f9b9ea8c9b5de09e5fe17a123045502ac3fceadf784a24e719c9af5e0ce39e311ad55 SHA512 55dd89fd7968163bed91a339920abc4611a2580c09a1d678d10540934db801b6d6208e3d11adc30c248acc540df0c1071b21ff3e3798d44bdcc85a00854b462a
|
||||
EBUILD homeassistant-0.94.4.ebuild 8919 BLAKE2B 14c0e728953103f7ba335f26012695ccc6207103dacdf9ca8b24663ab01f9b9ea8c9b5de09e5fe17a123045502ac3fceadf784a24e719c9af5e0ce39e311ad55 SHA512 55dd89fd7968163bed91a339920abc4611a2580c09a1d678d10540934db801b6d6208e3d11adc30c248acc540df0c1071b21ff3e3798d44bdcc85a00854b462a
|
||||
EBUILD homeassistant-0.95.0.ebuild 9267 BLAKE2B 77de8ac3592dadf8b315d73572bb744551877e3fd868dc40b4487f3e0ef5aace4b0d3af85d8e56c55a2a145b53a458481240c3e70e10bd4fe470240d27e606d6 SHA512 342be072e5ebe1697f331d72de4f2431c9c381ce13ba2b3151b1e026d9a96824d18df8bb45295b4ee0a3f138973730f0e91ab64aa07b0c9f3627e3aba51b1363
|
||||
EBUILD homeassistant-0.95.0_beta4.ebuild 9268 BLAKE2B f1e2800ded93d47e01f3fc9dfec91dd2f9ae5d4074478937f0d1af28c73e2b9fd500508887114cdf63b88f74590ae4236dd53e06a6e93f4658dfdc4aede94c94 SHA512 a41141ea2e1cd528bca6bd90623674e793e13b39e7524ec6429bf73fbdb836d9738df9bfcf0204345fd5e28fa830ba4e9169a483d8a8bfefdadaa838fa7603af
|
||||
EBUILD homeassistant-0.95.1.ebuild 9267 BLAKE2B 07be5d1caf0c99e822f483219d824111d2d2b4e80d799bbd8254e0d844ae81698b45ca0ab57b91d1d2ff641e901350849c557964a2e33c3171b3c5ef60810315 SHA512 6675637203d7c267e9bcb1f1efb2a072c7593a4e60a466fd4dd0d3e26eeba8e5e8668a6ab53e8b1fbbd11c3989af82668c3dca920b0852be3d5aa5726a3b3e12
|
||||
EBUILD homeassistant-0.95.2.ebuild 9320 BLAKE2B 3dcc80473a212eada739943d631a0aa11cb3930e51cb2f3aade1c958742f45f09fd0bb2453800cf0a102a3aef8521fed500e3f5689fe925a1b97c24596815044 SHA512 8ac2b8a6d691be374dd694d8ef643da0ec911178bd66e6b251a6f4c782f5f07313b1c96e3fcbbdcd59c6b9400c8af9da97816e62dafa2278f621cc0f727f5aaf
|
||||
MISC metadata.xml 2282 BLAKE2B 9af19c530829983407288b01ae2c62bea6fd46f2af4cddcf55d62f8bff067981bb301af9937542bb2e7133d416571c67f74aedc5b1beae9fa387efa2146047e0 SHA512 c10462eeb02314e948cb3c531ca247ff615b442d4983f2ab3652f5323bc9f57dc56c914acad1a9305fa7ce91701d85b6f8bb4494b3edce9d0a5ccbd0ee8b1ef7
|
||||
|
234
app-misc/homeassistant/homeassistant-0.95.2.ebuild
Normal file
234
app-misc/homeassistant/homeassistant-0.95.2.ebuild
Normal file
@ -0,0 +1,234 @@
|
||||
# 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="androidtv asuswrt atv darksky denonavr esphome enigma +frontend homematic hs100 maxcube miio mikrotik musiccast mysql mqtt qnap rxv samsungtv sonos ssl speedtest test tradfri vera wemo wink zoneminder zigbee z-wave"
|
||||
|
||||
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.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2019.6.16[${PYTHON_USEDEP}]
|
||||
~dev-python/importlib-metadata-0.15[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
|
||||
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
|
||||
~dev-python/cryptography-2.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/passlib-1.7.1-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
|
||||
~dev-python/python-slugify-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
|
||||
=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
|
||||
~dev-python/ruamel-yaml-0.15.97[${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/asn1crypto-0.24.0[${PYTHON_USEDEP}]
|
||||
~dev-python/cffi-1.12.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-19.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
|
||||
~dev-python/hass-nabucasa-0.15[${PYTHON_USEDEP}]
|
||||
|
||||
>=dev-python/aiohttp-cors-0.7.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/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/idna-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ifaddr-0.1.6[${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.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pillow-5.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/PyChromecast-3.2.2[${PYTHON_USEDEP}]
|
||||
|| ( >=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
|
||||
>=dev-python/pyotp-2.2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pysnmp-4.4.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
|
||||
=dev-python/RestrictedPython-4.0_beta8[${PYTHON_USEDEP}]
|
||||
~dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
|
||||
~dev-python/sqlalchemy-1.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-3.6.4-r1[${PYTHON_USEDEP}]
|
||||
~dev-python/transitions-0.6.9[${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/websockets-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.54.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
|
||||
atv? ( >=dev-python/pyatv-0.3.12[${PYTHON_USEDEP}] )
|
||||
androidtv? ( ~dev-python/androidtv-0.0.16[${PYTHON_USEDEP}] )
|
||||
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
|
||||
denonavr? ( ~dev-python/denonavr-0.7.9[${PYTHON_USEDEP}] )
|
||||
esphome? ( ~dev-python/aioesphomeapi-2.2.0[${PYTHON_USEDEP}] )
|
||||
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
|
||||
hs100? ( >=dev-python/pyHS100-0.3.5[${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}] )
|
||||
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
|
||||
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
|
||||
mqtt? ( ~dev-python/hbmqtt-0.9.4[${PYTHON_USEDEP}]
|
||||
app-misc/mosquitto )
|
||||
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}] )
|
||||
sonos? ( >=dev-python/pysonos-0.0.16[${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 )
|
||||
frontend? ( =app-misc/home-assistant-frontend-20190626.0 )
|
||||
homematic? ( ~dev-python/pyhomematic-0.1.59[${PYTHON_USEDEP}] )
|
||||
asuswrt? ( ~dev-python/aioasuswrt-1.1.21[${PYTHON_USEDEP}] )
|
||||
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
|
||||
speedtest? ( ~net-analyzer/speedtest-cli-2.1.1[${PYTHON_USEDEP}] )
|
||||
vera? ( ~dev-python/pyvera-0.3.1[${PYTHON_USEDEP}] )
|
||||
wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] )
|
||||
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
|
||||
zoneminder? ( ~dev-python/zm-py-0.3.3[${PYTHON_USEDEP}] )
|
||||
zigbee? ( ~dev-python/zigpy-deconz-0.1.6[${PYTHON_USEDEP}]
|
||||
~dev-python/zigpy-homeassistant-0.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/bellows-homeassistant-0.8.1[${PYTHON_USEDEP}]
|
||||
~dev-python/zha-quirks-0.0.17[${PYTHON_USEDEP}] )
|
||||
z-wave? ( ~dev-python/pynacl-1.3.0[${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}"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user