summaryrefslogtreecommitdiff
path: root/dev-embedded
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/Manifest.gzbin9207 -> 9201 bytes
-rw-r--r--dev-embedded/esptool/Manifest2
-rw-r--r--dev-embedded/esptool/esptool-4.5.1.ebuild64
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-embedded/Manifest.gz b/dev-embedded/Manifest.gz
index ddab8dba86a9..986bc7030d98 100644
--- a/dev-embedded/Manifest.gz
+++ b/dev-embedded/Manifest.gz
Binary files differ
diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest
index c46502048f87..8717bc5f5e00 100644
--- a/dev-embedded/esptool/Manifest
+++ b/dev-embedded/esptool/Manifest
@@ -1,7 +1,9 @@
DIST esptool-3.3.2.tar.gz 7263375 BLAKE2B 8a24a94c5d8acaa9647a5057cbacb57bdf292651529572d7084dbee1013b6174a383bebacccd75bb08e6de94054f28303d5a9b182f0d30dad9081fd8d61d1c4d SHA512 9f31ab5b702c8aede2062a27943fa655d7fbb07fb4c4c377f2ab5552e5453e7c8126bacc5b8e1e859ee6b81e21a75ed1343639815e395b974cc1aaa005367d84
DIST esptool-4.4.tar.gz 7213588 BLAKE2B a88269ff1bfe2e865dab73cafe2bb567fab027f0679c078a9b7c03b8705763390e3e774ff20ebec0d3dbee5a29d1b1e3d2c1931a3a18ff59b82321a6d0ee0da7 SHA512 97d44a5553be380a2d26469bea42b6995c0d97fa3d50e0f6c1673548801983243d204d140ecfc17ee6c9f9c6580e6c6c42a6e953655a06053fa56064af650cf8
+DIST esptool-4.5.1.tar.gz 6971407 BLAKE2B 8ffc102f5ee854f06156547a46777678df389afbea1229afd1673b26e021a9ec03161e5a1c7fc6fb9b28f6b6a12078c94d9247e351bb46f70b899392aa374d67 SHA512 4b665018eb38796cf785ba0caa20435a1bfa5ad5a50f57207d84242307d354405224ccf216b2cfd8b72602d1f04caa4af38feedc7eb7d8984a1e9e308f8789c4
DIST esptool-4.5.tar.gz 7263652 BLAKE2B 7d77a61159e2fbd7abd4897202c1a1c6622a12ac30e453e74258cf1151f2ae2e2332c79abb81fbc9a2ee897db01006afa86ce4f9ef9a700f12a04a13ef932597 SHA512 b55cb334ee82048195c60afe0a86e1a9952e3e91aa3c5c97b1b44709cf24c793ed0da4607b1ecefc87ed5f5f16951f9e4db68bc33a8f96d193479e7f73964763
EBUILD esptool-3.3.2.ebuild 1446 BLAKE2B 0676282aca64d7f6222abbeec1afa63fd99f04944b8d611aaf5ebc54cc3feeab46bb99360831e393aa71eb58216d158784cc5619a25a2fb7568df0e882ede9ab SHA512 bf49b4d3b24af8634f1bcf8c400a5b28d178a538627d3a04cb2f8c9a9e870585ec6a4c432b33c8d5e374efcac645bd613b0b6f750842d1a8e300bee7c11b84bc
EBUILD esptool-4.4.ebuild 1778 BLAKE2B 5899ce58205dff1b54e85cfa9b92655eb30986bfa999f3e7a40255995276fd0d95d6351bc4a5f55348c314f68599573611ea387539785bde59f98073535e2416 SHA512 5bec2ddc6404aade1ee2e140741049ed807d54931b1ff2d040a51876ffee660870dca8077c23944666067e22bdc3f9622009f3b5e8794db4f5a40142e999d62a
+EBUILD esptool-4.5.1.ebuild 1964 BLAKE2B c2172c434c62e2c06916de32002a0d0faa1e142e214d3f7aaa5ffe0b617643313800e3d8f09c893f63ff762a296249588a97490a06038ec0d9e3bd21f0a02aa6 SHA512 88e2e0a4492aed39e267db63ba554b4965790b93dee615c51fae083ef6eed92351a4f82ecf1e58fe40e6be5e009c3f16934c08b725d2a6f3bb8fa85fe6c48617
EBUILD esptool-4.5.ebuild 1964 BLAKE2B 2e3d65a25e5212c1da7667c10b4f0d0eeb36fc4a1943fce83b1f63725529d36555f56f666f200715e88fe63bebfa7778c9465711c90dbd9b0b2f76c541e6c604 SHA512 38465264ed11890997403c9910bd1753ba650bb8f036a5d1a22b669576f9f239b9e4ed2a5f5df7b8d999e437ecd48ef7cd037cb4914e43bf9a6f48f7af22c42d
MISC metadata.xml 504 BLAKE2B 578f33b9dc0f1748ecd37c355efd7f4acb041c192e44b89ad926c482c2a1d422080a0ed3c74311895b9f1ef996315965a79adc31b86437b3ea63bae321dd6294 SHA512 e8ed1644714bc0878d2d955f9d90bd6e0ca9fa183186ff160adaaaa46573fc696e49783c793f225a32b47b23da9f5df4d77d5fd59d7a52fc6386ec59f892cb83
diff --git a/dev-embedded/esptool/esptool-4.5.1.ebuild b/dev-embedded/esptool/esptool-4.5.1.ebuild
new file mode 100644
index 000000000000..4555497ef28c
--- /dev/null
+++ b/dev-embedded/esptool/esptool-4.5.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..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}]
+ 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
+}