diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2022-11-24 09:23:26 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-12-05 11:35:19 +0100 |
commit | 1fd8acfdf8a4d1572933548b51e22039a9837e7e (patch) | |
tree | 216cbb1696f9178a466737ec263f3385a42b366c /dev-embedded | |
parent | virtual/editor: remove last-rited app-editors/elvis (diff) | |
download | gentoo-1fd8acfdf8a4d1572933548b51e22039a9837e7e.tar.gz gentoo-1fd8acfdf8a4d1572933548b51e22039a9837e7e.tar.bz2 gentoo-1fd8acfdf8a4d1572933548b51e22039a9837e7e.zip |
dev-embedded/esptool: add 4.4
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/28410
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/esptool/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/esptool/esptool-4.4.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest index db7d9a065f42..c1383c0aec53 100644 --- a/dev-embedded/esptool/Manifest +++ b/dev-embedded/esptool/Manifest @@ -2,3 +2,4 @@ DIST esptool-3.3.1.tar.gz 7261340 BLAKE2B c6ee391dcbc331d9f931bfd969333fc3bfc562 DIST esptool-3.3.2.tar.gz 7263375 BLAKE2B 8a24a94c5d8acaa9647a5057cbacb57bdf292651529572d7084dbee1013b6174a383bebacccd75bb08e6de94054f28303d5a9b182f0d30dad9081fd8d61d1c4d SHA512 9f31ab5b702c8aede2062a27943fa655d7fbb07fb4c4c377f2ab5552e5453e7c8126bacc5b8e1e859ee6b81e21a75ed1343639815e395b974cc1aaa005367d84 DIST esptool-4.2.1.tar.gz 7271498 BLAKE2B af1c17e08cad057e4534599481da6366460e9eff02de0dfe1cd1163885d315cefd780e034550e7cf09f09f4f3430108675722b9a57109a94c5519bf0c0c158b2 SHA512 b2b7209371330ae0764da5650b48a37ec750a3514951b8e39576b4e54ea682e2a43faf56ce95327071fe88bf4f74762a39483e1edfe2bdf9c5457537888c469f DIST esptool-4.3.tar.gz 7216987 BLAKE2B 9c48b6884667913b5ffe8d0bef22fcb27142a42a89c802f2f1f2f5355d1a967c398f86a398574310fcb1de5b37a1f5fb7e9e7f78058e5ad38008b097d8debd66 SHA512 aa761dae802d67553096698b40a97ae1fa33995dbc81a16a521ffa3ed1ec87470b1457853e4a1aaedfb94c46770e58712a25cac62a4bd05d85503881e507b493 +DIST esptool-4.4.tar.gz 7213588 BLAKE2B a88269ff1bfe2e865dab73cafe2bb567fab027f0679c078a9b7c03b8705763390e3e774ff20ebec0d3dbee5a29d1b1e3d2c1931a3a18ff59b82321a6d0ee0da7 SHA512 97d44a5553be380a2d26469bea42b6995c0d97fa3d50e0f6c1673548801983243d204d140ecfc17ee6c9f9c6580e6c6c42a6e953655a06053fa56064af650cf8 diff --git a/dev-embedded/esptool/esptool-4.4.ebuild b/dev-embedded/esptool/esptool-4.4.ebuild new file mode 100644 index 000000000000..07050b96b1bc --- /dev/null +++ b/dev-embedded/esptool/esptool-4.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 + +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/pyserial[${PYTHON_USEDEP}] + dev-python/reedsolomon[${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}] + ') ) +" + +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 +) + +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 +} |