summaryrefslogtreecommitdiff
path: root/dev-embedded/esptool
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-embedded/esptool
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-embedded/esptool')
-rw-r--r--dev-embedded/esptool/Manifest3
-rw-r--r--dev-embedded/esptool/esptool-4.10.0.ebuild64
-rw-r--r--dev-embedded/esptool/esptool-5.1.0.ebuild75
-rw-r--r--dev-embedded/esptool/esptool-5.2.0.ebuild76
-rw-r--r--dev-embedded/esptool/metadata.xml14
5 files changed, 232 insertions, 0 deletions
diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest
new file mode 100644
index 000000000000..658df12885df
--- /dev/null
+++ b/dev-embedded/esptool/Manifest
@@ -0,0 +1,3 @@
+DIST esptool-4.10.0.tar.gz 5961194 BLAKE2B 153d57ec90dee53a237dcdf694e6add85d380421a30a4d2ff7c13f73a6511fb120d2a6071adc7327e6ce3cb82c496bd33c972a5739b6d565369e60453be73238 SHA512 98a5329d50286766a11c86b371cb4c383a9fa6de87dbdbc97afc8def63a9f6aba7b633467fb896ba93638006ac73cb1a243973b7daddbc7959e0988d0c00eb6d
+DIST esptool-5.1.0.tar.gz 5904981 BLAKE2B e6f49ff15da617cac8f7a3c2558598430b53a1267632c4e06180ec121d063bf9b80ee5d646207ffa4da00c82fd23a890e07322174afa4d14aa75d1900414442f SHA512 07caaf96225d5b6cd6668cbd6022cf564e7b25f54ed2f2ed6345660c3d4f686ca1489937acd806b90ac30fd3bc15389116776932caa50d091404204d2712d954
+DIST esptool-5.2.0.tar.gz 6056496 BLAKE2B cc036196b9a8a84f9f44c5d5f44796d531510f967946c984f6b5c74c1bd8558ffd611f3f59fce9bcde3d7ab5f161e6ef4bc5520804ebec774bfcc60d61051f67 SHA512 df62952b12abb9d47a7f5a46ea00ce1bd59f32c73017e6b13f31eb2d197caec17810ff358e4a538ed9be958000de88bc97c5c74c41c06f9340e784aec5b6f7e6
diff --git a/dev-embedded/esptool/esptool-4.10.0.ebuild b/dev-embedded/esptool/esptool-4.10.0.ebuild
new file mode 100644
index 000000000000..275ddcbcd4cb
--- /dev/null
+++ b/dev-embedded/esptool/esptool-4.10.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2021-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+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
+}
diff --git a/dev-embedded/esptool/esptool-5.1.0.ebuild b/dev-embedded/esptool/esptool-5.1.0.ebuild
new file mode 100644
index 000000000000..aec2d2c3f2c8
--- /dev/null
+++ b/dev-embedded/esptool/esptool-5.1.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2021-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 eapi9-ver
+
+DESCRIPTION="Serial utility for flashing and interacting with 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/intelhex[${PYTHON_USEDEP}]
+ dev-python/pyserial[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/reedsolo[${PYTHON_USEDEP}]
+ dev-python/rich-click[${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
+ if ver_replacing -lt 5; then
+ ewarn "${P} - new 5.x release with breaking changes:"
+ ewarn " - The .py suffix is deprecated for the following scripts:"
+ ewarn " - esptool"
+ ewarn " - espefuse"
+ ewarn " - espsecure"
+ ewarn " - esp_rfc2217_server"
+ ewarn " - execute-scripts command is removed"
+ ewarn ""
+ ewarn "The official announcement of the changes can be found here: https://developer.espressif.com/blog/2025/04/esptool-v5/"
+ fi
+}
diff --git a/dev-embedded/esptool/esptool-5.2.0.ebuild b/dev-embedded/esptool/esptool-5.2.0.ebuild
new file mode 100644
index 000000000000..ab78660846c3
--- /dev/null
+++ b/dev-embedded/esptool/esptool-5.2.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 2021-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 eapi9-ver
+
+DESCRIPTION="Serial utility for flashing and interacting with 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/intelhex[${PYTHON_USEDEP}]
+ dev-python/pyserial[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/reedsolo[${PYTHON_USEDEP}]
+ dev-python/rich-click[${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}]
+ ') )
+"
+EPYTEST_PLUGINS=( )
+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
+ if ver_replacing -lt 5; then
+ ewarn "${P} - new 5.x release with breaking changes:"
+ ewarn " - The .py suffix is deprecated for the following scripts:"
+ ewarn " - esptool"
+ ewarn " - espefuse"
+ ewarn " - espsecure"
+ ewarn " - esp_rfc2217_server"
+ ewarn " - execute-scripts command is removed"
+ ewarn ""
+ ewarn "The official announcement of the changes can be found here: https://developer.espressif.com/blog/2025/04/esptool-v5/"
+ fi
+}
diff --git a/dev-embedded/esptool/metadata.xml b/dev-embedded/esptool/metadata.xml
new file mode 100644
index 000000000000..ce623b75b477
--- /dev/null
+++ b/dev-embedded/esptool/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/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 />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>