homeassistant-0.103.0_beta1
This commit is contained in:
parent
382ba63f77
commit
f9ef217539
@ -1,5 +1,6 @@
|
||||
2019-12-10
|
||||
2019-12-10 homeassistant-0.103.0_beta1
|
||||
* bump roku-4.0.0
|
||||
* homeassistant-0.103.0_beta1
|
||||
|
||||
2019-12-09
|
||||
* bump pyyaml-5.2.0
|
||||
|
||||
16
README.md
16
README.md
@ -11,7 +11,7 @@ https://github.com/home-assistant/home-assistant
|
||||
Once this was a fork of `https://cgit.gentoo.org/user/lmiphay.git/tree/app-misc/homeassistant-bin`, which seemed unmaintained to me. First I just wanted to compile it for my personal use. This happed at 0.77 in September 2018. Some friends told me they wanted to use/see it, so I placed it on my public git server, and was caught by surprise of several hundred page views in the very first days. I'll do my best to keep it close to the official releases, might get slower during summers. After 3 months it had ~170 ebuilds, now (Nov 2019) > 1599 ebuilds in > 830 packages are on file. As long as I certainly do not count automatically consolidated collections, this Overlay has grown to one of the largest [Gentoo Repos](https://qa-reports.gentoo.org/output/repos/) during the last year.
|
||||
|
||||
## Nearly all Home Assistant Components are now included
|
||||
Except some modules with uncorrectable errors (e.g. hard drive crashes, lost sources or some other unbelievable mess) nearly all possible integrations for Home Assistant and their stated dependcies are **now** included as ebuilds, based on the *most accurate* integrations list from `/usr/lib/python3.7/site-packages/homeassistant/components/*/manifest.json`. Many fixed dependencies (necessary or not) to old releases forbid installation of packages requiring newer ones, but I filed all deps strict as they have been declared in `setup.py` or `requirements.txt` (sometimes other sources) anyway. The exception proves the rule. Whether it makes sense to run Gentoo on a Raspberry Pi (some components are made only for it) is another question.
|
||||
Except some modules with uncorrectable errors (e.g. hard drive crashes, lost sources or some other unbelievable mess) nearly all possible integrations for Home Assistant and their stated dependcies are included as ebuilds, based on the *most accurate* integrations list from `/usr/lib/python3.7/site-packages/homeassistant/components/*/manifest.json`. Many fixed dependencies (necessary or not) to old releases forbid installation of packages requiring newer ones, but I filed all deps strict as they have been declared in `setup.py` or `requirements.txt` (sometimes other sources) anyway. The exception proves the rule. Whether it makes sense to run Gentoo on a Raspberry Pi (some components are made only for it) is another question.
|
||||
|
||||
## Authors welcome
|
||||
If you are Author of a integration / component or other stuff related to Home Assistant and you want your component added, please file a pull request, or just drop me a note. For adding a component, I need a release file in tar.gz or zip format. Tagged releases on Github are OK, but a Pypi `sdist` tar.gz source release would be preferred, because I can automatically merge it and it uses Gentoo's mirror system. Most of the integrations/components do both. I cannot add packages only available in wheels format. And make sure you have a proper license assigned.
|
||||
@ -29,7 +29,7 @@ Thanks to @evadim and @klowe0100 for improving the ebuild and helping to keep it
|
||||
|
||||
* `platformio` (needed for ESPHome)
|
||||
|
||||
Since `homeassistant-0.95.0_beta0` `esphome-1.13.6` can be run again in the same environment with homeassistant, because homeassistant does not insist on `dev-python/pyyaml-3.13` anymore and
|
||||
Since `homeassistant-0.95.0_beta0` `esphome-1.13.6` can be run again in the same environment with home assistant, because home assistant does not insist on `dev-python/pyyaml-3.13` anymore and
|
||||
|
||||
`esphome>=1.14.1` with `platformio-4.0.3-r2` ESPHome can now be run without problems on Python 3.7.
|
||||
|
||||
@ -187,7 +187,7 @@ de_DE@euro UTF-8
|
||||
```
|
||||
|
||||
Additional information can be found at https://wiki.gentoo.org/wiki//etc/portage/repos.conf.
|
||||
Please let me know if any initial depencies are missing, since I do only use some of the components myself. From time to time a fresh compile test on an empty box is run to catch general faults, last good (full) compile test was December 2019 with `v0.102.3`.
|
||||
Please let me know if any initial dependencies are missing, since I do only use some of the components myself. From time to time a fresh compile test on an empty box is run to catch general faults, last good (full) compile test was December 2019 with `v0.102.3`.
|
||||
|
||||
## Todos
|
||||
- If it moves, compile it :-)
|
||||
@ -203,7 +203,7 @@ Please let me know if any initial depencies are missing, since I do only use som
|
||||
|
||||
## experiments are in progress:
|
||||
* grafana with influxdb
|
||||
* remote IOS authentification with [haproxy](https://www.haproxy.org) and client certificates.
|
||||
* remote IOS authentication with [haproxy](https://www.haproxy.org) and client certificates.
|
||||
|
||||
## some Background...
|
||||
I have Home Assistant running on a virtual X64 box, 4GB RAM, 4 Cores of an older Xeon E5-2630 v2 @ 2.60GHz and 10GB Disk from a small FC SAN (HP MSA). Recorder writes to a separate mariadb machine, currently 10.3.20 without problems.
|
||||
@ -235,7 +235,7 @@ Some of my devices are still connected via Eclipse Mosquitto (https://mosquitto.
|
||||
* Kodi on Raspberry (3, all with OSMC) (https://osmc.tv/download/)
|
||||
* Enigma2 on Dreambox (2 left) (http://wiki.blue-panel.com/index.php/Enigma2)
|
||||
* Hyperion with APA102 (very cool stuff) (https://hyperion-project.org/)
|
||||
* EQ3-Max! (I accindently bought some, so I have to use them until they die, 8 devices and a cube). Currently the integration `maxcube-api` is broken, added a hack to keep them running, just add `maxcube_hack` use flag to homeassistant, then the patch will be applied before installation. Recently I saw some other interesting soft for this hardware. Perhaps I'll try one of these, and forget about `maxcube-api`.
|
||||
* EQ3-Max! (I accidently bought some, so I have to use them until they die, 8 devices and a cube). Currently the integration `maxcube-api` is broken, added a hack to keep them running, just add `maxcube_hack` use flag to home assistant, then the patch will be applied before installation. Recently I saw some other interesting soft for this hardware. Perhaps I'll try one of these, and forget about `maxcube-api`.
|
||||
* Axis Camera (1, a few more to come)
|
||||
* yr.no weather (best reliable forecast you can get for low money) (https://www.yr.no/)
|
||||
|
||||
@ -243,9 +243,9 @@ Some of my devices are still connected via Eclipse Mosquitto (https://mosquitto.
|
||||
I have **no** Google, Amazon or Apple involved in my privacy (at least in this case) and I am not planning to let them in.
|
||||
|
||||
## Some thoughts
|
||||
* Tried to get all Python installed systemwide under Gentoo's package management and keeping `/etc/homeassistant/deps` non-existant or at least as small as possible.
|
||||
* Tried to get all Python installed system wide under Gentoo's package management and keeping `/etc/homeassistant/deps` non-existant or at least as small as possible.
|
||||
* Be aware that all dependent libraries could be marked as stable here as soon as they compile. Outside HA dependencies execpt portage are not tested.
|
||||
* Since I use Gentoo mostly on servers, I do not use systemd, the most important reason to run gentoo is that you are NOT forced to run this incredible crap.
|
||||
* Since I use Gentoo mostly on servers, I do not use systemd, the most important reason to run Gentoo is that you are NOT forced to run this incredible crap.
|
||||
* I prefer an own profile based on "amd64/17.1/no-multilib"
|
||||
* python-3.7.5-r1 is set as default target, also 2.7.16 and 3.6.9 (not used anymore) are installed on my test server.
|
||||
* Due to Home Assistant's architecture strategies we could not wait any longer for a stable Python 3.7, so don't blame me if it's a lot of work. Python 3.6 would have been supported until Jan 2022.
|
||||
@ -283,4 +283,4 @@ The repository itself is released under GPL-3, all work on the depending compone
|
||||
|
||||
I did my best to keep these clean, thanks to @matoro for help. If a valid license was published on Pypi, it has been automatically merged. Otherwise I took it from Github or alternatively from comments in the source. Sometimes these differed and have been not unique. All license strings have been adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. Authors have been asked for clarification, some still did not respond. These were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate Licenses referenced in the ebuild files and in the corresponding homepages or sources.
|
||||
|
||||
Last update of this text: 25.11.2019
|
||||
Last update of this text: 10.12.2019
|
||||
@ -22,6 +22,7 @@ DIST homeassistant-0.102.1.tar.gz 4814573 BLAKE2B 57232d1a3703d1fcf61ae55c8cabb5
|
||||
DIST homeassistant-0.102.2.tar.gz 4814745 BLAKE2B c76dd9f85a55ccd9acc326c14205029592681c75cd9c768e6e51294b65a0db8f718b2663346050d2b30b4fa1496d10780e3cbf58597acf6f1948bd270554fdb2 SHA512 33aa9dac49c7722cbc7ccece968a4cf102bd5f046c68dca8fb645100a00236a0a3489eeb97de316b9d89c3f57427d35a2dc6588d8c107897e35b56d2a5ee2159
|
||||
DIST homeassistant-0.102.3.tar.gz 4815276 BLAKE2B 50e81d477491472c52eb61db1670cde04b41b14a120a3193d664849a7b46e6ee164e4e3d0c7d380998839200d0981b2cb447e3bb3d80db3c93901f4ff729fa90 SHA512 73170cdb6be29d9931846139b867adceb94a53b82912c332ddddc3626362082d9bb9b2b316c79138d84bf62d599d66b143b0c7f2004ea07a116cec9720021d3e
|
||||
DIST homeassistant-0.103.0b0.tar.gz 4887384 BLAKE2B 167ff22ff2dd9a631046705488ebd72d11f0d66e71163a3f8ba423e0b161fbef422649ee1454ba2765f561f73341a730f9e31875a32711f485001bafb0be5ae8 SHA512 0315aef0be3e19450fc70a23f7e0a01a8e948b075f3682f2f65acffe713bac81a089ca8c4744cd1ee24bb24c4e11b9a9524a9be3e2bfa66d36560a0477ce96e8
|
||||
DIST homeassistant-0.103.0b1.tar.gz 4887794 BLAKE2B d93b2bdb0a93bd35158a7dea312abe7722940216e5435b2412105848a0de3929e57ec4da123d0331b37835e115b6abeaa439bb8982e461ee41476b04f396184d SHA512 20ef21fbfe107aed66be164073321088b8f233581e542e8b5d9f94c08880a3722f168c4c05afdb90eb7a6f3055901812ae089b3b7b37d969572a45e6d418842a
|
||||
DIST homeassistant-0.98.5.tar.gz 4290704 BLAKE2B 2328d50bd1d216a751ba5c5d19f0e54427c7f56be50a7f1c4a49d67cf1735d86393dfa9f366b1bd38706aa8192d4f390664a1e9c3562f7ff59f057c97b15d3f6 SHA512 1e9363d9c8569b7c169481c6dd8fcc6510262559379789f40af7f94664d44a2a1b3482b2d58141feaf78620b5e8b2d1f04017a0330bf35d2808b5f74f98a7785
|
||||
DIST homeassistant-0.99.3.tar.gz 4407163 BLAKE2B b0e4845d927109b1bc7fc2f8c6833d464d2dbc09d5d92c1b09cde5136e94fa468c042bfe5b799f059285842b4fbc530d052c7ca199a8d7d9a2c335d17907ce16 SHA512 44594cdea80334043dd14256fba8c2ceda09a9b572ae956008345e95bb6e150eacd3e2119f1a8caa8de513f8e34b784573372f9daa542d107564777a79f10ee4
|
||||
EBUILD homeassistant-0.100.1.ebuild 11868 BLAKE2B 4baa31b9af286ba7323051964a3cab020a3333c4d9bcd94eb895348aaad95e28f0e67a9e3f838014a7c1f4ac97aa11a7008a6aea4545c0052feb40a6cb6e62b7 SHA512 a6361eb04b6fd9b87807ae6bd50bacca34a004abff13157b8c82c3e8a735f48cf4df51c431be4a75490e90db1ce79839f189e5312a6fd966eb89698260225330
|
||||
@ -38,6 +39,7 @@ EBUILD homeassistant-0.102.1.ebuild 13281 BLAKE2B 74f85938bdafd6e35130d73dd3b35d
|
||||
EBUILD homeassistant-0.102.2.ebuild 13281 BLAKE2B ecb836d145446a563ed9a8494fe209cc7f9db779669bba0fc02df9a86f95e25aaf9161db278d7f6764c205e7a0d20a4d07bd006819b174201c90a41c1000bd71 SHA512 c2cf9effda0f6f4bc2df04e618f75e002463c0d74cff1823b051d1e5952d6f26158e7d59dfa5965af59106d890fa6d5f2c2d7cc415e928dd2c6dfb5946f7fffa
|
||||
EBUILD homeassistant-0.102.3.ebuild 13281 BLAKE2B 43fe0573a879ea87b97edb479c9186eb11533c1d56659e82539185c5ad368104ed65744be8d3813dcad3d32560f7198808e8b996ed26efcd5a1b8d2108f65334 SHA512 0e4b878e5663c2a0c877b5656c9dd98da72214bfb61631e0b16dc00e1bc81e7194f2f91ab4a5a9567fa155ae82a5c33f510e2705468157f0768db44b41eb5049
|
||||
EBUILD homeassistant-0.103.0_beta0.ebuild 13386 BLAKE2B c5a93288ac21a37c0e297ae3c39345b68b9e2e1f5cf72cccf1816b2a505926041452a7408b756f5b8663aa5b7251991f1d5a7345fdd700be9eaa332651c992e7 SHA512 b4108fc56d5c463913c21836abe5e93faf312951c9c055cae0c7a323c5f093bb64dfe64995892565aca31b0f404b38368309d977ab64c9d27c2d6f652dc215ad
|
||||
EBUILD homeassistant-0.103.0_beta1.ebuild 13388 BLAKE2B fa24e15b95510be995c52d1698571ec3eb172aa9def0392a297764cff121d25bbd14a72a1b5d8f8704212b89e2118128d5edc0506ddb406d03fa7ddec3ddc457 SHA512 243d852d0949fadbc15905c952ba46268344d9908b1593adcdad9d4e421a9a619ef393712c7e4ea600a72f3cc14513365b7e1bfd0f2522a16855dad6db4890e8
|
||||
EBUILD homeassistant-0.98.5.ebuild 11576 BLAKE2B a5d90ba20bb43301e9e07d8e1142325ebece85ec6adcd0ae4a28a4d365a20b3a8381e0f1df39e0b9b4aaea3cf41adda07753dfa0265363b03289322c814f8aa4 SHA512 358d9ad188dc83c3f16fa909865146a4cfb517c13cc2ca9cf600dc73c45d54e7bf2752d9ef8f90c55e9806491e685f368437b16e64fb3a5fa33b19c9a367c118
|
||||
EBUILD homeassistant-0.99.3-r1.ebuild 11632 BLAKE2B 44380e6a8ebdf0492ae3fdcd90fde75797cf7049a33179c211e08d70a20e2883bbdd1e947e66350c9bf8515dded92a9558ca4f10772a4cae08cde789bff42e74 SHA512 5705add00892a366013e5288a75518ae8be6a3a6b9165ef0fdd2fb0135f7546e3457f2556dd3e20695186e51ece66d99f41d5c9321cc046525b38e0c1d0c9a95
|
||||
EBUILD homeassistant-9999.ebuild 58979 BLAKE2B 7f9fd857f44cecfa4a08fa9cf8f6d7c039106885f5873dfb71aaf0744be368069ed5f855fb88807456c27d258487871ef10c9e80939cde894308abaeb4d22307 SHA512 a519cc93855ab3a8325aa1a824ebf30303bb2996ee6919c8dc906d2590f97dc558443ae8fcb03e9a6e565ada315e1f940b7040f347cdc0a51e112ec3dbc60116
|
||||
|
||||
303
app-misc/homeassistant/homeassistant-0.103.0_beta1.ebuild
Normal file
303
app-misc/homeassistant/homeassistant-0.103.0_beta1.ebuild
Normal file
@ -0,0 +1,303 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
#inherit python-single-r1 user readme.gentoo-r1 eutils # distutils-r1
|
||||
inherit user readme.gentoo-r1 eutils distutils-r1
|
||||
|
||||
MY_P=${P/_beta/b}
|
||||
MY_PV=${PV/_beta/b}
|
||||
|
||||
DESCRIPTION="Open-source home automation platform running on Python on 3.7 (and 3.6 for a short time)"
|
||||
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
|
||||
SRC_URI="https://github.com/home-assistant/home-assistant/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="abode ambiclimate androidtv asuswrt atmo atv aurora avea axis bitcoin blockchain buienradar cli ciscomobilityexpress daikin darksky denonavr discogs enigma enocean esphome everlights envoy fronius +frontend gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue incomfort influxdb maxcube maxcube_hack miio mikrotik mqtt musiccast +mysql openwrt plex qnap roku rxv samsungtv signal sma socat somfy sonos shodan speedtest ssl test tradfri ubee unify vera wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
!app-misc/homeassistant-bin
|
||||
>=dev-lang/python-3.6.5
|
||||
app-admin/logrotate
|
||||
dev-db/sqlite
|
||||
dev-libs/libfastjson
|
||||
>=dev-libs/xerces-c-3.1.4-r1
|
||||
|
||||
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
|
||||
~dev-python/aiobotocore-0.10.4[${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.1[${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.9.11[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '~dev-python/contextvars-2.4[${PYTHON_USEDEP}]' python3_6)
|
||||
~dev-python/cffi-1.12.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
|
||||
~dev-python/colorlog-4.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
|
||||
~dev-python/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.30[${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-0.23[${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}]
|
||||
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}]
|
||||
~dev-python/passlib-1.7.1-r1[${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.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
|
||||
|| ( >=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
|
||||
~dev-python/pyhaversion-3.1.0[${PYTHON_USEDEP}]
|
||||
~dev-python/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.1.2[${PYTHON_USEDEP}]
|
||||
=dev-python/requests-2.22.0-r1[${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/sqlalchemy-1.3.11[${PYTHON_USEDEP}]
|
||||
~dev-python/transitions-0.6.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-3.6.4-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/tzlocal-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.3[${PYTHON_USEDEP}]
|
||||
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/vobject-0.9.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/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/websockets-7.0[${PYTHON_USEDEP}]
|
||||
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/zeroconf-0.24.0[${PYTHON_USEDEP}]
|
||||
>=media-libs/mutagen-1.43.0
|
||||
|
||||
abode? ( ~dev-python/abodepy-0.16.7[${PYTHON_USEDEP}] )
|
||||
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
|
||||
androidtv? ( ~dev-python/androidtv-0.0.34[${PYTHON_USEDEP}]
|
||||
~dev-python/adb-shell-0.0.8[${PYTHON_USEDEP}] )
|
||||
asuswrt? ( ~dev-python/aioasuswrt-1.1.22[${PYTHON_USEDEP}] )
|
||||
atmo? ( ~dev-python/pyatmo-3.1.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}] )
|
||||
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.1[${PYTHON_USEDEP}] )
|
||||
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
|
||||
denonavr? ( ~dev-python/denonavr-0.7.10[${PYTHON_USEDEP}] )
|
||||
discogs? ( ~dev-python/discogs_client-2.2.2[${PYTHON_USEDEP}] )
|
||||
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
|
||||
esphome? ( ~dev-python/aioesphomeapi-2.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.8.6[${PYTHON_USEDEP}] )
|
||||
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
|
||||
frontend? ( ~app-misc/home-assistant-frontend-20191204.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-0.6.3.3[${PYTHON_USEDEP}] )
|
||||
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
|
||||
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
|
||||
holidays? ( ~dev-python/holidays-0.9.11[${PYTHON_USEDEP}] )
|
||||
homekit? ( ~dev-python/homekit-python-0.15.0[${PYTHON_USEDEP}] )
|
||||
homematic? ( ~dev-python/pyhomematic-0.1.62[${PYTHON_USEDEP}] )
|
||||
homematicip? ( ~dev-python/homematicip-0.10.12[${PYTHON_USEDEP}] )
|
||||
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
|
||||
hue? ( ~dev-python/aiohue-1.9.2[${PYTHON_USEDEP}] )
|
||||
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
|
||||
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.7[${PYTHON_USEDEP}] )
|
||||
mikrotik? ( ~dev-python/librouteros-2.3.0[${PYTHON_USEDEP}] )
|
||||
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}]
|
||||
app-misc/mosquitto )
|
||||
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
|
||||
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}] )
|
||||
virtual/mysql )
|
||||
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.2[${PYTHON_USEDEP}] )
|
||||
plex? ( ~dev-python/PlexAPI-3.3.0[${PYTHON_USEDEP}] )
|
||||
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
|
||||
roku? ( ~dev-python/roku-4.0.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.4[${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.20.0[${PYTHON_USEDEP}] )
|
||||
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
|
||||
ssl? ( dev-libs/openssl:0
|
||||
app-crypt/certbot
|
||||
net-proxy/haproxy )
|
||||
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
|
||||
ubee? ( ~dev-python/pyubee-0.7[${PYTHON_USEDEP}] )
|
||||
unify? ( ~dev-python/aiounify-11[${PYTHON_USEDEP}] )
|
||||
vera? ( ~dev-python/pyvera-0.3.6[${PYTHON_USEDEP}] )
|
||||
wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] )
|
||||
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
|
||||
withings? ( ~dev-python/withings-api-2.1.3[${PYTHON_USEDEP}] )
|
||||
wled? ( ~dev-python/wled-0.1.0[${PYTHON_USEDEP}] )
|
||||
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
|
||||
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
|
||||
yeelight? ( ~dev-python/yeelight-0.5.0[${PYTHON_USEDEP}] )
|
||||
youtube? ( ~dev-python/youtube_dl-2019.11.28[${PYTHON_USEDEP}] )
|
||||
zigbee? ( ~dev-python/zigpy-deconz-0.7.0[${PYTHON_USEDEP}]
|
||||
~dev-python/zigpy-homeassistant-0.11.0[${PYTHON_USEDEP}]
|
||||
~dev-python/zigpy-xbee-homeassistant-0.7.0[${PYTHON_USEDEP}]
|
||||
~dev-python/bellows-homeassistant-0.11.0[${PYTHON_USEDEP}]
|
||||
~dev-python/zigpy-zigate-0.5.0[${PYTHON_USEDEP}]
|
||||
~dev-python/zha-quirks-0.0.28[${PYTHON_USEDEP}] )
|
||||
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
|
||||
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
|
||||
~dev-python/homeassistant-pyozw-0.1.7[${PYTHON_USEDEP}]
|
||||
~dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}]
|
||||
~dev-python/cffi-1.12.2[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
|
||||
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
|
||||
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
|
||||
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
|
||||
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
|
||||
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
|
||||
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
INSTALL_DIR="/opt/${PN}"
|
||||
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
DOC_CONTENTS="
|
||||
The HA interface listens on port 8123
|
||||
hass configuration is in: /etc/${PN}
|
||||
daemon command line arguments are configured in: /etc/conf.d/${PN}
|
||||
logging is to: /var/log/${PN}/{server,errors,stdout}.log
|
||||
The sqlite db is by default in: /etc/${PN}
|
||||
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
|
||||
"
|
||||
|
||||
S="${WORKDIR}/home-assistant-${MY_PV}"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
enewuser "${PN}" -1 -1 "$INSTALL_DIR" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's;astral==1.5;astral>=1.5;' \
|
||||
-i "setup.py" \
|
||||
-i homeassistant/package_constraints.txt
|
||||
|
||||
# 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user