public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/esptool/
Date: Wed, 13 Aug 2025 14:07:17 +0000 (UTC)	[thread overview]
Message-ID: <1755094010.4acc3a506b1aa1c6ef7a6eef8f2c66b0faacf9e5.sam@gentoo> (raw)

commit:     4acc3a506b1aa1c6ef7a6eef8f2c66b0faacf9e5
Author:     Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Sun Jul 27 15:42:22 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 13 14:06:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4acc3a50

dev-embedded/esptool: add 5.0.2

cleanup of BDEPEND and test dependencies
drop KEYWORDS ~arm ~arm64 ~x86 due to new RDEPEND
dev-python/rich-click - rekewording will follow later

Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Part-of: https://github.com/gentoo/gentoo/pull/43183
Closes: https://github.com/gentoo/gentoo/pull/43183
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-embedded/esptool/Manifest             |  1 +
 dev-embedded/esptool/esptool-5.0.2.ebuild | 75 +++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest
index 1289cd64160c..1055d85627ad 100644
--- a/dev-embedded/esptool/Manifest
+++ b/dev-embedded/esptool/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/dev-embedded/esptool/esptool-5.0.2.ebuild b/dev-embedded/esptool/esptool-5.0.2.ebuild
new file mode 100644
index 000000000000..5d08fb4e29d9
--- /dev/null
+++ b/dev-embedded/esptool/esptool-5.0.2.ebuild
@@ -0,0 +1,75 @@
+# 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="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"
+
+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
+}


             reply	other threads:[~2025-08-13 14:07 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-13 14:07 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-17 21:33 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/esptool/ Sam James
2025-09-17 21:33 Sam James
2025-09-17  4:03 Sam James
2025-09-17  4:03 Sam James
2025-09-17  4:03 Sam James
2025-08-14  2:13 Sam James
2025-08-14  2:13 Sam James
2025-08-14  2:13 Sam James
2025-08-11 12:02 Sam James
2025-08-11 12:02 Sam James
2025-07-22 10:25 Sam James
2025-04-21 14:14 Viorel Munteanu
2025-04-21 14:14 Viorel Munteanu
2025-04-21 14:14 Viorel Munteanu
2025-03-13 23:55 Sam James
2025-02-22  8:02 Ulrich Müller
2025-01-09  8:26 Florian Schmaus
2024-07-03 22:42 Sam James
2024-07-03 22:38 Sam James
2024-05-29  5:37 Joonas Niilola
2024-05-29  5:37 Joonas Niilola
2024-04-15 20:02 Florian Schmaus
2024-04-15  6:03 Joonas Niilola
2024-04-15  6:03 Joonas Niilola
2024-02-28  6:55 Joonas Niilola
2024-02-28  6:55 Joonas Niilola
2024-01-28 23:15 Sam James
2023-06-29 12:47 Joonas Niilola
2023-06-11 11:38 Viorel Munteanu
2023-06-11 11:38 Viorel Munteanu
2023-06-11 11:38 Viorel Munteanu
2023-06-01 20:04 Sam James
2023-05-18 19:42 Sam James
2023-04-03 10:26 Viorel Munteanu
2023-04-03 10:26 Viorel Munteanu
2023-03-08 14:13 Joonas Niilola
2023-02-27 13:12 Joonas Niilola
2023-02-27 13:12 Joonas Niilola
2023-02-16  5:01 Sam James
2023-01-19  1:39 Sam James
2022-12-21 22:47 Sam James
2022-12-05 10:54 Florian Schmaus
2022-11-04 17:13 Matthew Smith
2022-11-04 17:13 Matthew Smith
2022-11-04 17:13 Matthew Smith
2022-09-17  6:04 Joonas Niilola
2022-08-09 16:33 Matthew Smith
2022-07-26 13:10 Joonas Niilola
2022-07-26 13:10 Joonas Niilola
2022-06-07  5:21 Sam James
2022-06-03 11:01 Joonas Niilola
2022-06-03 11:01 Joonas Niilola
2022-06-03 11:01 Joonas Niilola
2022-06-03 11:01 Joonas Niilola
2022-03-31 11:45 Joonas Niilola
2022-03-31 11:45 Joonas Niilola
2022-03-04 13:53 Joonas Niilola
2021-12-07  7:48 Agostino Sarubbo
2021-10-31  2:55 Sam James
2021-10-31  2:55 Sam James
2021-08-08  7:45 Agostino Sarubbo
2021-07-05 11:16 Michał Górny
2021-06-15  1:14 Sam James
2021-06-15  1:14 Sam James
2021-02-12 16:20 Sam James
2021-02-04 14:42 Agostino Sarubbo
2021-02-04 14:09 Sam James
2020-12-12  4:32 Sam James
2020-12-12  4:27 Sam James
2020-11-28  9:15 Joonas Niilola
2020-11-13  2:46 Sam James
2020-11-12 22:54 Thomas Deutschmann
2020-10-11  9:30 Joonas Niilola
2020-10-04 21:15 Michał Górny
2020-08-25 12:43 Sam James
2020-05-07 21:21 Andreas Sturmlechner
2020-02-05 19:12 Michał Górny
2019-11-24 21:07 Aaron Bauman
2019-11-24 19:33 Manuel Rüger
2019-05-31 18:58 Georgy Yakovlev
2018-04-05 21:33 Michał Górny
2018-03-20 11:45 Manuel Rüger
2018-03-15 20:17 Markus Meier
2018-01-08 23:57 Thomas Deutschmann
2017-12-23 15:08 Manuel Rüger
2017-12-16 10:31 Tobias Klausmann
2017-11-24 23:09 Michael Palimaka
2017-11-21 18:04 Manuel Rüger
2017-09-10 10:54 Manuel Rüger
2017-09-10 10:54 Manuel Rüger
2017-06-26 17:31 Manuel Rüger
2017-06-15 15:31 Manuel Rüger
2017-05-14 11:10 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1755094010.4acc3a506b1aa1c6ef7a6eef8f2c66b0faacf9e5.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox