bump homeassistant-0.108.3

This commit is contained in:
Andreas Billmeier 2020-04-12 10:44:27 +02:00
parent d876fd89e8
commit e11c0e0da9
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
10 changed files with 50 additions and 2166 deletions

View File

@ -1,4 +1,4 @@
2020-04-12 homeassistant-0.108.2
2020-04-12 homeassistant-0.108.3
* bump python-synology-0.5.0
* bump fontend 20200406.0
* bump HAP-python-2.8.1
@ -44,6 +44,7 @@
* update homeassistant-0.108.0
* update homeassistant-0.108.1
* update homeassistant-0.108.2
* bump homeassistant-0.108.3
2020-04-05 homeassistant-0.108.0_beta3
* add tesla-powerwall-0.1.4

View File

@ -9,14 +9,7 @@ AUX socat-zwave.init.d 637 BLAKE2B d61c1024a6fe3ce8d322e62ac1ec15e00d08f5c5a63fe
AUX update-homeassistant 1326 BLAKE2B 917bdd332c4e5dea5177eecd11a7f8d72b911fddfdc8e5eb54960c526fe8c735e20d44e570cf7aeb99669d2a9670c70da1c5fbc30efb284d1f0f330799de6e24 SHA512 3c05f0d6d1bde0e1526c3e679568794c07091e7856dfd8793e13feec6f22725ddaa3163ca2c81d9df86cf73573f932e561743f05de420b350a0b68f6a9582aca
DIST homeassistant-core-0.103.6.tar.gz 4890872 BLAKE2B b34b73fe2a3f4e28ec6fac7b680d7311a4992b09aac36c93daeb50f9429f973b5436df029204ede4ab9c09c84a9b7054c0c705678500668ae5202fec52c41a27 SHA512 1d71d3dbe929d87b47b305a9dc5d4590783f6893e5998cb8db6c0587dc6614c02d06edcb2d0199bcd14bc81beb9cec0e9c91fc00db8ca3d008b617a8e4bf2081
DIST homeassistant-core-0.104.3.tar.gz 4985783 BLAKE2B 4f0d29e0e9e3003081513ffdeb58824bd4f8aa3a83034be5b8ddedfd01c8b93e4e88391f665fd81be29712ecdced1e63e071aafc47f548f7c851b64187394f3c SHA512 73501859e03d6aea1467af3560f3a24a8ccbb98342a26ece7cf324e06dc625ca4b9fbd856c178c654628c038efb07122bc362cec09fe03913a7ad082511afe17
DIST homeassistant-core-0.105.3.tar.gz 5098194 BLAKE2B 68c7efb09f43c6fed21cf830536fbdcaa96f241c03376be6a9a2eb07a3229ff480e43a699b05357e83b57b0c8252e20d6eef2921839499c0f9e526e8801532ea SHA512 5d09c824e7fa5ed611f9d44c4f2d38b9f081b1843a96bf680f43d0db02d146cca20934beb5e8410e486f9d3829af76b5bdf253c75dc27a4a702f438a4e35e58b
DIST homeassistant-core-0.105.4.tar.gz 5098589 BLAKE2B a59d7cd74580760d68e992db8fb14d67bc2baa7a0a024596bd94c54e6ba442e970fa7b7cfd92f7cddbea42502f8a3eb96b24765d210a4efc5a7336854b7cd511 SHA512 35b7d09ecbb10c1439c16a69bf3373b71efaa045f7c27af46e8852ca7bc9d95ba1e7415387aa8705757e2c028c0d8c2b70d4251e2016d6dfa273eec4a8b9c6f1
DIST homeassistant-core-0.105.5.tar.gz 5099173 BLAKE2B 736a47e35e0d107b1a26ae46cba600ad7f0979e3f1dfa4534fcc44d85b7365a89097566141380a96ded6f02eca62d1c41b16fb429afc43036ff66ac430975317 SHA512 9c1d970449de4c40de535e887c629728ce72717337576b7e2a69d886d36c363eb75102eb3b4f666e4786dc816a97013e9883a639b0d378729936e737abc7f058
DIST homeassistant-core-0.106.0b4.tar.gz 5246791 BLAKE2B 5ba32a7d633f4bdbaddbcd6106c4046e8390817d64a8994a7927f4fe50345679501017616c755849c7a9f6c17eeaeb97102bddae0a4a160e383d91f83ed90416 SHA512 a6e79d3d5c063e716576b0f2a07244de48b733b8ef3806a340ff1036f215f40ca692c2ac4b80a03a2707d1940cf8a813c270ab918efd9e013ca135c9f3bdc4a2
DIST homeassistant-core-0.106.1.tar.gz 5255148 BLAKE2B 9763e997e7f1cb5a25c7454c5b0125e39f884b4b3c257f2c93529fc775cbbb1dcb1d17ff2856e7f88336319345296514f5f3ee4c393601f9f24246b145fae3f4 SHA512 445c379c7cce1b3ae4a2a09b6ff6e16c996405c3ef1ce1a50d7e8505b4e26f8bdb5e9ce5cdb0f8dee7b913b9f504b03d220344afd78daacd9b099b39be32b5b3
DIST homeassistant-core-0.106.2.tar.gz 5255006 BLAKE2B 4b977efb4d3006ddb40fac1ef3b93b64a0d044dbe1289ba3a4af2cb2176b0358d948ec3ed1f7aa5b11bd9a1c5d40babfad2ce53f979cd2bc68d051a33b911a55 SHA512 2fbaa4f322704f4cde8c7e6cd68188cd8713c4859a07b33726024f74b26f05a6235d256771bfef22f1dd45df6f306680cb508244748a09c6465ae60df73821db
DIST homeassistant-core-0.106.3.tar.gz 5256137 BLAKE2B f0deedce3145021681d3a2debc36f7b9c4bf5193b10814188283e0ee065b85ea7c1a3a33dd0bf955131996e97a8373b3d5137c20b03f7c7b65df89a1bf0f982b SHA512 7e671d6f87b4ffb49eafcf31f4c2c1deb1910b4638fee091b68f98d02bdc13cd1d793c729e57d7aeca4359c3c4c75fb868f4ff3282048ecf79034dffed01e3bd
DIST homeassistant-core-0.106.4.tar.gz 5257376 BLAKE2B 22c5c0e267606e1d45ad95433f7d7622546c9f956c0b1a24eb97f17432cc2a9dcdf680dbe18ffca9d25309b347a772503416982decfc14f576f3b673d4193788 SHA512 a31be1599e35956884f737503474ac3ee4527525effa5968ec940a22aea6ca24d1a7e362b60f91dc98057bb02ee3c5620ed0e541fb508e7101b8dc6df73bc456
DIST homeassistant-core-0.106.5.tar.gz 5257779 BLAKE2B 4312f5e7ffad02b373e801b1a8b0bbc82bc2d05a22d6f9ec08ef75eaa78482588cf01b78f7618b4a435c0e3dc1c29d6e1f60d468f3dc49ac22d9ec4ec6e9d632 SHA512 f6d2aa14c742590b44b73c301895e781e48c813f3e2a973993bb63e15c2ce2c0da1a439ecf5dad1fc28e18b285ab35133aa3fb6c7da5147163f6bbd256a2fb8a
DIST homeassistant-core-0.106.6.tar.gz 5258028 BLAKE2B 2bd35ef567db4502a54b29fb4bab02ce8444831dc3fecee7dc9b7e34d5aa99958ada8df4fb9ad9d3ebb8f12c8f2cfdf340ec8d11b4cfb1404738da2a4105696c SHA512 21acd85a1bd53ef07a686adb55fb3e6a47dad5a2c6095555ae66ca4074eb757995e682ba3d6c4ebeef10656fa26ece69342de071b3fb86a36cda72096d8773c3
DIST homeassistant-core-0.107.0.tar.gz 5362192 BLAKE2B c244dbf2def9022d0e5b48510468f8eb52d58fd44426a18901612ea80a01010945eceb0ab8191b0ebea9cf171a74852cb1cdb03b28d23a3ec6828e47e862d88f SHA512 b63f320813be49f5ff2d873cec605b0b577200b850dc577a0bd2f5e792e65c2f78285601059562f73d83b5378da3bbcddf529b19252a922b5ed1dda1f5b7bcc5
@ -32,18 +25,11 @@ DIST homeassistant-core-0.108.0.tar.gz 5595360 BLAKE2B 57f75148e483b8fc1bc2e8f34
DIST homeassistant-core-0.108.0b3.tar.gz 5601333 BLAKE2B 263b7705235284d19ccf81ac8b2d20f0143f354f92adf27132fd114cbf41c0fa875f2d65be486dc138cf0df0cc4bf867c39c4afaafd42c74689a725f5f1c1007 SHA512 761001b0026e86a1f2eedd15041aa3f17ec1870f923c1428a2fbd261a759110de07c81430a98bcc37f85f8edc052b7ca7ddbc0f28e033e2a6c162c5bbbe1f9d0
DIST homeassistant-core-0.108.1.tar.gz 5595731 BLAKE2B 346f8a420aeef111e5b31d208e905f5471a00a98838403b56dd68e17ce4a48ac9dea3a7fea364bfc7ba14f7b78834e826b673ae1e8aa57c8a9033b76d195bd28 SHA512 0cc48bcec00fc020aa13e9403e48eff70128a49d0fe5072fa0f758174fb762018cdcf827c1481a48c034f15236c79ef98bcf906e729c725b25f3920ec7ca1c39
DIST homeassistant-core-0.108.2.tar.gz 5597069 BLAKE2B f8f20aa31f87335dfe4a4cd679bc9c3f122fd377b3f3b097bf3ff4e264acac73c11f13ed9b479e57d2e52730e4c91dc8d17c86bfd73a49f0f4de8b83da7163e2 SHA512 3f18f38455efa8c8c06e79ca66fe6bdc9dbc0164990b924327d105a6c81acfca19339a70f4a573c19845ff16f5f9e1a8bf129b41bc442a2328d90e8a93222b7c
DIST homeassistant-core-0.108.3.tar.gz 5597594 BLAKE2B 3901a2709604a9fb04277494cfc6ea75f99b955a82baaa80a0a54c3ab494216c0cb922bf81688e78667cb4f4f502f6d912bead3179bf61386697a03aa6da03b7 SHA512 5da141c82a7a7f452c3ecbeb0aaba67cdeebc8f08b4af46ff6c950e9553270e1e31a8127988e6464fbfa4878b791a5b74e788de898e8c8b6b3021c708cdcf701
EBUILD homeassistant-0.103.6.ebuild 13637 BLAKE2B 858da5035937dc57c1712cad0d74598df903d710380a000c2e4145697f27c3a4527a81d4d7e76a62e44fc1f84d6919d35565edc2bb819a6ba3b385d5d0a3bb66 SHA512 3f0ba31423f9cb15fa879077f8d91b4044bb12aa19c670cb6a7651887bb57f831c5b923290cd6810be8cbaf18a2d0e6623d64f7d331484da20b61ad2862c3e8f
EBUILD homeassistant-0.104.3.ebuild 13644 BLAKE2B ce3456f1fc5d5b1727a33a91716de0dff22b6fb42a6e71bd5c5d94c3f056975f62e7b27928d31f7b7122b0d85cd38ea5173e4d07541b5dd4b2bd764c388f2727 SHA512 b1ce198744d631789a6567a71bc0c31baacc66b8a52e761875b04d3fee672b1c080bb440f51493589fd7de72e19cffe070f725134a6ef5c0b446acf7d35fce8c
EBUILD homeassistant-0.105.3.ebuild 13903 BLAKE2B 9a9af67a40aee71e59f2786f06b2d42390c88d1063a5dad8520e377e12709b463ecfc56e56cc44c1b2848e6369f3ff9fd314aae9f540e97c43b10802a287a98f SHA512 ffe7082b8ae78f16f802f365fcce3a9c3117e5cccaabfae5f0d357bc8e4bb758077cb9178ee96bdf0e67a9cbbada8afe5c3a213d5b379ccb741595af5ce2aafb
EBUILD homeassistant-0.105.4.ebuild 13903 BLAKE2B b4efcbaa730b386136142530a80abe115e269a0989e08e14b8e6bac9b33dfbb088f2308a110f2d1ba99bb7392c277971e96f3313c001437a0ba682de22a96567 SHA512 4488c6bfc4797a0ef058583be6922e5ad33ff698bcb857f3b99aa211227eb59766c3d2ee615468c08529a70b4d5311eeb61afadc398ae5a115aaa2c8aea841d7
EBUILD homeassistant-0.105.5.ebuild 13903 BLAKE2B b4efcbaa730b386136142530a80abe115e269a0989e08e14b8e6bac9b33dfbb088f2308a110f2d1ba99bb7392c277971e96f3313c001437a0ba682de22a96567 SHA512 4488c6bfc4797a0ef058583be6922e5ad33ff698bcb857f3b99aa211227eb59766c3d2ee615468c08529a70b4d5311eeb61afadc398ae5a115aaa2c8aea841d7
EBUILD homeassistant-0.106.0_beta4.ebuild 14719 BLAKE2B e2b0ebb0e4b7484f1d00c2116562d25ee30919bf0a6fdc203b868a6e36b72e17a06750a7e16cbe343fa6cd0aab126bcbf9e45a1c552bb5cebc750c32ab83addb SHA512 485989f933c1921e56848d55ff20dc127c73ccb492fa3d08c1bd7fe630d09e4fe3800784faf79e1f751304f0616b33932c6ce04aaced4b1996e736d0ac44fc70
EBUILD homeassistant-0.106.1.ebuild 14796 BLAKE2B 390a5d013c1cdf644c21c68bc20a951aa973be8c4440eb0cc6febbb4d42fe8423026d88f7bfc2b6ff3f13c37e65b6ea957b76b59e25908d7a2a1eecdefdb87d4 SHA512 6e33e5620f983da35bad911d99530db9288fea464e63c51e40cbb50093f29311edcbf7cf1e4a4d43dd8260c7e8aeb1928d92487e95ffd95be35f81d8b26a2d7b
EBUILD homeassistant-0.106.2.ebuild 14796 BLAKE2B 1b29fb45ec12cd50b971078f721532f833b12fe232128cd37597ed99fb74e02d6fef5a46cbb3478fa58d3deb11b32168f66b4e1000932edba45bca99328003cd SHA512 770f0742e4ade0cb8946a32a5512e980c29c606cc682086134aebcf9cc4d396cdc9b1f0ae4d4d03a9a7659f8bb9238d0bbdf9282a440cb192dd54b2f0086fe82
EBUILD homeassistant-0.106.3.ebuild 14796 BLAKE2B 1b29fb45ec12cd50b971078f721532f833b12fe232128cd37597ed99fb74e02d6fef5a46cbb3478fa58d3deb11b32168f66b4e1000932edba45bca99328003cd SHA512 770f0742e4ade0cb8946a32a5512e980c29c606cc682086134aebcf9cc4d396cdc9b1f0ae4d4d03a9a7659f8bb9238d0bbdf9282a440cb192dd54b2f0086fe82
EBUILD homeassistant-0.106.4.ebuild 14801 BLAKE2B 92cdf3c82e1da074f7f404fda59a6eff960cd6fd336f6d5b2b3651238633b7368c21478fbd000cd2d5ed92de612e7f8629972b824623999678c4a88191841c97 SHA512 9920b6bacc8fcc159c0f52b18eaf1c81e56a917fe1504e4b283d3d1a97232f04535e3483238329c6827cb0256c790967a23b19ce2d0cac5764e6110de35c2b67
EBUILD homeassistant-0.106.5-r1.ebuild 15078 BLAKE2B 464cccf06de6291dd2f8d20bacaf270d7754110e6b8b221e0a347385fb1ea4f41a4e50c89ca2d76acc7356b2a54a583d5e61dc413ab669b709561966e7f10484 SHA512 7c4af6b4f9d0934dddc92375ea6d8f85ad4b9759ec0c49e099807a4b16b52af5a965ae4b138f2754656cfa325a133b4a66910eace02909295b15f593165affd6
EBUILD homeassistant-0.106.5.ebuild 15000 BLAKE2B 389fdfa782097f955b392b31464aae8fb6fd22c963a42deb31f3d4ae07a3c139b2fd0bb8c92ff43f5cf97914228fdaa6c4fa1799234ceafc261a92b44374c220 SHA512 61918d667b528c5640b5efc9e58ddded226d51e8d3e2dd00c2af1d878f9dcd40770e5bf5bb9796f9fbb7affad573a7bf098b21b86c6e5dfc6d7b659ca6730db2
EBUILD homeassistant-0.106.6.ebuild 15078 BLAKE2B 464cccf06de6291dd2f8d20bacaf270d7754110e6b8b221e0a347385fb1ea4f41a4e50c89ca2d76acc7356b2a54a583d5e61dc413ab669b709561966e7f10484 SHA512 7c4af6b4f9d0934dddc92375ea6d8f85ad4b9759ec0c49e099807a4b16b52af5a965ae4b138f2754656cfa325a133b4a66910eace02909295b15f593165affd6
EBUILD homeassistant-0.107.0.ebuild 15005 BLAKE2B 96382c66eb83a496ed8277ac86eb1c12af397313a12e4b9d43b7666d7ecc0befd8889c6dd68766e285131d6931f65e64e12d3077861f16630c3752dc8754a7d7 SHA512 09f3295be58ae5773f0fe3336b1f13991aba5223d29436a5ea29566ab31c30cf82c1fe3b715b5968d27b97ab0e6a0bd72175591b838e87ebe87160a50ede3c34
EBUILD homeassistant-0.107.0_beta2.ebuild 15003 BLAKE2B b139c41e1c7057afe9bc7974e597489668a6ff151a257b35eb189f11c6689bb8ce93430de17e030a65a820a87a4ea607606e36147860a0282bb6ce3e3ec57345 SHA512 34b7aeddbaf36f2806aa86556e6016bac7cb700464b1f1677afaddb1309ab360f4996b10a77873f9808c8562d6306f63c360d37f7579288f5834b814e475001a
@ -57,6 +43,7 @@ EBUILD homeassistant-0.107.7.ebuild 15006 BLAKE2B 0ac6a1c3ba4aa5fc5dfc7210749abf
EBUILD homeassistant-0.108.0.ebuild 15008 BLAKE2B cbdd4b5bdd37a197be4144949f51bff235da3f74818aff928a6a703e09444e6ca5d19b2e9dda36c211c17fc473bed8b8624d286319fd1c2fe7625ab8b58c811c SHA512 5c9cc15e46160ecd51d29d498a3d3f522f86c95ca3f446b3359368c975da1106f6987009a75379013c88551879f40f69975509f8a87797876577119a4e23a21a
EBUILD homeassistant-0.108.0_beta3.ebuild 15008 BLAKE2B 927d62f138d418d638564643e4b8707830c20075ca2b09d80597abb4b0e2159ce7058c6d21dc912a808cde7b3559bd80ffbabc977c649ab808c44d8fcdf8e8ac SHA512 a41582e1070cd53ffbda529330fde421cda5e70bfed244bb67cc20587e7516cb6ec9c8473d5c22afd353159e260f5baa392e6168bc666b82e98cdd43f9d13594
EBUILD homeassistant-0.108.1.ebuild 15008 BLAKE2B f79c59c34b8b71af57c11145552daa7a77f63a0a9562aa30c466c3afa019020a95c07e916a818487a3aa4ae1c812922e33bf8edc2b8a2b859b4f2b78f48dc4ec SHA512 b346245598ba8e493202cf070ec354de22c4dc0d2d369ac518acaf1279123e9d0e813c1314fdf33be4ab391c7f70514ff055577d9147e523216fa19b777ee0c8
EBUILD homeassistant-0.108.2.ebuild 15008 BLAKE2B f79c59c34b8b71af57c11145552daa7a77f63a0a9562aa30c466c3afa019020a95c07e916a818487a3aa4ae1c812922e33bf8edc2b8a2b859b4f2b78f48dc4ec SHA512 b346245598ba8e493202cf070ec354de22c4dc0d2d369ac518acaf1279123e9d0e813c1314fdf33be4ab391c7f70514ff055577d9147e523216fa19b777ee0c8
EBUILD homeassistant-0.108.2.ebuild 15008 BLAKE2B 2ba1f0fa1c6d2d9fd2e7c55918937d617971ed893feaba65eec0540a0c37310188b84735a4ec735d80967e1ee183cbe9ec99aa5015760acea135df57ab678fa7 SHA512 081b0f6c6ddd900663081ca3bb0b1f3e60f0a0a454ff86b15d143af75b6616f54b27a7189ff44dc723e0d4db931ae0142fa0fbe8fa5d99ade384309a3fd209c2
EBUILD homeassistant-0.108.3.ebuild 15008 BLAKE2B 2ba1f0fa1c6d2d9fd2e7c55918937d617971ed893feaba65eec0540a0c37310188b84735a4ec735d80967e1ee183cbe9ec99aa5015760acea135df57ab678fa7 SHA512 081b0f6c6ddd900663081ca3bb0b1f3e60f0a0a454ff86b15d143af75b6616f54b27a7189ff44dc723e0d4db931ae0142fa0fbe8fa5d99ade384309a3fd209c2
EBUILD homeassistant-9999.ebuild 60097 BLAKE2B 4ba5bcf3fabe78f94df5d73f63e0c3c249644b9862cc2a45dfddf6ce48f8ccaa934872fe56211b1924857cad4f2aea87a6767cda774a498807b02db06b028b25 SHA512 02e1fd5079c46a2f03418b8432485e8dce04b430f543abdb77164d124cbeb9a464d2f7d74934668621d3e13a6aea7cdb88dc28ab862a0a59d592de0ea21a7e8a
MISC metadata.xml 7375 BLAKE2B cb959fcbbb7deb11e5ec9a1e52713ac7c17152964f2c89ba0d240c987dbc954de981948a2f033fa9c61991be7b9310b2c77f2c6d443ebe5a74b5309fb20d6ba5 SHA512 cecf45f1ce303345958a5917bfe4b9f8faf6bcda69419e0443ba6cc1d060fb3b0b6884c22a4d9252f0587b668a148749a598331da0a5722a6b71ddf0ef1106f6

View File

@ -1,293 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="abode adguard ambiclimate ambient_station androidtv asuswrt atmo atv aurora avea axis bitcoin blockchain buienradar cli ciscomobilityexpress daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex qnap +recorder ring roku rxv samsungtv signal sma socat somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vera webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-0.24.0[${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/beautifulsoup-4.8.2[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.14.2[${PYTHON_USEDEP}]
~dev-python/boto3-1.9.252[${PYTHON_USEDEP}]
~dev-python/caldav-0.6.1[${PYTHON_USEDEP}]
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.11.28[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/contextvars-2.4[${PYTHON_USEDEP}]' python3_6)
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
~dev-python/cryptography-2.8[${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.31[${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/immutables-0.9[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.4.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10.3[${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.4[${PYTHON_USEDEP}]
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] )
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-6.2.1[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.1.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.2.0[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${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/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
~dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
>=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${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/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${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/xmltodict-0.12.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.24.4[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.43.0
abode? ( ~dev-python/abodepy-0.17.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-0.3.2[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.2.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}] )
axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${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.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.11[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.11.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.2.4[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.3[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20200130.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}] )
here? ( ~dev-python/herepy-2.0.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.12[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.63[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.15[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-1.10.1[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.8[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( virtual/mqtt )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.2[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.0.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.13[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${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}] )
signal? ( ~dev-python/pysignalclirestapi-0.1.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.24[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.21.3[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-6.1.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.8[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-11[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${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.2.1[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.01.24[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.9.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.32[${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.8[${PYTHON_USEDEP}]
~dev-python/pydispatcher-2.0.5[${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}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
sed -e 's;astral==1.5;astral>=1.5;' \
-i "setup.py" \
-i homeassistant/package_constraints.txt
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch"
fi
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,293 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="abode adguard ambiclimate ambient_station androidtv asuswrt atmo atv aurora avea axis bitcoin blockchain buienradar cli ciscomobilityexpress daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex qnap +recorder ring roku rxv samsungtv signal sma socat somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vera webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-0.24.0[${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/beautifulsoup-4.8.2[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.14.2[${PYTHON_USEDEP}]
~dev-python/boto3-1.9.252[${PYTHON_USEDEP}]
~dev-python/caldav-0.6.1[${PYTHON_USEDEP}]
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.11.28[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/contextvars-2.4[${PYTHON_USEDEP}]' python3_6)
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
~dev-python/cryptography-2.8[${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.31[${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/immutables-0.9[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.4.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10.3[${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.4[${PYTHON_USEDEP}]
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] )
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-6.2.1[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.1.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.2.0[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${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/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
~dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
>=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${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/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${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/xmltodict-0.12.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.24.4[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.43.0
abode? ( ~dev-python/abodepy-0.17.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-0.3.2[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.2.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}] )
axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${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.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.11[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.11.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.2.4[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.3[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20200130.3[${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}] )
here? ( ~dev-python/herepy-2.0.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.12[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.63[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.15[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-1.10.1[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.8[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( virtual/mqtt )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.2[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.0.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.13[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${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}] )
signal? ( ~dev-python/pysignalclirestapi-0.1.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.24[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.21.3[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-6.1.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.8[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-11[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${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.2.1[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.01.24[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.9.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.32[${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.8[${PYTHON_USEDEP}]
~dev-python/pydispatcher-2.0.5[${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}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
sed -e 's;astral==1.5;astral>=1.5;' \
-i "setup.py" \
-i homeassistant/package_constraints.txt
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch"
fi
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,303 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea axis bitcoin blockchain bmw_connected_drive braviatv buienradar cli ciscomobilityexpress daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex plugwise qnap +recorder ring roku rxv samsungtv signal sma socat somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vallox vera velbus webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-0.24.0[${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/beautifulsoup-4.8.2[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.14.2[${PYTHON_USEDEP}]
~dev-python/boto3-1.9.252[${PYTHON_USEDEP}]
~dev-python/caldav-0.6.1[${PYTHON_USEDEP}]
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.11.28[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/contextvars-2.4[${PYTHON_USEDEP}]' python3_6)
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
~dev-python/cryptography-2.8[${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.31[${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/immutables-0.9[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.5.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10.3[${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.18.1[${PYTHON_USEDEP}]
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] )
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.0.0[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.1.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.2.0[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${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/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
~dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
>=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${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/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${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/xmltodict-0.12.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.24.4[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.43.0
abode? ( ~dev-python/abodepy-0.17.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-0.3.2[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.5.3[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.2.4[${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}] )
axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.1[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/braviarc-homeassistant-0.3.7[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${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.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.12[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.11.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.2.4[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.3[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20200220.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}] )
here? ( ~dev-python/herepy-2.0.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.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.64[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.0.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.3[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.6[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.8[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( virtual/mqtt )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.3[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/haanna-0.14.3[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.0.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.13[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${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}] )
signal? ( ~dev-python/pysignalclirestapi-0.2.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.24[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.21.3[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-8.1.1[${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.8[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.41[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${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.2.1[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.02.16[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.9.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.33[${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.8[${PYTHON_USEDEP}]
~dev-python/pydispatcher-2.0.5[${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}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
sed -e 's;astral==1.5;astral>=1.5;' \
-i "setup.py" \
-i homeassistant/package_constraints.txt
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch"
fi
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,304 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea axis bitcoin blockchain bmw_connected_drive braviatv buienradar cli ciscomobilityexpress daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex plugwise qnap +recorder ring roku rxv samsungtv signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vallox vera velbus webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-0.24.0[${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/beautifulsoup-4.8.2[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.14.2[${PYTHON_USEDEP}]
~dev-python/boto3-1.9.252[${PYTHON_USEDEP}]
~dev-python/caldav-0.6.1[${PYTHON_USEDEP}]
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.11.28[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/contextvars-2.4[${PYTHON_USEDEP}]' python3_6)
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
~dev-python/cryptography-2.8[${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.31[${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/immutables-0.9[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.5.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10.3[${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.18.1[${PYTHON_USEDEP}]
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] )
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.0.0[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.1.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.2.0[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${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/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
~dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
>=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${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/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${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/xmltodict-0.12.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.24.4[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.43.0
abode? ( ~dev-python/abodepy-0.17.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-0.3.2[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.5.3[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.2.4[${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}] )
axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.1[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/braviarc-homeassistant-0.3.7[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${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.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.12[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.11.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.2.4[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.3[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20200220.4[${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}] )
here? ( ~dev-python/herepy-2.0.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.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.64[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.0.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.4[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.6[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.8[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( virtual/mqtt )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.3[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/haanna-0.14.3[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.0.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.13[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${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}] )
signal? ( ~dev-python/pysignalclirestapi-0.2.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.24[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.21.3[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.0.2[${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.8[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.41[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${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.2.1[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.02.16[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.9.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.33[${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.8[${PYTHON_USEDEP}]
~dev-python/pydispatcher-2.0.5[${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}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
sed -e 's;astral==1.5;astral>=1.5;' \
-i "setup.py" \
-i homeassistant/package_constraints.txt
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch"
fi
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,304 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea axis bitcoin blockchain bmw_connected_drive braviatv buienradar cli ciscomobilityexpress daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex plugwise qnap +recorder ring roku rxv samsungtv signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vallox vera velbus webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-0.24.0[${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/beautifulsoup-4.8.2[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.14.2[${PYTHON_USEDEP}]
~dev-python/boto3-1.9.252[${PYTHON_USEDEP}]
~dev-python/caldav-0.6.1[${PYTHON_USEDEP}]
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.11.28[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/contextvars-2.4[${PYTHON_USEDEP}]' python3_6)
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
~dev-python/cryptography-2.8[${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.31[${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/immutables-0.9[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.5.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10.3[${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.18.1[${PYTHON_USEDEP}]
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] )
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.0.0[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.1.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.2.0[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${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/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
~dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
>=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${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/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${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/xmltodict-0.12.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.24.4[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.43.0
abode? ( ~dev-python/abodepy-0.17.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-0.3.2[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.5.3[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.2.4[${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}] )
axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.1[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/braviarc-homeassistant-0.3.7[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${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.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.12[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.11.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.2.4[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.3[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20200220.5[${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}] )
here? ( ~dev-python/herepy-2.0.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.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.64[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.0.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.4[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.6[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.8[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( virtual/mqtt )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.3[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/haanna-0.14.3[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.0.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.13[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${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}] )
signal? ( ~dev-python/pysignalclirestapi-0.2.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.24[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.21.3[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.0.2[${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.8[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.41[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${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.2.1[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.02.16[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.9.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.33[${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.8[${PYTHON_USEDEP}]
~dev-python/pydispatcher-2.0.5[${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}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
sed -e 's;astral==1.5;astral>=1.5;' \
-i "setup.py" \
-i homeassistant/package_constraints.txt
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch"
fi
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,304 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea axis bitcoin blockchain bmw_connected_drive braviatv buienradar cli ciscomobilityexpress daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex plugwise qnap +recorder ring roku rxv samsungtv signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vallox vera velbus webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-0.24.0[${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/beautifulsoup-4.8.2[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.14.2[${PYTHON_USEDEP}]
~dev-python/boto3-1.9.252[${PYTHON_USEDEP}]
~dev-python/caldav-0.6.1[${PYTHON_USEDEP}]
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.11.28[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/contextvars-2.4[${PYTHON_USEDEP}]' python3_6)
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
~dev-python/cryptography-2.8[${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.31[${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/immutables-0.9[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.5.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10.3[${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.18.1[${PYTHON_USEDEP}]
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] )
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.0.0[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.1.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.2.0[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${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/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
~dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
>=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${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/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${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/xmltodict-0.12.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.24.4[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.43.0
abode? ( ~dev-python/abodepy-0.17.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-0.3.2[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.5.3[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.2.4[${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}] )
axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.1[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/braviarc-homeassistant-0.3.7[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${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.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.12[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.11.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.2.4[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.3[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20200220.5[${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}] )
here? ( ~dev-python/herepy-2.0.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.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.64[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.0.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.4[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.6[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.8[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( virtual/mqtt )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.3[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/haanna-0.14.3[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.0.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.13[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${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}] )
signal? ( ~dev-python/pysignalclirestapi-0.2.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.24[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.21.3[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.0.2[${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.8[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.41[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${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.2.1[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.02.16[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.9.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.33[${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.8[${PYTHON_USEDEP}]
~dev-python/pydispatcher-2.0.5[${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}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
sed -e 's;astral==1.5;astral>=1.5;' \
-i "setup.py" \
-i homeassistant/package_constraints.txt
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch"
fi
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,304 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea axis bitcoin blockchain bmw_connected_drive braviatv buienradar cli ciscomobilityexpress daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex plugwise qnap +recorder ring roku rxv samsungtv signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vallox vera velbus webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-0.24.0[${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/beautifulsoup-4.8.2[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.14.2[${PYTHON_USEDEP}]
~dev-python/boto3-1.9.252[${PYTHON_USEDEP}]
~dev-python/caldav-0.6.1[${PYTHON_USEDEP}]
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.11.28[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/contextvars-2.4[${PYTHON_USEDEP}]' python3_6)
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
~dev-python/cryptography-2.8[${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.31[${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/immutables-0.9[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.5.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10.3[${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.18.1[${PYTHON_USEDEP}]
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] )
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.0.0[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.1.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.2.0[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${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/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
~dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
>=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${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/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${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/xmltodict-0.12.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.24.4[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.43.0
abode? ( ~dev-python/abodepy-0.17.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-0.3.2[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.5.3[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.2.4[${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}] )
axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.1[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/braviarc-homeassistant-0.3.7[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${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.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.12[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.11.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.2.4[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.3[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20200220.5[${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}] )
here? ( ~dev-python/herepy-2.0.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.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.64[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.0.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.4[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.6[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.8[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( virtual/mqtt )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.3[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/haanna-0.14.3[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.0.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.13[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${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}] )
signal? ( ~dev-python/pysignalclirestapi-0.2.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.24[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.21.3[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.0.2[${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.8[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-14[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.41[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${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.2.1[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.02.16[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.9.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.33[${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.8[${PYTHON_USEDEP}]
~dev-python/pydispatcher-2.0.5[${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}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
sed -e 's;astral==1.5;astral>=1.5;' \
-i "setup.py" \
-i homeassistant/package_constraints.txt
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_dirty_hack_core.patch"
fi
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

@ -16,8 +16,8 @@ SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea axis bitcoin blockchain bmw_connected_drive braviatv buienradar cli ciscomobilityexpress daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex plugwise qnap +recorder ring roku rxv samsungtv signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vallox vera velbus webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea axis bitcoin blockchain bmw_connected_drive braviatv buienradar cli ciscomobilityexpress coronavirus daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast +mysql nederlandse_spoorwegen openwrt owntracks plex plugwise qnap +recorder ring roku rxv samsungtv signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl test tradfri ubee unify vallox vera velbus webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
@ -53,13 +53,13 @@ RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
>=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.31[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.32.2[${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/immutables-0.9[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.5.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10.3[${PYTHON_USEDEP}]
>=dev-python/jinja-2.11.1[${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}]
@ -76,11 +76,11 @@ RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.0.0[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.5[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.1.1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.7.0[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-4.2.0[${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.2.0[${PYTHON_USEDEP}]
~dev-python/pyhaversion-3.3.0[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-19.0.0[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
@ -91,8 +91,8 @@ RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
~dev-python/requests-2.22.0[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.23.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
@ -110,19 +110,19 @@ RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
=dev-python/warrant-0.6.1-r1[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.54.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.24.4[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.25.0[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.43.0
abode? ( ~dev-python/abodepy-0.17.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.1[${PYTHON_USEDEP}] )
abode? ( ~dev-python/abodepy-0.18.1[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-0.3.2[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.5.3[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.39[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.1[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.2.4[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.3[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.3.0[${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}] )
@ -130,13 +130,14 @@ RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.1[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/braviarc-homeassistant-0.3.7[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.1[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/braviatv-1.0.1 )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.0.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-1.6.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.12[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.8.1[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
@ -145,10 +146,10 @@ RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.11.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.2.4[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.3.0[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.3[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20200220.5[${PYTHON_USEDEP}] )
frontend? ( ~app-misc/home-assistant-frontend-20200407.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}] )
@ -157,17 +158,17 @@ RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.64[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.37[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.65[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.0.0[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.4[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.6[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.9[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.1[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.4.8[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
@ -184,8 +185,8 @@ RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/haanna-0.14.3[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.0.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.13[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.1.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.3.15[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] )
@ -195,37 +196,37 @@ RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.24[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.21.3[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.0.2[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.25[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.22.0[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.0.6[${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.8[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-14[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unify? ( ~dev-python/aiounify-15[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.41[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${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.2.1[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.3.0[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.02.16[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.13.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.9.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.13.2[${PYTHON_USEDEP}]
yeelight? ( ~dev-python/yeelight-0.5.1[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.3.24[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.8.0[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.18.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.11.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.15.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.33[${PYTHON_USEDEP}] )
~dev-python/zha-quirks-0.0.38[${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.8[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}