dev-embedded/esptool: add 4.7.0-r2 (WIP)

dev-embedded/esphome: add 2024.3.2

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-04-28 14:31:57 +02:00
parent 06cc09a6ca
commit 4f6bcbdb20
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
6 changed files with 199 additions and 2 deletions

View File

@ -617,12 +617,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 1786 Ebuilds in total, 1775 of them have in total 1795 (42 different) licenses assigned.
There are 1788 Ebuilds in total, 1777 of them have in total 1797 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1013|
|Apache-2.0|401|
|Apache-2.0|403|
|GPL-3|106|
|BSD|105|
|LGPL-3|25|

View File

@ -7,10 +7,12 @@ DIST esphome-2023.11.6.tar.gz 1986566 BLAKE2B b43642e0bec333729bcd2cd738c65816b7
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
DIST esphome-2024.3.2.tar.gz 2236891 BLAKE2B 8d3d5845a0735c0c3c60163a4709265d6ecb2326a0cba969897a794cc4154f4538c49bdcbcb32236e1053389b647c3bb9fdad55844aa1af3d888acaeb465db2b SHA512 8d3273a886987118865e9bbffe7edfe5922fab670387f093b111b07497b5165040fa1f452c7687b322704446fc0c61df08bc06987e43ab46d62d5e10b08abd14
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 3383 BLAKE2B 53277fbdc0f7b64ec51d138ab4689f9ff4c41876aeab139009244b04aa55a558878a40123376fd9b332fb88e30acb7b3cad95b58ad80782a343586768958e252 SHA512 7639e4a4a827c5e745ac570dbd139f34ecf404f6758443709e9bd77f32b4fe224cfb60a117875df3a367ca40716eb552ce4435b53960a00c392db8f4e5f5894a
EBUILD esphome-2024.3.2.ebuild 3383 BLAKE2B 53277fbdc0f7b64ec51d138ab4689f9ff4c41876aeab139009244b04aa55a558878a40123376fd9b332fb88e30acb7b3cad95b58ad80782a343586768958e252 SHA512 7639e4a4a827c5e745ac570dbd139f34ecf404f6758443709e9bd77f32b4fe224cfb60a117875df3a367ca40716eb552ce4435b53960a00c392db8f4e5f5894a
EBUILD esphome-9999.ebuild 3219 BLAKE2B df2d86fc84e7ac2baeb1c36dd21931cb353b74e340eed316a606db8d96fc4df0ea48bb25cb9615dbeac0b72f766205bb5ae98abfc305c71049e8faac327b512c SHA512 6f678afd7ed7fbba3e76b4accd0d873db286ec3d97abac3bb1414eb6dde76a22931eaa48909786b5e0e6b6f434ba36b685a8417f6bc93991aada4e9cc55dd620
MISC metadata.xml 585 BLAKE2B 07113af8bf33f8ab4a457387804b65e5927bd40dc42de4931df0e78405ba49e2e9b695de6f3d919070b11e3edca32015f069217624b00549c38e608ffe680cf9 SHA512 fbd6544cfe0826fc63567c55f7882e4c6f61a2ebd337421353ae9afb8c2c66961f6328746fdfbe68ee47e5002193914c809c53a663d4a9a58f64166ba1346f20

View File

@ -0,0 +1,111 @@
# 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.5[${PYTHON_USEDEP}]
dev-python/voluptuous[${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[${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
sed "/cryptography==/c\cryptography" -i requirements.txt || die
sed "/icmplib==/c\icmplib" -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

View File

@ -0,0 +1,3 @@
DIST esptool-4.7.0.tar.gz 7045501 BLAKE2B 468d83db541e632296e9b465d54764dc5e966f54709b66b0af2675d8fbd6d0bcd70fb18584887f3dc4d45bd0550b65a0da58d0c6bc318962b8798017b4ab0b63 SHA512 dda2af5d9b2f8a4ec5706eaf58021e95094c152380c732074809c370a5d1bfaeb424cb27f69a3b980dec83ae9c4c9ee1eddfeb0a7990c3b1f1494160a2d369cc
EBUILD esptool-4.7.0-r2.ebuild 2012 BLAKE2B 8b5dd366be36bdbae9df92446a343303011ec2b78b9a2bd780685890127796936c588254cb95542d21229a8adcce1bcb5dbff56b23390f17226075f39eaf2590 SHA512 4cbcb45de147a3aa46a5c5f6a59f1db18c74f3ff5cc79896ba7667013ef138497bce7bcc689cc508b199521ffda6701b55019b976f17471c4ec791327749cda1
MISC metadata.xml 504 BLAKE2B 578f33b9dc0f1748ecd37c355efd7f4acb041c192e44b89ad926c482c2a1d422080a0ed3c74311895b9f1ef996315965a79adc31b86437b3ea63bae321dd6294 SHA512 e8ed1644714bc0878d2d955f9d90bd6e0ca9fa183186ff160adaaaa46573fc696e49783c793f225a32b47b23da9f5df4d77d5fd59d7a52fc6386ec59f892cb83

View File

@ -0,0 +1,65 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32"
HOMEPAGE="https://github.com/espressif/esptool"
SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
$(python_gen_cond_dep '
dev-python/bitstring[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
>=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
dev-python/intelhex[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/reedsolo[${PYTHON_USEDEP}]
')
"
BDEPEND="
$(python_gen_cond_dep '
dev-python/wheel[${PYTHON_USEDEP}]
')
test? ( $(python_gen_cond_dep '
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/pyelftools[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
') )
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# test/test_esptool.py and test/test_espefuse.py need real hardware connected
test/test_esptool.py
test/test_espefuse.py
)
src_prepare() {
default
# test_espsecure_hsm.py needs setup of a "Soft HSM" or real hardware. remove.
rm test/test_espsecure_hsm.py || die
}
pkg_postinst() {
if ver_test ${REPLACING_VERSIONS} -lt 4; then
ewarn "${P} - new 4.x release with breaking changes:"
ewarn " - Public API has been defined by limiting access to internals that have been refactored into multiple source files"
ewarn " - If active security features are detected, the default behavior changes to prevent unintentional bricking"
ewarn " - Flash parameters in an image header can now be changed only when no SHA256 digest is appended"
ewarn " - The ESP8684 alias has been removed, ESP32-C2 has to be used"
ewarn " - Megabit flash sizes have been deprecated, use megabyte units from now on"
fi
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>martin.dummer@gmx.net</email>
<name>Martin Dummer</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">espressif/esptool</remote-id>
</upstream>
</pkgmetadata>