From 2a8d2f71d1d9963368e0ef3d641d75979a689d12 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 4 Jul 2024 08:06:08 +0100 Subject: gentoo auto-resync : 04:07:2024 - 08:06:07 --- dev-embedded/esptool/Manifest | 2 +- dev-embedded/esptool/esptool-4.7.0-r2.ebuild | 65 --------------------------- dev-embedded/esptool/esptool-4.7.0-r3.ebuild | 66 ++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 66 deletions(-) delete mode 100644 dev-embedded/esptool/esptool-4.7.0-r2.ebuild create mode 100644 dev-embedded/esptool/esptool-4.7.0-r3.ebuild (limited to 'dev-embedded/esptool') diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest index f18c26507c82..915d912ae796 100644 --- a/dev-embedded/esptool/Manifest +++ b/dev-embedded/esptool/Manifest @@ -1,5 +1,5 @@ DIST esptool-4.6.2.tar.gz 7003860 BLAKE2B 051689dbc2194e1ed08467f9ec82e3a48e31cf62c25b83f97e3b05a1d203c9dda120cbb11a40bb61efe076ae8449d0b9b4742b19d59efef205132f05d16130a5 SHA512 97cc9f4d92b479351089fac59aed08f9519ff76d994ddae601da8e39b988f4bb90dc3885bf30b7998e2575a0365a5f0eef85f16a28b12eb944eec1e9f5265c6c DIST esptool-4.7.0.tar.gz 7045501 BLAKE2B 468d83db541e632296e9b465d54764dc5e966f54709b66b0af2675d8fbd6d0bcd70fb18584887f3dc4d45bd0550b65a0da58d0c6bc318962b8798017b4ab0b63 SHA512 dda2af5d9b2f8a4ec5706eaf58021e95094c152380c732074809c370a5d1bfaeb424cb27f69a3b980dec83ae9c4c9ee1eddfeb0a7990c3b1f1494160a2d369cc EBUILD esptool-4.6.2.ebuild 1997 BLAKE2B 545c76d5cfa7bf4631261074a724405e04d5b3bc44cff7941389bcccf127ab304799f705ca33788b90c2781d376d9ef2583cc20465d1addbc9e2f1392c9ea49e SHA512 499808481ec1cae7a568daf6ed7d11585574f7538275d6a1345225604330be7a36c9b351d94525d0a10515e3900e0deb651853d46d6f1f051ccab7c4ab2643ff -EBUILD esptool-4.7.0-r2.ebuild 2014 BLAKE2B 2f056db54fad42fac7b035f22b09fcf1e882ebd9facce8ac293ae031869be6e69a1821ebdbc3faa3949fdbd082273154a3db58b2fcd29c657830837665d4decf SHA512 1ddd90dbfaafcebfa106b86932f8375b79f82c267c95215eea8ee52ae871654567feebe69bd0e08216673e39da9eca8361773046d7a3677b988475ec5d25fd9c +EBUILD esptool-4.7.0-r3.ebuild 2038 BLAKE2B f7f65c0ee2dc56f9b005ac2ede125a02b6b20826a40856704e32ec9b2853be95befd651e216d52d9b9777c190b358bc4738127a6c5490f326d599827894da1c8 SHA512 a109b46aaa43a2f24fc8beaa8177f6b2bf5cb184b65db24e2211a99750a3ee8f318552f6b4422d3e474fe721d32d58adc7d571df4d5298c3243f0e9bdb959dce MISC metadata.xml 504 BLAKE2B 578f33b9dc0f1748ecd37c355efd7f4acb041c192e44b89ad926c482c2a1d422080a0ed3c74311895b9f1ef996315965a79adc31b86437b3ea63bae321dd6294 SHA512 e8ed1644714bc0878d2d955f9d90bd6e0ca9fa183186ff160adaaaa46573fc696e49783c793f225a32b47b23da9f5df4d77d5fd59d7a52fc6386ec59f892cb83 diff --git a/dev-embedded/esptool/esptool-4.7.0-r2.ebuild b/dev-embedded/esptool/esptool-4.7.0-r2.ebuild deleted file mode 100644 index 0369885f9b13..000000000000 --- a/dev-embedded/esptool/esptool-4.7.0-r2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..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 -} diff --git a/dev-embedded/esptool/esptool-4.7.0-r3.ebuild b/dev-embedded/esptool/esptool-4.7.0-r3.ebuild new file mode 100644 index 000000000000..17a7362602d8 --- /dev/null +++ b/dev-embedded/esptool/esptool-4.7.0-r3.ebuild @@ -0,0 +1,66 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +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/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 +} -- cgit v1.2.3