homeassistant-0.102.0_beta3

This commit is contained in:
Andreas Billmeier 2019-11-20 17:44:40 +01:00
parent 16ba54c687
commit fd12579d64
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
7 changed files with 44 additions and 859 deletions

View File

@ -1,4 +1,4 @@
2019-11-20
2019-11-20 homeassistant-0.102.0_beta3
* add pyversasense-0.0.6
* bump frontend-20191119.0
* add pyRFXtrx-0.24.0
@ -7,6 +7,7 @@
* add requests to RDEPS of pyAtome-0.1.1
* fix LICENSE string of dev-python/aiobotocore
* rename (again) unused home-assistant-frontend-20191119.1 to current home-assistant-frontend-20191119.2
* bump homeassistant-0.102.0_beta3
2019-11-18 homeassistant-0.102.0_beta2
* update pyatmo-3.0.1

View File

@ -1,5 +1,6 @@
AUX 0.102.0_beta1-maxcube_TypeError_dirty_hack.patch 1460 BLAKE2B 08570971bb3ce4c120086a32ec2048796d705dd3958cf89b28e744089a51531c967c5c54f3deb9c0a39ba68d93e062550c0af44eedf464922ee55435cb01ceac SHA512 1c7a2c45a7eefe6e6cb1b9354e94a0fe0afcfa09f519f6d6237359f67545a438cccf53121850ebf5258519d0adeb3e653159d41f5aea398e5c8f7a8ed07081a5
AUX 0.102.0_beta2-maxcube_TypeError_dirty_hack.patch 1460 BLAKE2B 08570971bb3ce4c120086a32ec2048796d705dd3958cf89b28e744089a51531c967c5c54f3deb9c0a39ba68d93e062550c0af44eedf464922ee55435cb01ceac SHA512 1c7a2c45a7eefe6e6cb1b9354e94a0fe0afcfa09f519f6d6237359f67545a438cccf53121850ebf5258519d0adeb3e653159d41f5aea398e5c8f7a8ed07081a5
AUX 0.102.0_beta3-maxcube_TypeError_dirty_hack.patch 1460 BLAKE2B 08570971bb3ce4c120086a32ec2048796d705dd3958cf89b28e744089a51531c967c5c54f3deb9c0a39ba68d93e062550c0af44eedf464922ee55435cb01ceac SHA512 1c7a2c45a7eefe6e6cb1b9354e94a0fe0afcfa09f519f6d6237359f67545a438cccf53121850ebf5258519d0adeb3e653159d41f5aea398e5c8f7a8ed07081a5
AUX hasstest 72 BLAKE2B 219dc5045193bbbf18f91d37d90072304c3f9937ac55337b692fcb03adea8e3fc63b3852b928d40b13162172d22f712feedb088d3d9b54c9b199a01c7446c865 SHA512 57491109c03926f0ab0a1cd3f55da0faac1afafc0ba405b4244652376d4da943227c17b1bf6b136dea151649cf02caf51d9aa49581addffc8ccf4c80d3c43c9c
AUX homeassistant.conf.d 289 BLAKE2B f4a85e5a451a254a8ef39ae481275eb93b52df645d5b5c5801fee30aa548b9ccc0eacc9fb5256793d819dabe7b53f6ff5809798d0cf771464d56aae5a58332d2 SHA512 db860c0c66d0ea66eae08e62befc07d06ccea37a2ab89280328faa54ef6cc0623a65257e7806c72b1afe608e502566ca4ee8ac7de3547705ee6394184b5da110
AUX homeassistant.init.d 922 BLAKE2B 0ff290187ca08f0a2afe011e9284f91c25722f4d2a97e4d26cf6cf06b56f66caa30c777bf1b4f7a32ebdde644a3d8b2e5c625bd86f70601548d886deb54c9a50 SHA512 78328ec822f43c04b614e63b27625c0fff75419203080b651c881ea91ea00dc32eb62273c23e3e150a5c22c952bcd86a929b10e92a0e3b24540d2ae66909216d
@ -16,11 +17,10 @@ DIST homeassistant-0.101.0.tar.gz 4700309 BLAKE2B 3bb36ebbe6d5b53766f5154b35b5ce
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.102.0b0.tar.gz 4814811 BLAKE2B 7ac9e89c47db77758ee72f3e8d6fbb3eb5099f26476bc5f00e881a8d0879076f8c3040afb0042d7636107c5873c8ea5b8df909cfb3c1a7620b19d414a520d1ba SHA512 db5909f07b0138ccb7e210182d634a587116873bd8fdb22a9635c67a44a09ffdc1e111a8a177326a558293cc475c1fd73378b4bd9bee4d8789bedefe940c5b13
DIST homeassistant-0.102.0b1.tar.gz 4815262 BLAKE2B fdcd51f4568d29d5b6a615db74a3e64f070a4185acb36ea406db1c027a51e7886b06df77977a07185eaf9e065fb1491ef461fb20fdf6f6bc11755fae93c8a85a SHA512 1305771bc7d2f4c29100df164edbda1403d6f78583fec40b499ec7e3b8d3ba6e1e913297bc9726087e251ec4be6c3c44beadc23b6e482e26d15ca2a73322fbe3
DIST homeassistant-0.102.0b2.tar.gz 4814583 BLAKE2B 28c519515543e5610258e54f329ff7b699c61070c2772c0eba3099eb1b5cd308814c226746416d8a398ee2b78f0c3fea1bb4214f387bafa08c53d614c2968a9f SHA512 0eb1216495853ab833bf7d079df3d13e9a332f45b647bcbae88416c549003846d361a3e1fb9fb9f54ecd65feb9b5ec13edba8e44b6424a8fcb2e6499298de10b
DIST homeassistant-0.102.0b3.tar.gz 4815046 BLAKE2B 8f71600338cef319ad62d4877cbab3b21d94932b919f1400c246ef02bf377c55693c0d1c4d191a973a793221657589c0d2582fb81cbb1b91af664f41120723e8 SHA512 bff209d0a70ddae132530edeabf742fad10f5d1c75ab04deac32ead7180f9dc57f198d2fa0db2e5a97323e21d1a6a79b9953558397c1b6a285468b9b079ecfcd
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
EBUILD homeassistant-0.100.1.ebuild 11833 BLAKE2B 59ef17e4463c652dc0fd3f735401d4b854eed2fd233d9dd77955b6d36eab6f9c18e5c36836700f643dc76408254f454961f3ab0ca631cfcfbace5a529cec2ce9 SHA512 666f1f7e90224898f1350f7331a2942b9ac4edde159cd0a3d11467e29b1b0667e8dcd420b9c7988a5b400ee4da28438f21003bc015d9cc3958cc3edd27e7fec2
EBUILD homeassistant-0.100.2.ebuild 11911 BLAKE2B fe02bb07db1d289d8ae47b6e4c6b70c51032297686214d24a408afa260992370de1d723653536ee8a805f8a463da7c4c0206facff1bc4dd94732a4b580a9a9f8 SHA512 9c1b39604859a264843d021129ca466371a32b0d254075f2975812a7d351d2fece263be1b378ab23c66237d9ebdc78599e65109f216468c4f6ced52689ccb816
@ -30,12 +30,9 @@ EBUILD homeassistant-0.101.1.ebuild 11933 BLAKE2B 01010bb232228428a6a475bd801e4c
EBUILD homeassistant-0.101.2-r3.ebuild 11929 BLAKE2B 7bf07bd6cd224cfc7d0cbf79a1f451f39aebdc069a88f53ddfebb5ebf412827ca4e365075235fe9c13202dd2563d28537b2d636e5fd754cdbab2fda08a8e9023 SHA512 c6b61b400994fcc096d3ab682a6d84ab054ad7e3ef0c6ab1f1633ec15b2aebfadac929997c30e4dfb7f10f91d50d2b90af195d0250821683fda3fbfc599bbe00
EBUILD homeassistant-0.101.3-r2.ebuild 11927 BLAKE2B 1ecc0d9a3ba3904f1aefa40196ad7aa75e5107e2b1ae575bc200221b87689a7858e808af7de2243625510e36ad9fd9f8c0c656fc7f37e20827544df4a31a1866 SHA512 4160c2175da423d397a4e5e71119fca77d81edafe8acff467b28a7b52925dd97641fb13e19fb35d7bc7399ee93e97f728041dcb0faba499c3b4c9796418a7986
EBUILD homeassistant-0.101.3.ebuild 11928 BLAKE2B c46bf284470f40ccca25894d7a77821cc11fe64137db3eaf376206a9010adb413e3939fc7456242a410a24b0abcd5e5fc083306ba3720dfe27574f86df4b5533 SHA512 9799414b87d98bbed80c45513589d5ce8796f45e6198acc3e2ef507d6ea182867d3275510cf31f75ca3bff6bcd5b8e5121cc8f0c08f476aa61aad407e0fb2872
EBUILD homeassistant-0.102.0_beta0.ebuild 12399 BLAKE2B e230c6f00a89fd6fbb712d3ec7c426732b5f4a7f5d533a8049f567ccc216e82f2200a1329ea349afa0afd92299b9a5418665ffec2fc9562ee03b94742b0151fc SHA512 6392cd02e453ff71bcf467bb1bb4ff2cd278043b8e588106364bc3f04271010b5286832b58a561c20e2648191daed983f203c0f1db83d2e13b662a0f9d525ed5
EBUILD homeassistant-0.102.0_beta1-r1.ebuild 12827 BLAKE2B 8b0b1036cde7fb6b3479bea4eaf3d996ea7d167c6c67ba6cc0a95e9a97bb3dd4c097849805488f7e5aece27eb033d9c6ef5c30098170b2d44040dc441ec82f78 SHA512 fa09c06a38f141c8296bcda40de44c2b85e2364f28d01b7a69fda00ece762b344544795d1e1354e81a56cb343d9479d48cdb266ff277c587119fe0bf405ecd33
EBUILD homeassistant-0.102.0_beta1-r2.ebuild 13004 BLAKE2B c8500b938d67372662dc00ab7cfc440538694c79397a9928ab99b0731f559d681bd9b097f2f2d947105c5ab434289d70c73ba79689d660b30b29d64ef1193838 SHA512 8136efb41337e52f270b853402eb01a26c45211bc093556749af32b94340f1c2a56c720cb3ed06d140a1c775e8602f54139b3116d91cecea94b801fc6a98cf9f
EBUILD homeassistant-0.102.0_beta1.ebuild 12401 BLAKE2B 387924de43dc7a0d9197b14994096e8ac7b9dee8e08be7416d1281b066117ddd3814bd974764e1349b70876333f26c9900db96a2f26c2f68ea7207dd2704a6cf SHA512 6fbbbcc38a0ad78a1dc4bfe7a99a9e3260fe4a39f7a3d8c8cc9d93368b1dcebf586df4f9a0701bfa0bc1c28556f4b313b12b8892a321a6aba8703fdf8f0587a0
EBUILD homeassistant-0.102.0_beta2.ebuild 13123 BLAKE2B b62e50c55c30937af89555f4d27cb17f7e82c7a8bcaf32ac1b3a1ad764c5f2082af3ed03ccc5df92a78c426818f0645a74858830596cdac356d078229472c5ae SHA512 b948718fc536e2c4b3d6bc3f0eab3f2cfa1caeaea3f5e1b2e9a37c3f4ee13885282ebb6002045b4680b41a3380a17e4ad07b8cd36ec2846815b393cdce609493
EBUILD homeassistant-0.102.0_beta3.ebuild 13123 BLAKE2B d261d368a9387b4f35802688b696fa356b5688a2a22ea6af483d6ff98757324d98d6b64b5e7dc9441cd4ee5fd0eed86fe66e45b2b1a5065f5851db551a46f33a SHA512 1ec73bbd59a0ada59263f750b9cec0691ed524a41eed46f8a2feb6f5c9c2503443ff0981c93a4bfd6a20306ba33b0e2fba4a153d0a85b3d0cbdafa96ae8e8f10
EBUILD homeassistant-0.98.5.ebuild 11541 BLAKE2B c0d4841dc7a2333d9af5a1fdbd8c9cf5a78afa2e421918a49e19a9b281b8fb8cc7a1a4966876cf04dc9fffbd8ed6527ba880e99bfc2b8ba38c95292cae0c9c26 SHA512 c508e499c26eb8f9ef97988146a143cce2fd4fc3dc9fbbf92dc2e73a410d249d9638fa6a25463fa724600a84943ee4f838fa35b451f3b9a884e499e1deb2e4ec
EBUILD homeassistant-0.99.2-r1.ebuild 11543 BLAKE2B e0fc994b5a9da01d27a368fe5e10873eb5b7878411b7cf9ad9f999cc1407b2cba36b07a8885efb7aa7fc76e5b23a46cf80880ca948070ca879d783705200473e SHA512 ecbe4f37bcbbe85697cdbc0193a4fad14f44d0a4a65172feb6238dea35f37e35d26fdc9f15d1bd65bad7672a939bed363967f11d4f99fd728db23211fdc16c6d
EBUILD homeassistant-0.99.3-r1.ebuild 11597 BLAKE2B 65bbf98426a0b46622751ccde3b66c1a695af92e89df66f1b7af54652d9c9d91ce182c291e4a46236cf6e0d15cca10bf7e8a1e31aa95dfe88a8d1a034fc50ba5 SHA512 04481e5478db3fe2bf1bad15e8c0a19676d68b608200188a2bdae7f9a747687518cf78db33bf93e4f20da7ade10ca49a1d2b34a91a3d455c63f1fa15a93b5781
MISC metadata.xml 5605 BLAKE2B 758101eb5fe98c6fe57f4a519fbd51fcb8085a1bdf1731c46fc7b5b5edca54b2600a7c9216c39b751f277e8679154af4bbf754a118b0ddb83924a16dacbe56ed SHA512 4309bace02577488409de4c4219501b4ee57d51f8e2d612467073b36a812c4e85b949fbcef502060e44a28dabb06222d13684fefabb9c479e996609c0ffd5326

View File

@ -0,0 +1,28 @@
diff --git a/homeassistant/components/maxcube/binary_sensor.py b/homeassistant/components/maxcube/binary_sensor.py
index 639b670..8a02649 100644
--- a/homeassistant/components/maxcube/binary_sensor.py
+++ b/homeassistant/components/maxcube/binary_sensor.py
@@ -17,7 +17,8 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
name = "{} {}".format(cube.room_by_id(device.room_id).name, device.name)
# Only add Window Shutters
- if cube.is_windowshutter(device):
+ # if cube.is_windowhutter(device):
+ if device.type == 4:
devices.append(MaxCubeShutter(handler, name, device.rf_address))
if devices:
diff --git a/homeassistant/components/maxcube/climate.py b/homeassistant/components/maxcube/climate.py
index e09dfc2..40df857 100644
--- a/homeassistant/components/maxcube/climate.py
+++ b/homeassistant/components/maxcube/climate.py
@@ -36,7 +36,8 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
for device in cube.devices:
name = "{} {}".format(cube.room_by_id(device.room_id).name, device.name)
- if cube.is_thermostat(device) or cube.is_wallthermostat(device):
+ # if cube.is_thermostat(device) or cube.is_wallthermostat(device):
+ if device.type == 3 or device.type == 1:
devices.append(MaxCubeClimate(handler, name, device.rf_address))
if devices:

View File

@ -1,286 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
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"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="abode ambiclimate androidtv asuswrt atmo atv aurora avea buienradar cli ciscomobilityexpress daikin darksky denonavr discogs enigma esphome everlights envoy fronius +frontend gpiozero growl harmony heos homekit homematic homematicip hpilo hs100 hue incomfort maxcube miio mikrotik mqtt musiccast +mysql openwrt plex qnap roku rxv samsungtv sma socat somfy sonos shodan speedtest ssl test tradfri ubee unify vera wemo wink withings wled 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.3.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.3[${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-4.0.0[${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.29[${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.5.0[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-6.2.1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${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.12[${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.16.7[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.32[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.0.8[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${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.4[${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}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.5.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-20191108.0[${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}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.7[${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}] )
plex? ( ~dev-python/PlexAPI-3.3.0[${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 )
somfy? ( ~dev-python/pymfy-0.6.0[${PYTHON_USEDEP}] )
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.2[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0
app-crypt/certbot
net-proxy/haproxy )
tradfri? ( >=dev-python/pytradfri-6.4.0[${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.1.3[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.1.0[${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.11.05[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.11.0[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.7.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.11.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.0[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.27[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${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

@ -1,286 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
#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"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="abode ambiclimate androidtv asuswrt atmo atv aurora avea buienradar cli ciscomobilityexpress daikin darksky denonavr discogs enigma esphome everlights envoy fronius +frontend gpiozero growl harmony heos homekit homematic homematicip hpilo hs100 hue incomfort maxcube miio mikrotik mqtt musiccast +mysql openwrt plex qnap roku rxv samsungtv sma socat somfy sonos shodan speedtest ssl test tradfri ubee unify vera wemo wink withings wled 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.3.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.3[${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-4.0.0[${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.29[${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.5.0[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-6.2.1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${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.12[${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.16.7[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.32[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.0.8[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${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.4[${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}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.5.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-20191114.0[${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}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.7[${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}] )
plex? ( ~dev-python/PlexAPI-3.3.0[${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 )
somfy? ( ~dev-python/pymfy-0.6.0[${PYTHON_USEDEP}] )
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.2[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0
app-crypt/certbot
net-proxy/haproxy )
tradfri? ( >=dev-python/pytradfri-6.4.0[${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.1.3[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.1.0[${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.11.05[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.11.0[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.7.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.11.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.0[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.28[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${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

@ -18,7 +18,7 @@ SRC_URI="https://github.com/home-assistant/home-assistant/archive/${MY_PV}.tar.g
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="abode ambiclimate androidtv asuswrt atmo atv aurora avea axis bitcoin blockchain buienradar cli ciscomobilityexpress daikin darksky denonavr discogs enigma enocean esphome everlights envoy fronius +frontend gpiozero growl harmony heos hkavr homekit homematic homematicip hpilo hs100 hue incomfort influxdb maxcube miio mikrotik mqtt musiccast +mysql openwrt plex qnap roku rxv samsungtv sma socat somfy sonos shodan speedtest ssl test tradfri ubee unify vera wemo wink withings wled wwlln xknx youtube z-wave zigbee zoneminder"
IUSE="abode ambiclimate androidtv asuswrt atmo atv aurora avea axis bitcoin blockchain buienradar cli ciscomobilityexpress daikin darksky denonavr discogs enigma enocean esphome everlights envoy fronius +frontend gpiozero growl harmony heos hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb maxcube maxcube_hack miio mikrotik mqtt musiccast +mysql openwrt plex qnap roku rxv samsungtv sma socat somfy sonos shodan speedtest ssl test tradfri ubee unify vera wemo wink withings wled wwlln xknx youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS}
!app-misc/homeassistant-bin
@ -54,7 +54,8 @@ RDEPEND="${PYTHON_DEPS}
>=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/boto3-1.9.252[${PYTHON_USEDEP}]
~dev-python/aiobotocore-0.10.4[${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}]
@ -123,7 +124,7 @@ RDEPEND="${PYTHON_DEPS}
androidtv? ( ~dev-python/androidtv-0.0.32[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.0.8[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-2.3.2[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.0.1[${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.4[${PYTHON_USEDEP}] )
@ -143,13 +144,14 @@ RDEPEND="${PYTHON_DEPS}
enocean? ( ~dev-python/enocean-0.50.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-20191114.0[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20191119.2[${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}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.9.11[${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}] )
@ -254,6 +256,11 @@ src_prepare() {
-i "setup.py" \
-i homeassistant/package_constraints.txt
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/${PV}-maxcube_TypeError_dirty_hack.patch"
fi
eapply_user
}

View File

@ -1,276 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
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"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE="abode androidtv asuswrt atmo atv aurora avea buienradar cli ciscomobilityexpress daikin darksky denonavr enigma esphome everlights envoy fronius +frontend growl harmony heos 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.19[${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.3[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.1.2[${PYTHON_USEDEP}]
=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.2.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.0[${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.17[${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.1[${PYTHON_USEDEP}]
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-6.1.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.2.7[${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.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[${PYTHON_USEDEP}]
>=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.8[${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.27[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.21[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-2.2.1[${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-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-20190919.0[${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.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.3.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.4[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( >=dev-python/pysonos-0.0.23[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.15.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.4[${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-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.1[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.3.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.8.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.9.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.23[${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
}