dev-embedded/esphome: add 2023.11.4

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-11-24 18:39:46 +01:00 committed by Andreas Billmeier
parent c9f45310dd
commit 927c279a35
Signed by untrusted user: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 109 additions and 2 deletions

View File

@ -612,11 +612,11 @@ 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 1657 Ebuilds in total, 1646 of them have in total 1667 (43 different) licenses assigned.
There are 1658 Ebuilds in total, 1647 of them have in total 1668 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|965|
|MIT|966|
|Apache-2.0|345|
|BSD|96|
|GPL-3|95|

View File

@ -5,8 +5,10 @@ AUX esphome.init.d-r3 650 BLAKE2B dc3750f8749e6183d0496b575a46fc55430b89bf973c75
DIST esphome-2023.10.1.tar.gz 1908857 BLAKE2B d22108dd0d8153b0e5c297f0c13611d32561c37260f9e5f9bb34d5186df5f35abc6ce4af16898ebb7a94c75e7c8291011a2c63ea5beb2f4cade11c5c3fca6bcc SHA512 fba1d00507ba27c5017cb7a0562d064696e775be9fc64a82b48d36127b9964048f842cd1e163a3def85e17faf7a9d582f2aa5a1ae6fa6f209197fb85f1b3d9b2
DIST esphome-2023.10.6.tar.gz 1911193 BLAKE2B 447cb63d291ec5009c9ed99a35540d6ea5074127f32725fa204d47cfeb715e2d03c14f98b8290abd36eace5685eace214150ef0481a48f654c826b59084b1dd4 SHA512 0b67f836d0e05c34893f7e9b5f6a5de91fec68ddf137bf72a04599089a233f2df0c8dbbd165d5262fa70f29e22a1f91f2cc38b3c05eba3eff76624acaab3d6df
DIST esphome-2023.11.3.tar.gz 1984861 BLAKE2B 563ef4095be1592751402f63f211fcfa472e1ad08b1afab7fc4dc219768c7de40f492bec1048b5daf40b1c65db1f95f008f2a5344861f54953bf09ec077d3e88 SHA512 ed1d14d682d4191400e3b739505be6d0c4b386e930037d6508b70cb893d388e782ec53fdc72c933969cca2245e511949265a6e03204b993e1e779a8d9d0ca796
DIST esphome-2023.11.4.tar.gz 1986278 BLAKE2B ab127301fa734b4465d95fd57390dde465f774b724122ac92c0b50333b7b19c576e04e72ba6ca9b8d537a129a3333649a4e41e15a4321a246611e9bb1f62424c SHA512 5542cb78c3caf1e341e2e75c7c040dc039b0239a9b42c120791ca73206e5a6be5094f93845dbcdb8956fb9dcb700ca33da94ec3d3b4c6c35312c60b3c881b46b
EBUILD esphome-2023.10.1.ebuild 2947 BLAKE2B 46a1da11090d7ad091190b110d05ecc4861cef340c68abe604049c9fd7eab701c4f61318ba1b3787c46a5b5f2939afee540f552d99104ebe3d157c42cd29c0fd SHA512 41a6c5bfc16cbaf6d1b930f472592299bcbbfa4fe89f9d252d2e218bbeb91dc8e0db3123c4c2d630a41b1b31e13e13bdd7ac60645c545dfe784986823cdc393c
EBUILD esphome-2023.10.6.ebuild 2996 BLAKE2B 2902fc5608f8f52c98231fb68ab3198a5b3abe0025ac6fa00175000bbae1ea1156d9d960efab38ddfb677758184a8f9bf40ac5bd796e8dd59b64620c359712d8 SHA512 8d3cce060c968db8d1b9d7418613980c5e9e3e379b893126f71a71630593c97166124d462c27e6ec7f6e55289666a6009fb2dc9148d6710774eef4bf9c9b35b3
EBUILD esphome-2023.11.3.ebuild 3045 BLAKE2B 298421688cddbc23c10567f15df2dd667ad375f467477df836fc65a1eef43207cd3c8ef47d93acb168c010374e06c2a01080a544f3c81f828fd212644ba75bc0 SHA512 503d3995e700d21747bb558dac36898c13f642572ca4b9bfe5bbbb3f369b5e205e16cd1461defc7ccd5653d46986b323112a48174d52f748d71883c1ec374198
EBUILD esphome-2023.11.4.ebuild 3056 BLAKE2B d61f62ba04432181ce8dd6dfca27f758545b4773df48d2d085bc3770edbae39b8bfea111d635dc3e2a15f6b718cd2d4799cd63ddfca950569782c2249d409b4d SHA512 964212707bfbfe8d7a4a743daa91040168ab68bf01a906e6b4965b03cfad8945ff02ef32469bdc97b655a5b43c15cec7e2d4d06e8a19aff0ad3deffc67ef17da
EBUILD esphome-9999.ebuild 3006 BLAKE2B dcc568f3383cb8b6857a20bffe7d7b229ccd54673bf5832e82e3eab17cd97e9d9b973a220b5e4ffc51874f81c09ed4dc511004dfbb7d1b58d0488a1e24d15b28 SHA512 e5c6f1a8940c45a2c3d8085445b2fa2423e86731f7c90f63d22546e298ea113d872ec7f254f726102edfe7a4f70c08ee69dff6b46abf9fcf55b15e82dd93ffff
MISC metadata.xml 585 BLAKE2B 07113af8bf33f8ab4a457387804b65e5927bd40dc42de4931df0e78405ba49e2e9b695de6f3d919070b11e3edca32015f069217624b00549c38e608ffe680cf9 SHA512 fbd6544cfe0826fc63567c55f7882e4c6f61a2ebd337421353ae9afb8c2c66961f6328746fdfbe68ee47e5002193914c809c53a663d4a9a58f64166ba1346f20

View File

@ -0,0 +1,105 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python3_{10..12} )
inherit readme.gentoo-r1 distutils-r1
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/esphome/esphome.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/${P}/"
else
inherit pypi
MY_P=${P/_beta/b}
MY_PV=${PV/_beta/b}
S="${WORKDIR}/${MY_P}/"
fi
DESCRIPTION="Make creating custom firmwares for ESP32/ESP8266 super easy."
HOMEPAGE="https://github.com/esphome/esphome https://pypi.org/project/esphome/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="+server test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="
server? ( acct-group/${PN} acct-user/${PN} )
$(python_gen_cond_dep '
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
server? ( ~dev-python/tornado-6.3.3[${PYTHON_USEDEP}] )
~dev-python/tzlocal-5.2[${PYTHON_USEDEP}]
>=dev-python/tzdata-2021.1[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
~dev-embedded/platformio-6.1.11[${PYTHON_SINGLE_USEDEP}]
~dev-embedded/esptool-4.6.2[${PYTHON_USEDEP}]
~dev-python/click-8.1.7[${PYTHON_USEDEP}]
~dev-embedded/esphome-dashboard-20231107.0[${PYTHON_USEDEP}]
dev-python/aioesphomeapi[${PYTHON_USEDEP}]
dev-python/zeroconf[${PYTHON_USEDEP}]
~dev-python/python-magic-0.4.27[${PYTHON_USEDEP}]
~dev-python/kconfiglib-13.7.1[${PYTHON_USEDEP}]
>=dev-python/pyparsing-3.0[${PYTHON_USEDEP}]
>=dev-python/argcomplete-2.0.0[${PYTHON_USEDEP}]
')"
BDEPEND="$(python_gen_cond_dep '
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/asyncmock[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
)
')"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The ESPHome dashboard listens on port 6052
ESPHome configuration is in: /etc/${PN}
dashboard command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{dashboard,warnings}.log
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
src_prepare() {
sed "/aioesphomeapi==/c\aioesphomeapi" -i requirements.txt || die
sed "/click==/c\click" -i requirements.txt || die
sed "/colorama==/c\colorama" -i requirements.txt || die
sed "/zeroconf==/c\zeroconf" -i requirements.txt || die
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
if use server; then
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-r3" "${PN}"
readme.gentoo_create_doc
fi
}
pkg_postinst() {
if use server; then
readme.gentoo_print_elog
fi
}
distutils_enable_tests pytest