From 3799c6d76ae98396956151806e28addc3f9b11eb Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Tue, 19 Feb 2019 11:59:59 +0100 Subject: [PATCH] homeassistant-0.88.0_beta3 --- app-misc/homeassistant/Manifest | 4 +- .../homeassistant-0.88.0_beta2.ebuild | 2 +- .../homeassistant-0.88.0_beta3.ebuild | 197 ++++++++++++++++++ 3 files changed, 201 insertions(+), 2 deletions(-) create mode 100644 app-misc/homeassistant/homeassistant-0.88.0_beta3.ebuild diff --git a/app-misc/homeassistant/Manifest b/app-misc/homeassistant/Manifest index a628885eb..eaaded6e1 100644 --- a/app-misc/homeassistant/Manifest +++ b/app-misc/homeassistant/Manifest @@ -12,11 +12,13 @@ DIST homeassistant-0.87.1.tar.gz 3396536 BLAKE2B 001acde961c6711970e484516f4cdd2 DIST homeassistant-0.88.0b0.tar.gz 3445356 BLAKE2B f11a4c150ad6b2be16e6a352f5ea8aa572a21576b64fae243568cb800e875235294e4d4a90b98eab6dc26c9418bfd37da7c726e4609b535e57e5df4218625350 SHA512 48d607001f5c251c7f42f7ba15dde51ca5841c9a3f27d322a1706c818a66e92b57f16f8d856ac4086b5afadf6dafd6e40fd6f78dd2757e44bb58c670166c72d3 DIST homeassistant-0.88.0b1.tar.gz 3445540 BLAKE2B 3df939fa7f8b3ea460295e5c059f6b5a66c33addaa02a345cfcb5d209f3eae27f82090af4d58706d9630524765b5d54d6a8484be91ef3219ab95ee3f727b6d73 SHA512 1d3ae3aba760ae7cd34ed1e3114faecc4dce8e61f55bfcb4f64857b6e8445cc32cb754a827987dfbdd2fc549c6f1560907b9ec1bd9c5695a0bfddda4ddeed016 DIST homeassistant-0.88.0b2.tar.gz 3447217 BLAKE2B 00722fc7210553bd22d189c948dc294523f539ff97b960340ee86768ed62ea3c4327cf1c3d9bcb819f12a2940bbdb906b13847f3057d78babaa34dd01dde789c SHA512 14ef43b62346197eeab7e5109c269502c9078465a0b667d6640c3da585dfed1545821e13816057c0bba83518e627f97424d88900f03517ef98cf79e68c4381e9 +DIST homeassistant-0.88.0b3.tar.gz 3448163 BLAKE2B 09005bf6b32f15a16983578389e14bd098f4a37ec672042e9773c8f3e4935220a8f8a470d9b51f135b553b29eb5ab76e652e60abe71c5ba1fc7aab8a95868ef3 SHA512 7c8cabcc1f0c839229e808f2155edde178a8c9231a9b4890da681b09e3a1011b6b66ad5dd0d4a7fd20f735578b7b30d7ab11700867217920fceb170b41d55c43 EBUILD homeassistant-0.87.0.ebuild 6290 BLAKE2B eb3b2bbab1496b9bf5096695adacc9173f1c501a6a12eb58486be9c0c0cc9a502c175be83e61a0150f60d733c07f61ac3ff8728b68ff4ac83f239f81a5ab5e42 SHA512 ecd5f172c88070a54aa234c8a8895153c5ad75723bb40fadbe15447730fd503d0521e414e7e27a481da779068d70fe8c365228372920bdf9199830e032079f9a EBUILD homeassistant-0.87.0_beta4.ebuild 6177 BLAKE2B 6d92133911653488ff67b8337ec81eac66f08cfd250ef3968cba7984bf8c52d09277b4f8230c978b7a50547a103c746095cec61e789dd2b1e7982a873ced6f75 SHA512 7838480956f599955652d2aad8cdbe8b17c60238bea8292a42d63dfe43f01d1058aa363ed22efd5105631d9ccc8e76ccaa2ab5046eff03c995923594431f6397 EBUILD homeassistant-0.87.0_beta6.ebuild 6291 BLAKE2B df659c5d97152bf87aa4ac020a694cc86b634c4d89461af9f29ecbb760a290729dd2a9b470c90017ff7f0e7227ad598dd997107033cb21706581f308d249276f SHA512 618913b7cc0d8ad7a774cafbda55f39822dc31544578328a1d59fc306863e776aaf44a2be07d9bb359f95279ade7c7418238713a53fd9c0b736dfa5a2dd412d3 EBUILD homeassistant-0.87.1.ebuild 6421 BLAKE2B d805b3abd6071df364ec2a1b9786ffe9acb6f161222d644b0a79a9f7767739fd84a60c00709642b689cdea78a2b5f87e215284f5e86bcb69c1af8ef67ee17618 SHA512 8729fad0c64ca617eae2502908f942c692c9689f96ec13613ecb0f4bc65bed9c17941f7aae76b7e943db1143a4b57e76a21e6c312a5f3d455ed2c686a1aa62fd EBUILD homeassistant-0.88.0_beta0.ebuild 6458 BLAKE2B a917d0f10136d506594fb47ee7cdfb0be8682f6d29c2bd662b4215287749f0e07df8cc2c1d65e6922bac454a7d1809772151415a9d73a2d5d8d653805dc48c9c SHA512 b409375a5c43aac07cdd41ab1da37be6ac9542dca9b5c93d3583450537ee73f416a029211eddb8efbb8ab8b4992e9dbcb1e1c7090029abb88b43a4e52e5bea89 EBUILD homeassistant-0.88.0_beta1.ebuild 6458 BLAKE2B 16eff76c2d6c7fa74fc4bda87a63d1c1a7bcb01d2399dbe9b843081cbd2b22c382f29da7bb83fd1853784568a3d0db94a0370a33f1e203164454e83625282e49 SHA512 1f826b027290af568e5fa9289e1eb007fee676087ee2a90f61b674f0730fa7a991c5656e96f4c4a09a0714904a0e26d632ea812201f3c9310687d63b7c4a22a1 -EBUILD homeassistant-0.88.0_beta2.ebuild 7364 BLAKE2B fe5d25ad96b86a2cc66cd924e8927363ceb9bdc556c438cfdf785a92234613d81648a1d33d144c9cded42a9a162938fb806cecd75295bebfe3be4ba6a8f1a19f SHA512 3c85674f07f36b405624a475266d68ef20d49b5c30ac940f85fc2a91f8f355477191090e31c16e6d13d03853d4058f787edfea99d5efc957a45de39aa1a3ba32 +EBUILD homeassistant-0.88.0_beta2.ebuild 7364 BLAKE2B 535cee524eb5cc339f9d9a3f1b2ed9351ad892ee6789c24c2f42b6942f296e0222f4544c96acdacd11ece2a80e7ed6ce57ed11f493fc0bb89921e2faa6cd4207 SHA512 75ad4af469ee5e1e9c908bf191f13d5e7f0d20a30d7afd5503db0fd277d091c8546f42c09fa46b3495182557c955c258a8912adf1f1c9e64e61ac1a7bfef5066 +EBUILD homeassistant-0.88.0_beta3.ebuild 7363 BLAKE2B 96d5315fe9387486bc948fb14c7f3fddeabaf7cc05e2f7178a06c597c1c093266b7dfc93c33a53e8e43b772ce5066fc65cdf5b3fb2cd8625dd2cc94de14ac171 SHA512 c814b5c2331043730b48e00d757c85d50dc8c05f2b1b3d566cc2f73a0f3838676dd411a0d2931a64dc44d54f44f81af9ce64181a02e09ebf1f7847385496b38f MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af diff --git a/app-misc/homeassistant/homeassistant-0.88.0_beta2.ebuild b/app-misc/homeassistant/homeassistant-0.88.0_beta2.ebuild index 2b5a29cf7..39fedeb20 100644 --- a/app-misc/homeassistant/homeassistant-0.88.0_beta2.ebuild +++ b/app-misc/homeassistant/homeassistant-0.88.0_beta2.ebuild @@ -33,7 +33,7 @@ RDEPEND="${PYTHON_DEPS} =dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}] =dev-python/attrs-18.2.0[${PYTHON_USEDEP}] =dev-python/bcrypt-3.1.5[${PYTHON_USEDEP}] - =dev-python/beautifulsoup-4.7.1[${PYTHON_USEDEP}] + =dev-python/beautifulsoup-4.6.3[${PYTHON_USEDEP}] >=dev-python/boto3-1.9.57[${PYTHON_USEDEP}] >=dev-python/botocore-1.12.57[${PYTHON_USEDEP}] =dev-python/caldav-0.5.0[${PYTHON_USEDEP}] diff --git a/app-misc/homeassistant/homeassistant-0.88.0_beta3.ebuild b/app-misc/homeassistant/homeassistant-0.88.0_beta3.ebuild new file mode 100644 index 000000000..ca679c519 --- /dev/null +++ b/app-misc/homeassistant/homeassistant-0.88.0_beta3.ebuild @@ -0,0 +1,197 @@ +# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net +# Distributed under the terms of the GNU General Public License v3.0 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit user readme.gentoo-r1 eutils distutils-r1 + +MY_P=${P/_beta/b} +MY_PV=${PV/_beta/b} + +DESCRIPTION="Open-source home automation platform running on Python 3.6" +HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository" +SRC_URI="https://github.com/home-assistant/home-assistant/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +RESTRICT="mirror" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="asuswrt atv denonavr firetv +frontend homematic hs100 maxcube musiccast mysql qnap rxv samsungtv sonos ssl speedtest test tradfri wemo zoneminder" + +RDEPEND="${PYTHON_DEPS} + !app-misc/homeassistant-bin + app-admin/logrotate + dev-db/sqlite + dev-libs/libfastjson + >=dev-libs/xerces-c-3.1.4-r1 + >=dev-libs/xml-security-c-1.7.3 + =dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}] + >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] + =dev-python/astral-1.9.2[${PYTHON_USEDEP}] + =dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}] + =dev-python/attrs-18.2.0[${PYTHON_USEDEP}] + =dev-python/bcrypt-3.1.5[${PYTHON_USEDEP}] + =dev-python/beautifulsoup-4.6.3[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.57[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.57[${PYTHON_USEDEP}] + =dev-python/caldav-0.5.0[${PYTHON_USEDEP}] + >=dev-python/cdu-0.1.3[${PYTHON_USEDEP}] + >=dev-python/certifi-2018.11.29[${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.5[${PYTHON_USEDEP}] + >=dev-python/distro-1.3.0[${PYTHON_USEDEP}] + >=dev-python/docutils-0.14[${PYTHON_USEDEP}] + >=dev-python/ecdsa-0.13[${PYTHON_USEDEP}] + >=dev-python/envs-1.2.6[${PYTHON_USEDEP}] + >=dev-python/future-0.17.1[${PYTHON_USEDEP}] + =dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}] + >=dev-python/idna-2.8[${PYTHON_USEDEP}] + >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}] + >=dev-python/ifaddr-0.1.6[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10[${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.2.5[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.2[${PYTHON_USEDEP}] + >=dev-python/netdisco-2.3.0[${PYTHON_USEDEP}] + >=dev-python/nose-1.3.7[${PYTHON_USEDEP}] + >=dev-python/numpy-1.15.4[${PYTHON_USEDEP}] + >=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}] + >=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}] + =dev-python/pillow-5.4.1[${PYTHON_USEDEP}] + >=dev-python/psutil-5.4.8[${PYTHON_USEDEP}] + >=dev-python/PyChromecast-2.5.2[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.7.2[${PYTHON_USEDEP}] + =dev-python/pyjwt-1.6.4[${PYTHON_USEDEP}] + >=dev-python/pyotp-2.2.6-r1[${PYTHON_USEDEP}] + >=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] + =dev-python/pysnmp-4.4.8[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] + >=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}] + =dev-python/python-slugify-1.2.6[${PYTHON_USEDEP}] + >=dev-python/pytz-2018.07[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + =dev-python/typing-3.6.4-r1[${PYTHON_USEDEP}] + >=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.24.1[${PYTHON_USEDEP}] + >=dev-python/user-agents-1.1.0[${PYTHON_USEDEP}] + >=dev-python/vobject-0.9.6.1[${PYTHON_USEDEP}] + =dev-python/voluptuous-0.11.5[${PYTHON_USEDEP}] + =dev-python/voluptuous-serialize-2.0.0[${PYTHON_USEDEP}] + >=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}] + =dev-python/warrant-0.6.1[${PYTHON_USEDEP}] + >=dev-python/websocket-client-0.48.0[${PYTHON_USEDEP}] + >=dev-python/xmltodict-0.11.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.3.0[${PYTHON_USEDEP}] + >=dev-python/zeroconf-0.21.3[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.42.0 + atv? ( >=dev-python/pyatv-0.3.12[${PYTHON_USEDEP}] ) + firetv? ( =dev-python/firetv-1.0.7[${PYTHON_USEDEP}] ) + hs100? ( >=dev-python/pyHS100-0.3.0[${PYTHON_USEDEP}] ) + maxcube? ( =dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] ) + musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] ) + mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] ) + rxv? ( =dev-python/rxv-0.6.0[${PYTHON_USEDEP}] ) + denonavr? ( =dev-python/denonavr-0.7.8[${PYTHON_USEDEP}] ) + samsungtv? ( >=dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ) + sonos? ( >=dev-python/pysonos-0.0.6[${PYTHON_USEDEP}] ) + ssl? ( dev-libs/openssl:0 + app-crypt/certbot + net-proxy/haproxy ) + tradfri? ( >=dev-python/pytradfri-6.0.1[${PYTHON_USEDEP}] + sys-devel/autoconf:2.69 ) + wemo? ( >=dev-python/pywemo-0.4.38[${PYTHON_USEDEP}] ) + frontend? ( =app-misc/home-assistant-frontend-20190218.0 ) + homematic? ( dev-python/pyhomematic[${PYTHON_USEDEP}] ) + asuswrt? ( dev-python/aioasuswrt[${PYTHON_USEDEP}] ) + qnap? ( dev-python/qnapstats[${PYTHON_USEDEP}] ) + speedtest? ( =net-analyzer/speedtest-cli-2.0.2[${PYTHON_USEDEP}] ) + zoneminder? ( =dev-python/zm-py-0.3.3[${PYTHON_USEDEP}] ) +" + +DEPEND="${RDEPEND} + test? ( + =dev-python/asynctest-0.12.2[${PYTHON_USEDEP}] + =dev-python/coveralls-1.2.0[${PYTHON_USEDEP}] + =dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}] + =dev-python/flake8-3.7.5[${PYTHON_USEDEP}] + =dev-python/mock-open-1.3.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + =dev-python/mypy-0.660[${PYTHON_USEDEP}] + =dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}] + =dev-python/pylint-2.2.2[${PYTHON_USEDEP}] + =dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] + =dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}] + =dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}] + =dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}] + =dev-python/pytest-4.2.1[${PYTHON_USEDEP}] + =dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + )" + +INSTALL_DIR="/opt/${PN}" + +DISABLE_AUTOFORMATTING=1 +DOC_CONTENTS=" +The HA interface listens on port 8123 +hass configuration is in: /etc/${PN} +daemon command line arguments are configured in: /etc/conf.d/${PN} +logging is to: /var/log/${PN}/{server,errors,stdout}.log +The sqlite db is by default in: /etc/${PN} +support at https://git.edevau.net/onkelbeh/HomeAssistantRepository +" + +S="${WORKDIR}/home-assistant-${MY_PV}" + +DOCS="README.rst" + +pkg_setup() { + enewgroup "${PN}" + enewuser "${PN}" -1 -1 "$INSTALL_DIR" "${PN}" +} + +src_prepare() { + sed -e 's;astral==1.5;astral>=1.5;' \ + -i "setup.py" \ + -i homeassistant/package_constraints.txt + + eapply_user +} + +python_install_all() { + dodoc ${DOCS} + distutils-r1_python_install_all + + keepdir "$INSTALL_DIR" + + keepdir "/etc/${PN}" + fowners -R "${PN}:${PN}" "/etc/${PN}" + + keepdir "/var/log/${PN}" + fowners -R "${PN}:${PN}" "/var/log/${PN}" + + newconfd "${FILESDIR}/${PN}.conf.d" "${PN}" + newinitd "${FILESDIR}/${PN}.init.d" "${PN}" + + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" "${PN}" + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}