mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-embedded/esptool: add 4.10.0
Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Part-of: https://github.com/gentoo/gentoo/pull/43817 Closes: https://github.com/gentoo/gentoo/pull/43817 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
b303fb013c
commit
8b3229eee9
@ -1,3 +1,4 @@
|
||||
DIST esptool-4.10.0.tar.gz 5961194 BLAKE2B 153d57ec90dee53a237dcdf694e6add85d380421a30a4d2ff7c13f73a6511fb120d2a6071adc7327e6ce3cb82c496bd33c972a5739b6d565369e60453be73238 SHA512 98a5329d50286766a11c86b371cb4c383a9fa6de87dbdbc97afc8def63a9f6aba7b633467fb896ba93638006ac73cb1a243973b7daddbc7959e0988d0c00eb6d
|
||||
DIST esptool-4.8.1.tar.gz 6933695 BLAKE2B ffd8e6aa4c8460765b21c3542b9e953a4e0810e88e1771f02c80ed7145b20623d4b3922268680cc250c64422ab8b90920261af5ef56b9abc14b60b6a10cb6c59 SHA512 21fe654826a38ba40fe128eadde1ad92c22e5a011651ce0f8eb5806358c9f0b33f185fe760c1a3eee19cb59b894531ebea8213498841f0a1c0724048ec88d213
|
||||
DIST esptool-4.9.1.tar.gz 5947067 BLAKE2B da46adc6ad1a45325faf2856f8fde3f0e0b69f75a3ff9ccb93309eb3ada3ab3e661edb150b76fefe920b344562a7fe02bb807b0599a7169f86e4319c0f8f12eb SHA512 5d040a5f89884d98179c055c772b4bebf24f107dfd0ca60102b2f28b21d10bb63b9a21322346c025f17e189e145c06c08961e21870a656cc7a28cf382cf15260
|
||||
DIST esptool-5.0.2.tar.gz 5885109 BLAKE2B 37de0c61857f7f754c8b6e03a4714fa0b5e61cf5d6225a3a2583d8572655d59227dd5ad14a3b8fad556ebd7b41c7a3004771ea4942e66a1f015346a08d1fd05b SHA512 b1435ed011156c0c02482c20e9ca9b0171e3cb43e4d4398991127c1b243c8a8a5c6dad60a1be573b7b627a754f165450be5e3152a100b38805cf8ed9d443c21f
|
||||
|
||||
64
dev-embedded/esptool/esptool-4.10.0.ebuild
Normal file
64
dev-embedded/esptool/esptool-4.10.0.ebuild
Normal file
@ -0,0 +1,64 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit distutils-r1 eapi9-ver
|
||||
|
||||
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[${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/pyelftools[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
') )
|
||||
"
|
||||
distutils_enable_tests pytest
|
||||
EPYTEST_DESELECT=(
|
||||
# need real hardware connected
|
||||
test/test_esptool.py
|
||||
# need network
|
||||
test/test_uf2_ids.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_replacing -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user