app-misc/home-assistant-cli: update home-assistant-cli-9999, drop very outdated 0.9.5

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-05-20 22:23:04 +02:00
parent 94c0ffbe28
commit 0663dc0a60
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 20 additions and 101 deletions

View File

@ -606,12 +606,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1831 Ebuilds in total, 1820 of them have in total 1841 (42 different) licenses assigned.
There are 1833 Ebuilds in total, 1822 of them have in total 1843 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1054|
|Apache-2.0|401|
|Apache-2.0|403|
|GPL-3|107|
|BSD|106|
|LGPL-3|25|

View File

@ -1,6 +1,4 @@
DIST home-assistant-cli-0.9.5.gh.tar.gz 61446 BLAKE2B 84be6cf4c1326ae49dad51953e6b38f494e32745d397a9bf1ed96305519f4a7e48016551bda9c21dfb7ae85451a1cffb4ce423da8a2898a271e1cdaba38bb582 SHA512 b70e3d5943d28fc91fdb62048c9b292961c3e9654fa7f2a577f7fb8e3393d2a2e3cc6bdc2529f4af4e30a196557c30c4256b26218ec3c71d3d4629bd11591d06
DIST home-assistant-cli-0.9.6.gh.tar.gz 61446 BLAKE2B 30c731701e0b69ead96bbcb22f563dfa680708d3f5d0181efdb8e49b4eb6e5205be89bbef863f94ba671da369c902e38ce201193a486886db648819792e0258a SHA512 357b6fbf85b1b36ce624f6a213bf78858f2bbf2a94e2f8907d76b242e239985dafed21887de5b6c8bbcb595e56e0695563ed4321f0128ba5619e9b3cb06e8264
EBUILD home-assistant-cli-0.9.5.ebuild 2244 BLAKE2B 461a55a269f2de5ffd76cd4cb5238be7fa82b928c291c6abca4419521bc1cb07920b423985a77deb415e1a84c08a4ce8f8d09df79f5db6d231fc45b84cf3ce4a SHA512 46e45af874f7d4373b5587b9f757073ff903f7129edf47ae3e143a70a2ac52eb2503ba9be9b16ae3d94322cd80b14909573d2a245e8a33ed8660976e8eb25324
EBUILD home-assistant-cli-0.9.6.ebuild 2244 BLAKE2B 461a55a269f2de5ffd76cd4cb5238be7fa82b928c291c6abca4419521bc1cb07920b423985a77deb415e1a84c08a4ce8f8d09df79f5db6d231fc45b84cf3ce4a SHA512 46e45af874f7d4373b5587b9f757073ff903f7129edf47ae3e143a70a2ac52eb2503ba9be9b16ae3d94322cd80b14909573d2a245e8a33ed8660976e8eb25324
EBUILD home-assistant-cli-9999.ebuild 2244 BLAKE2B 461a55a269f2de5ffd76cd4cb5238be7fa82b928c291c6abca4419521bc1cb07920b423985a77deb415e1a84c08a4ce8f8d09df79f5db6d231fc45b84cf3ce4a SHA512 46e45af874f7d4373b5587b9f757073ff903f7129edf47ae3e143a70a2ac52eb2503ba9be9b16ae3d94322cd80b14909573d2a245e8a33ed8660976e8eb25324
EBUILD home-assistant-cli-9999.ebuild 1623 BLAKE2B dc44e5a2acad3943269ce6f8520d016a9de3930655a3ea1fdf6625eb36691a11bf173ae978f4f4d58d113cd40cee1febc264060b676b24a6b224a27663168c8c SHA512 f3af01a1591756eda3079308cec819e2dd9a762e91e6fea3180d3b142a977c33fff2da2d3fdbad2dfabc94f434505899ff934ad8e0a56afa7458bc61edcf1caa
MISC metadata.xml 555 BLAKE2B 11799c15c228e1c192366d51983315d1892f865502cb7e506c60578608f9e05deec2b94b94585f71d638df952976a05804342a712476a66474f935e2c693c64c SHA512 d5287d92892fbe91fbd3dcf9ad47ab83fa788bcf14c07ad5ba21f471d1bf7ab97c9576416d6d03d60639e9ad96410287c7d814e9aa2c54429a7b3f87d924209e

View File

@ -1,64 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
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}.gh.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 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]
>=dev-python/click-log-0.4[${PYTHON_USEDEP}]
dev-python/click[${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-3.0.0[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.17[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.18[${PYTHON_USEDEP}]
>=dev-python/requests-2.28.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
>=dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.9[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.4[${PYTHON_USEDEP}]
>=dev-python/mypy-0.800[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-6.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.7[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.11[${PYTHON_USEDEP}]
>=dev-python/pytest-sugar-0.9.4[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-2[${PYTHON_USEDEP}]
>=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
>=dev-python/wheel-0.33.1[${PYTHON_USEDEP}]
>=dev-python/twine-1.13.0[${PYTHON_USEDEP}]
)"
src_prepare() {
sed -i -e "s/'regex>=2022.9'/'regex'/" setup.py || die "regex version helper failed!"
eapply_user
}
distutils_enable_tests pytest

View File

@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
if [[ ${PV} == *9999* ]]; then
@ -24,41 +24,26 @@ KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]
RDEPEND=">=dev-python/aiohttp-3.9.5[${PYTHON_USEDEP}]
>=dev-python/dateparser-1.2.0[${PYTHON_USEDEP}]
>=dev-python/jsonpath-ng-1.6.1[${PYTHON_USEDEP}]
>=dev-python/jinja-3.1.4[${PYTHON_USEDEP}]
>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}]
>=dev-python/regex-24.5.10[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.18.6[${PYTHON_USEDEP}]
>=dev-python/click-8.1.7[${PYTHON_USEDEP}]
>=dev-python/click-log-0.4[${PYTHON_USEDEP}]
dev-python/click[${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-3.0.0[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.17[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.18[${PYTHON_USEDEP}]
>=dev-python/requests-2.28.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]"
>=dev-python/netdisco-3.0.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
>=dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.9[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.4[${PYTHON_USEDEP}]
>=dev-python/mypy-0.800[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-6.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.7[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.11[${PYTHON_USEDEP}]
>=dev-python/pytest-sugar-0.9.4[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-2[${PYTHON_USEDEP}]
>=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
>=dev-python/wheel-0.33.1[${PYTHON_USEDEP}]
>=dev-python/twine-1.13.0[${PYTHON_USEDEP}]
>=dev-python/mypy-1.10.0[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-2.3.1[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.12.1[${PYTHON_USEDEP}]
>=dev-python/pytest-sugar-1.0.0[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-5.0.0[${PYTHON_USEDEP}]
)"
src_prepare() {
sed -i -e "s/'regex>=2022.9'/'regex'/" setup.py || die "regex version helper failed!"
eapply_user
}
distutils_enable_tests pytest