dev-embedded/esphome: add 2024.3.0
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
f2bb46bd8a
commit
5812533987
|
@ -617,11 +617,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 1941 Ebuilds in total, 1930 of them have in total 1949 (42 different) licenses assigned.
|
||||
There are 1942 Ebuilds in total, 1931 of them have in total 1950 (42 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1089|
|
||||
|MIT|1090|
|
||||
|Apache-2.0|449|
|
||||
|GPL-3|130|
|
||||
|BSD|110|
|
||||
|
|
|
@ -6,9 +6,11 @@ DIST esphome-2023.10.6.tar.gz 1911193 BLAKE2B 447cb63d291ec5009c9ed99a35540d6ea5
|
|||
DIST esphome-2023.11.6.tar.gz 1986566 BLAKE2B b43642e0bec333729bcd2cd738c65816b7556a3bee29dcabd056dc06deddda7fd39ce308fb2c158afe44df9d25c864ee230c400d5577b6cef98b6d94324b5868 SHA512 fe8fc28d261b5ab1bc23e67000377907edbf4db1526431f0b51e9a772fd7799e6fb9a4be3d0248909603cfa021a9b433a69cf3c710363ce74e2662c6869964ae
|
||||
DIST esphome-2023.12.9.tar.gz 2064985 BLAKE2B 38d7a842a461aebed8352f54093259f8c5a845c2a7f487216a77ecc4179dbe2e6848e2255428711f67a54e598c7c97709a23458d6092d37995031f86069b9157 SHA512 5065ea80fc3296612427a365dfdb98d6f7befa6b0e5f7abd22e82b1617c247245c780ec6c0303b8c7f0a9e3334bd90be84d97e0fb768dfcc09032966cbec830b
|
||||
DIST esphome-2024.2.2.tar.gz 2127565 BLAKE2B 52aa760c3c9050640aaabe51ea9f01ed146b76c2ff0a48de855f027c9c92c2df3fb05eb81a4dda27f51cef061116c8b7088864db68756bd918a113807ef693fb SHA512 0f1e4277a0bd12adff8e4cfec702e9e00c6023fa8682d1f247d0153739153cc14956a94044a634afaf3d0a311543a5a4a8c04dd7c791c5c61c994625118b300c
|
||||
DIST esphome-2024.3.0.tar.gz 2236732 BLAKE2B 349223e4e06c811925e2fbb7974954f43a9af9fa6b84d4e5b1751bc955afbed1d6b7682fc1471cbeab3142245576161f57e4ea0769ae061a65ff53739650ef36 SHA512 c54184c85b11a0ea331b6d751acf24c72548ad446c3d226266c1223829671cf78cb2f14e4a577873c08c82d8150ba61f02114308dcfebabed89fbf718eb52641
|
||||
EBUILD esphome-2023.10.6.ebuild 3003 BLAKE2B 4daeb36a1081b6608dee0a50836812abe9bca242a06b59223f7c8ed97a0e10c95d059264e1519123f24cdafe2e3d73e28629d13144b4d1ab180ba0d5da9e354d SHA512 c804ce991fada5225e0303cecb44e31b567ce0ed5f0f39550715051a0976afd9c8ab542c8df3b19819827d8e981ad205a1a36a2fa7419748248e3a33853000b8
|
||||
EBUILD esphome-2023.11.6.ebuild 3063 BLAKE2B 2389d0dc3fd36d89041b632227b5d0e06d68e88075263fa6b60848625dff3f3098dda8c557e28952ecf48f11656170700e3246859861e6500ea8f65adb34f4cc SHA512 594a88da89f265d7278bc8df8cab5567beb20f0d3ae65c3993c473886afb7a078ad7d8da36469f1663269be54a5c132aaf01b828d1446c9c45ba24cc5b5aede3
|
||||
EBUILD esphome-2023.12.9.ebuild 3114 BLAKE2B e6ba9c1299d960c69dba6d1b5ffebb71bfa708d21b3bdec867d4e73107d3f78255322229f5f9651fd8522cf97f35f7d95cdeb5a8c1c17cda0e20386de6b037c4 SHA512 ceee6bb8e5d67fa5cece7ada37e1580f48351f068583ef757f988915d3c3c07149259b713bdd2b759d5c312b08f4853f5a800237769edaf5c6568449131d6e43
|
||||
EBUILD esphome-2024.2.2.ebuild 3181 BLAKE2B 66739de0635c499a4cba796999f6177cb42264a87ddc41a9f0cfc4e8d333b353da9f2f1f0b6fe95b7363a02a6a5bbe7f25d3ca14f5eced83671836eff099a606 SHA512 3a8157f256da934d01183425957ddcd6849bd78928a6e6d4e5268a1ad2018b5c1487b4a573f326c2f16843bdfab6339380ee34fe126c54c6f86a4cc2045cc628
|
||||
EBUILD esphome-2024.3.0.ebuild 3278 BLAKE2B 3690c8a77d38d802ccdc6468ab67a12053dd6e3ac4d7c0dd692dd6e11ab4bcf9b54af4ab838a9c27f83d72dc96dc10f7a9a4eebe19fc53896d0e64eee90e8f10 SHA512 c52e87d3032738a398af8dbd1ed8c27386f15e20653d72c6c2940854f74155f67231623af3a0ff25e0617b5aaa3ccdbc290b88b6363cbb0a54d64d47534ad467
|
||||
EBUILD esphome-9999.ebuild 3219 BLAKE2B df2d86fc84e7ac2baeb1c36dd21931cb353b74e340eed316a606db8d96fc4df0ea48bb25cb9615dbeac0b72f766205bb5ae98abfc305c71049e8faac327b512c SHA512 6f678afd7ed7fbba3e76b4accd0d873db286ec3d97abac3bb1414eb6dde76a22931eaa48909786b5e0e6b6f434ba36b685a8417f6bc93991aada4e9cc55dd620
|
||||
MISC metadata.xml 585 BLAKE2B 07113af8bf33f8ab4a457387804b65e5927bd40dc42de4931df0e78405ba49e2e9b695de6f3d919070b11e3edca32015f069217624b00549c38e608ffe680cf9 SHA512 fbd6544cfe0826fc63567c55f7882e4c6f61a2ebd337421353ae9afb8c2c66961f6328746fdfbe68ee47e5002193914c809c53a663d4a9a58f64166ba1346f20
|
||||
|
|
|
@ -0,0 +1,109 @@
|
|||
# Copyright 1999-2024 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_{11..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/cryptography-42.0.2[${PYTHON_USEDEP}]
|
||||
~dev-python/voluptuous-0.14.2[${PYTHON_USEDEP}]
|
||||
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/colorama-0.4.6[${PYTHON_USEDEP}]
|
||||
~dev-python/icmplib-3.0.4[${PYTHON_USEDEP}]
|
||||
server? ( ~dev-python/tornado-6.4[${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.13[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-embedded/esptool-4.7.0[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-python/click-8.1.7[${PYTHON_USEDEP}]
|
||||
~dev-embedded/esphome-dashboard-20240319.0[${PYTHON_USEDEP}]
|
||||
dev-python/aioesphomeapi[${PYTHON_USEDEP}]
|
||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
||||
~dev-python/python-magic-0.4.27[${PYTHON_USEDEP}]
|
||||
~dev-python/ruamel-yaml-0.18.6[${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
|
||||
sed "/voluptuous==/c\voluptuous" -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
|
Loading…
Reference in New Issue