update home-assistant-cli

This commit is contained in:
Andreas Billmeier 2020-08-01 12:38:02 +02:00 committed by Andreas Billmeier
parent 55c9e2871c
commit 6174e35896
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
6 changed files with 164 additions and 4 deletions

View File

@ -13,6 +13,10 @@
* bump bond-api-0.1.8
* update aiofiles>=0.4.0 dep for androidtv
* add jsonpath-ng-1.5.1
* update home-assistant-cli-0.9.0, home-assistant-cli-0.9.0
- include a patch for https://github.com/home-assistant-ecosystem/home-assistant-cli/issues/322
- create a PR for the Patch (https://github.com/home-assistant-ecosystem/home-assistant-cli/pull/347)
* update home-assistant-cli-9999
2020-07-29 homeassistant-0.113.2
* update homeassistant-0.113.2

View File

@ -1,6 +1,10 @@
DIST home-assistant-cli-0.7.0.tar.gz 58802 BLAKE2B 84597c6bbd00d80252eb40863f512e8a4fc8fa5c43db8400061b6d77f605ffc641e9426ed239f6e40d47d16b7b0a9138c969c990bb0346feb74201ed825a91f1 SHA512 9cf4d0b33a2845115d5208884f8e0762bec7c73ef1500630450b4746ab9bc3abbdfe67cd45f4224d6d5a0615e648d1981c545d23557f1ada4fd8e621021da709
DIST home-assistant-cli-0.8.0.tar.gz 59612 BLAKE2B 2c353e01236ae50fbabebd2accaa8835177ffab5c2bf60b3e602a9e73aa75eff32a5e7ead59a30ec6683f83ac5d5233bbb6a683dd76010641404141fbc254a9b SHA512 f384546d30f49cf1c391906690a1d7257863543057e68e7a711d00912fa998daaa8b89594b037e190afc01cd6735eba54fc0e3d9180a78efd43707225c20fd82
DIST home-assistant-cli-0.9.0.tar.gz 62127 BLAKE2B 05b8d5717c114dbb5371c13ddf87f6985f2d8c8fea61ceccdeb5b52ede8f67f256c768178c39812ee4c92194ba6cf3f050ce21b84b3de64cf5559357e7982cce SHA512 26a80bbcd6e895a4df942e02b92729ea05a3b799b409879df00d5620ed235c2db6169f20077c77035914f7c37d68af7bbf20ff09d245418fb771d73f89135c71
DIST home-assistant-cli-0.9.1.tar.gz 62884 BLAKE2B 4ccafb7d461da42772c9168ce2b9c062425953f5c6776efa69559d23df14f725dd710f8501147cede9959c8fc45627846df5198128899850a7060fc42ba7aebb SHA512 eb31de0d8812151581028c2e20e4a3febc16852b046258329c8c637536e741fe08ae774b0ff5276d4e204887f76028c23015fdf71c8f83f818bc1b3683435c16
EBUILD home-assistant-cli-0.7.0.ebuild 2117 BLAKE2B 132836aeff3abe23ad0dc95c41b006aab0f33cbb1f19eb878229c2dc51fedfb34ee4db9430d9251695845a90de16f02f79e4661f87a032870ee9cca481f74d88 SHA512 d95b798171f79d898dc5455c377fff1df872241017c1c6c715fecb70fcb7b8dfb13502d23d7a28aaa97ea65f3a8ba93b4e1520e82cf85efc1834aabc373476cc
EBUILD home-assistant-cli-0.8.0.ebuild 2125 BLAKE2B e166bbabcd11c0d4aa9d8f6eaf5059bcbf3e387ac2cb35c77ce7a34efbbec9e2fb1527b2856bd3ce7d99a604705677247fe3894d52ce46ec44294c1265865ff7 SHA512 73090d525cfbbe7921ccab87be8f1cca949293ede5c510a520023d74d945549f768c9608aeb3dbdcf5f0c3b8134b48453ea7a0b72a55c7a779c6fe93843d1c5c
EBUILD home-assistant-cli-9999.ebuild 2415 BLAKE2B 07de2f83ca731d9f54d6f02131539827788cf6a4830ab4665b22f0887a0733e08ed0d571ffaf576eeb7899a1c48e0a9f9e395e1737e53071bbc09592bd7dd69f SHA512 a0c60c1e54a40abd674999dc4efc38482ecf705d45022b08243519c7d570e8a12dd590b0840a6aff6c8d82a59efe02ef87bd2a62aad567d2261187db28df8af9
EBUILD home-assistant-cli-0.9.0.ebuild 2710 BLAKE2B 219e5c17a95dea3920d6f028645313e721c6d01883aea4b1c3dc246cbd6af928fe58ad127a5e3324a991ba635873df4b21e7647a35b0c0ceed8fbd2491e70d2b SHA512 e905a572631bac185e864957993dd884c95d6be005db3a3d933f35fcb7c57f64ad71caade211d5c09fc534d29d9a03da8f0f21dd1784c817c7f036239a46625c
EBUILD home-assistant-cli-0.9.1.ebuild 2710 BLAKE2B 219e5c17a95dea3920d6f028645313e721c6d01883aea4b1c3dc246cbd6af928fe58ad127a5e3324a991ba635873df4b21e7647a35b0c0ceed8fbd2491e70d2b SHA512 e905a572631bac185e864957993dd884c95d6be005db3a3d933f35fcb7c57f64ad71caade211d5c09fc534d29d9a03da8f0f21dd1784c817c7f036239a46625c
EBUILD home-assistant-cli-9999.ebuild 2710 BLAKE2B 219e5c17a95dea3920d6f028645313e721c6d01883aea4b1c3dc246cbd6af928fe58ad127a5e3324a991ba635873df4b21e7647a35b0c0ceed8fbd2491e70d2b SHA512 e905a572631bac185e864957993dd884c95d6be005db3a3d933f35fcb7c57f64ad71caade211d5c09fc534d29d9a03da8f0f21dd1784c817c7f036239a46625c
MISC metadata.xml 480 BLAKE2B 171a4a346c5b4d88abdd8f0e1b2e3480cb7e8e5e250e759cdfc7ee9dc7f763f235617ac12f171d9f96eeabe4f92a9a347371badbee7a230c59229e9fae14ec84 SHA512 ce473493061008ae30714cb39fa7f13fd0aff9451342da57da0cac5f6d6c4488dad514044548c8fe9b0e8030d00ac7c606a68c176f3834df2aed810fbf0b2902

View File

@ -0,0 +1,73 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
else
SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="The Home Assistant Command-line Interface (hass-cli)"
HOMEPAGE="https://github.com/home-assistant/home-assistant-cli/"
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=">=dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
>=dev-python/click-log-0.3.2[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
>=dev-python/dateparser-0.7.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
~dev-python/jsonpath-ng-1.5.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}]
>=dev-python/regex-2019.08.19[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.17[${PYTHON_USEDEP}]
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
>=dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
>=dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.7.7[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
>=dev-python/mypy-0.710[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.3.1[${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-timeout-1.4[${PYTHON_USEDEP}]
>=dev-python/pytest-5.1.2[${PYTHON_USEDEP}]
<dev-python/pytest-6[${PYTHON_USEDEP}]
>=dev-python/requests_mock-1.6.0[${PYTHON_USEDEP}]
>=dev-python/wheel-0.33.1[${PYTHON_USEDEP}]
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/twine-1.13.0[${PYTHON_USEDEP}]
)"
src_prepare() {
cd "${S}"
sed -i -e "s/'ruamel.yaml>=0.16.5,<0.17'/'ruamel.yaml>=0.15.100'/" setup.py || die "Sed version helper failed!"
sed -i -e 's;jsonpath-rw>=1.4.0,<2;jsonpath-ng>=1.5.1;' setup.py || die "Sed on jsonpath-rw in setup-py failed."
sed -i -e 's;jsonpath_rw;jsonpath_ng;' homeassistant_cli/helper.py || die "Sed on helper.py failed."
eapply_user
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,73 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
else
SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="The Home Assistant Command-line Interface (hass-cli)"
HOMEPAGE="https://github.com/home-assistant/home-assistant-cli/"
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=">=dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
>=dev-python/click-log-0.3.2[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
>=dev-python/dateparser-0.7.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
~dev-python/jsonpath-ng-1.5.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}]
>=dev-python/regex-2019.08.19[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.17[${PYTHON_USEDEP}]
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
>=dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
>=dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.7.7[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
>=dev-python/mypy-0.710[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.3.1[${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-timeout-1.4[${PYTHON_USEDEP}]
>=dev-python/pytest-5.1.2[${PYTHON_USEDEP}]
<dev-python/pytest-6[${PYTHON_USEDEP}]
>=dev-python/requests_mock-1.6.0[${PYTHON_USEDEP}]
>=dev-python/wheel-0.33.1[${PYTHON_USEDEP}]
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/twine-1.13.0[${PYTHON_USEDEP}]
)"
src_prepare() {
cd "${S}"
sed -i -e "s/'ruamel.yaml>=0.16.5,<0.17'/'ruamel.yaml>=0.15.100'/" setup.py || die "Sed version helper failed!"
sed -i -e 's;jsonpath-rw>=1.4.0,<2;jsonpath-ng>=1.5.1;' setup.py || die "Sed on jsonpath-rw in setup-py failed."
sed -i -e 's;jsonpath_rw;jsonpath_ng;' homeassistant_cli/helper.py || die "Sed on helper.py failed."
eapply_user
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -9,11 +9,13 @@ inherit distutils-r1
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
else
SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="The Home Assistant Command-line Interface (hass-cli)"
HOMEPAGE="https://github.com/home-assistant/home-assistant-cli/"
#SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
LICENSE="Apache-2.0"
@ -26,7 +28,7 @@ RDEPEND=">=dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
>=dev-python/dateparser-0.7.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
>=dev-python/jsonpath-rw-1.4.0[${PYTHON_USEDEP}]
~dev-python/jsonpath-ng-1.5.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}]
>=dev-python/regex-2019.08.19[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
@ -58,9 +60,11 @@ DEPEND="${REDEPEND}
)"
src_prepare() {
eapply_user
cd "${S}"
sed -i -e "s/'ruamel.yaml>=0.16.5,<0.17'/'ruamel.yaml>=0.15.100'/" setup.py || die "Sed version helper failed!"
sed -i -e 's;jsonpath-rw>=1.4.0,<2;jsonpath-ng>=1.5.1;' setup.py || die "Sed on jsonpath-rw in setup-py failed."
sed -i -e 's;jsonpath_rw;jsonpath_ng;' homeassistant_cli/helper.py || die "Sed on helper.py failed."
eapply_user
}
python_test() {

View File

@ -1,5 +1,7 @@
homeassistant
esphome==1.14.5
home-assistant-cli
abodepy==0.19.0
Adafruit_BBIO==1.1.1
Adafruit-Blinka==3.9.0