Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/esptool/
Date: Mon, 27 Feb 2023 13:13:00
Message-Id: 1677503573.1f7dc1805828f6d93999b59b5447df17ca995fb4.juippis@gentoo
1 commit: 1f7dc1805828f6d93999b59b5447df17ca995fb4
2 Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
3 AuthorDate: Sun Feb 19 19:56:58 2023 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 13:12:53 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f7dc180
7
8 dev-embedded/esptool: remove old versions 3.3.1 4.2.1 4.3
9
10 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 dev-embedded/esptool/Manifest | 3 --
14 dev-embedded/esptool/esptool-3.3.1.ebuild | 46 ---------------------
15 dev-embedded/esptool/esptool-4.2.1.ebuild | 59 ---------------------------
16 dev-embedded/esptool/esptool-4.3.ebuild | 68 -------------------------------
17 4 files changed, 176 deletions(-)
18
19 diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest
20 index c1383c0aec53..81d3eb92e110 100644
21 --- a/dev-embedded/esptool/Manifest
22 +++ b/dev-embedded/esptool/Manifest
23 @@ -1,5 +1,2 @@
24 -DIST esptool-3.3.1.tar.gz 7261340 BLAKE2B c6ee391dcbc331d9f931bfd969333fc3bfc5628d422d52e2963c9d465f4680dca5debaf17cd2f6aca0db9dcc06563fe775d7d6c15dacdff481c52577c26d4364 SHA512 8da34f7b555513d499141ce403f19c3e77b6944eecde440c757faf3bbf5e915e44ff0bcabf1b2cb7f5fe26caa717bb47104ad808c46feaf1dea254d548048095
25 DIST esptool-3.3.2.tar.gz 7263375 BLAKE2B 8a24a94c5d8acaa9647a5057cbacb57bdf292651529572d7084dbee1013b6174a383bebacccd75bb08e6de94054f28303d5a9b182f0d30dad9081fd8d61d1c4d SHA512 9f31ab5b702c8aede2062a27943fa655d7fbb07fb4c4c377f2ab5552e5453e7c8126bacc5b8e1e859ee6b81e21a75ed1343639815e395b974cc1aaa005367d84
26 -DIST esptool-4.2.1.tar.gz 7271498 BLAKE2B af1c17e08cad057e4534599481da6366460e9eff02de0dfe1cd1163885d315cefd780e034550e7cf09f09f4f3430108675722b9a57109a94c5519bf0c0c158b2 SHA512 b2b7209371330ae0764da5650b48a37ec750a3514951b8e39576b4e54ea682e2a43faf56ce95327071fe88bf4f74762a39483e1edfe2bdf9c5457537888c469f
27 -DIST esptool-4.3.tar.gz 7216987 BLAKE2B 9c48b6884667913b5ffe8d0bef22fcb27142a42a89c802f2f1f2f5355d1a967c398f86a398574310fcb1de5b37a1f5fb7e9e7f78058e5ad38008b097d8debd66 SHA512 aa761dae802d67553096698b40a97ae1fa33995dbc81a16a521ffa3ed1ec87470b1457853e4a1aaedfb94c46770e58712a25cac62a4bd05d85503881e507b493
28 DIST esptool-4.4.tar.gz 7213588 BLAKE2B a88269ff1bfe2e865dab73cafe2bb567fab027f0679c078a9b7c03b8705763390e3e774ff20ebec0d3dbee5a29d1b1e3d2c1931a3a18ff59b82321a6d0ee0da7 SHA512 97d44a5553be380a2d26469bea42b6995c0d97fa3d50e0f6c1673548801983243d204d140ecfc17ee6c9f9c6580e6c6c42a6e953655a06053fa56064af650cf8
29
30 diff --git a/dev-embedded/esptool/esptool-3.3.1.ebuild b/dev-embedded/esptool/esptool-3.3.1.ebuild
31 deleted file mode 100644
32 index 0cda006a3dcf..000000000000
33 --- a/dev-embedded/esptool/esptool-3.3.1.ebuild
34 +++ /dev/null
35 @@ -1,46 +0,0 @@
36 -# Copyright 2021-2023 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=8
40 -
41 -PYTHON_COMPAT=( python3_{9..10} )
42 -DISTUTILS_SINGLE_IMPL=1
43 -
44 -inherit distutils-r1
45 -
46 -DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32"
47 -HOMEPAGE="https://github.com/espressif/esptool"
48 -SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 -
50 -LICENSE="GPL-2+"
51 -SLOT="0"
52 -KEYWORDS="amd64 ~arm ~arm64 x86"
53 -IUSE="test"
54 -RESTRICT="!test? ( test )"
55 -
56 -RDEPEND="
57 - $(python_gen_cond_dep '
58 - dev-python/bitstring[${PYTHON_USEDEP}]
59 - dev-python/cryptography[${PYTHON_USEDEP}]
60 - >=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
61 - dev-python/pyserial[${PYTHON_USEDEP}]
62 - dev-python/reedsolomon[${PYTHON_USEDEP}]
63 - ')
64 -"
65 -BDEPEND="
66 - $(python_gen_cond_dep '
67 - dev-python/wheel[${PYTHON_USEDEP}]
68 - ')
69 - test? ( $(python_gen_cond_dep '
70 - dev-python/coverage[${PYTHON_USEDEP}]
71 - dev-python/pyelftools[${PYTHON_USEDEP}]
72 - ') )
73 -"
74 -
75 -python_test() {
76 - "${EPYTHON}" test/test_imagegen.py || die "imagegen test failed with ${EPYTHON}"
77 - "${EPYTHON}" test/test_espsecure.py || die "espsecure test failed with ${EPYTHON}"
78 - "${EPYTHON}" test/test_espefuse_host.py || die "espefuse_host test failed with ${EPYTHON}"
79 - "${EPYTHON}" test/test_merge_bin.py || die "espefuse_host test failed with ${EPYTHON}"
80 - # test/test_esptool.py and test/test_espefuse.py need real hardware connected
81 -}
82
83 diff --git a/dev-embedded/esptool/esptool-4.2.1.ebuild b/dev-embedded/esptool/esptool-4.2.1.ebuild
84 deleted file mode 100644
85 index cdfa690dbb34..000000000000
86 --- a/dev-embedded/esptool/esptool-4.2.1.ebuild
87 +++ /dev/null
88 @@ -1,59 +0,0 @@
89 -# Copyright 2021-2023 Gentoo Authors
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=8
93 -
94 -PYTHON_COMPAT=( python3_{9..10} )
95 -DISTUTILS_SINGLE_IMPL=1
96 -
97 -inherit distutils-r1
98 -
99 -DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32"
100 -HOMEPAGE="https://github.com/espressif/esptool"
101 -SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
102 -
103 -LICENSE="GPL-2+"
104 -SLOT="0"
105 -KEYWORDS="amd64 ~arm ~arm64 x86"
106 -IUSE="test"
107 -RESTRICT="!test? ( test )"
108 -
109 -RDEPEND="
110 - $(python_gen_cond_dep '
111 - dev-python/bitstring[${PYTHON_USEDEP}]
112 - dev-python/cryptography[${PYTHON_USEDEP}]
113 - >=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
114 - dev-python/pyserial[${PYTHON_USEDEP}]
115 - dev-python/reedsolomon[${PYTHON_USEDEP}]
116 - ')
117 -"
118 -BDEPEND="
119 - $(python_gen_cond_dep '
120 - dev-python/wheel[${PYTHON_USEDEP}]
121 - ')
122 - test? ( $(python_gen_cond_dep '
123 - dev-python/cffi[${PYTHON_USEDEP}]
124 - dev-python/coverage[${PYTHON_USEDEP}]
125 - dev-python/pyelftools[${PYTHON_USEDEP}]
126 - ') )
127 -"
128 -
129 -python_test() {
130 - "${EPYTHON}" test/test_imagegen.py || die "test_imagegen.py failed with ${EPYTHON}"
131 - "${EPYTHON}" test/test_espsecure.py || die "test_espsecure.py failed with ${EPYTHON}"
132 - "${EPYTHON}" test/test_espefuse_host.py || die "test_espefuse_host.py failed with ${EPYTHON}"
133 - "${EPYTHON}" test/test_merge_bin.py || die "test_merge_bin.py failed with ${EPYTHON}"
134 - "${EPYTHON}" test/test_modules.py || die "test_modules.py failed with ${EPYTHON}"
135 - # test/test_esptool.py and test/test_espefuse.py need real hardware connected
136 -}
137 -
138 -pkg_postinst() {
139 - if ver_test ${REPLACING_VERSIONS} -lt 4; then
140 - ewarn "${P} - new 4.x release with breaking changes:"
141 - ewarn " - Public API has been defined by limiting access to internals that have been refactored into multiple source files"
142 - ewarn " - If active security features are detected, the default behavior changes to prevent unintentional bricking"
143 - ewarn " - Flash parameters in an image header can now be changed only when no SHA256 digest is appended"
144 - ewarn " - The ESP8684 alias has been removed, ESP32-C2 has to be used"
145 - ewarn " - Megabit flash sizes have been deprecated, use megabyte units from now on"
146 - fi
147 -}
148
149 diff --git a/dev-embedded/esptool/esptool-4.3.ebuild b/dev-embedded/esptool/esptool-4.3.ebuild
150 deleted file mode 100644
151 index 98189323de60..000000000000
152 --- a/dev-embedded/esptool/esptool-4.3.ebuild
153 +++ /dev/null
154 @@ -1,68 +0,0 @@
155 -# Copyright 2021-2023 Gentoo Authors
156 -# Distributed under the terms of the GNU General Public License v2
157 -
158 -EAPI=8
159 -
160 -PYTHON_COMPAT=( python3_{9..11} )
161 -DISTUTILS_USE_PEP517=setuptools
162 -DISTUTILS_SINGLE_IMPL=1
163 -
164 -inherit distutils-r1
165 -
166 -DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32"
167 -HOMEPAGE="https://github.com/espressif/esptool"
168 -SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
169 -
170 -LICENSE="GPL-2+"
171 -SLOT="0"
172 -KEYWORDS="amd64 ~arm ~arm64 x86"
173 -IUSE="test"
174 -RESTRICT="!test? ( test )"
175 -
176 -RDEPEND="
177 - $(python_gen_cond_dep '
178 - dev-python/bitstring[${PYTHON_USEDEP}]
179 - dev-python/cryptography[${PYTHON_USEDEP}]
180 - >=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
181 - dev-python/pyserial[${PYTHON_USEDEP}]
182 - dev-python/reedsolomon[${PYTHON_USEDEP}]
183 - ')
184 -"
185 -BDEPEND="
186 - $(python_gen_cond_dep '
187 - dev-python/wheel[${PYTHON_USEDEP}]
188 - ')
189 - test? ( $(python_gen_cond_dep '
190 - dev-python/cffi[${PYTHON_USEDEP}]
191 - dev-python/coverage[${PYTHON_USEDEP}]
192 - dev-python/pyelftools[${PYTHON_USEDEP}]
193 - ') )
194 -"
195 -
196 -python_test() {
197 - "${EPYTHON}" test/test_imagegen.py || die "test_imagegen.py failed with ${EPYTHON}"
198 - "${EPYTHON}" test/test_espsecure.py || die "test_espsecure.py failed with ${EPYTHON}"
199 - "${EPYTHON}" test/test_merge_bin.py || die "test_merge_bin.py failed with ${EPYTHON}"
200 - "${EPYTHON}" test/test_image_info.py || die "test_image_info.py failed with ${EPYTHON}"
201 - "${EPYTHON}" test/test_modules.py || die "test_modules.py failed with ${EPYTHON}"
202 - "${EPYTHON}" test/test_espefuse_host.py esp32|| die "test_espefuse_host.py esp32 failed with ${EPYTHON}"
203 - "${EPYTHON}" test/test_espefuse_host.py esp32c2 || die "test_espefuse_host.py esp32c2 failed with ${EPYTHON}"
204 - "${EPYTHON}" test/test_espefuse_host.py esp32c3 || die "test_espefuse_host.py esp32c3 failed with ${EPYTHON}"
205 - "${EPYTHON}" test/test_espefuse_host.py esp32s2 || die "test_espefuse_host.py esp32s2 failed with ${EPYTHON}"
206 - "${EPYTHON}" test/test_espefuse_host.py esp32s3 || die "test_espefuse_host.py esp32s3 failed with ${EPYTHON}"
207 - "${EPYTHON}" test/test_espefuse_host.py esp32s3beta2 || die "test_espefuse_host.py esp32s3beta2 failed with ${EPYTHON}"
208 - "${EPYTHON}" test/test_espefuse_host.py esp32h2beta1 || die "test_espefuse_host.py esp32h2beta1 failed with ${EPYTHON}"
209 - "${EPYTHON}" test/test_espefuse_host.py esp32c6 || die "test_espefuse_host.py esp32c6 failed with ${EPYTHON}"
210 - # test/test_esptool.py and test/test_espefuse.py need real hardware connected
211 -}
212 -
213 -pkg_postinst() {
214 - if ver_test ${REPLACING_VERSIONS} -lt 4; then
215 - ewarn "${P} - new 4.x release with breaking changes:"
216 - ewarn " - Public API has been defined by limiting access to internals that have been refactored into multiple source files"
217 - ewarn " - If active security features are detected, the default behavior changes to prevent unintentional bricking"
218 - ewarn " - Flash parameters in an image header can now be changed only when no SHA256 digest is appended"
219 - ewarn " - The ESP8684 alias has been removed, ESP32-C2 has to be used"
220 - ewarn " - Megabit flash sizes have been deprecated, use megabyte units from now on"
221 - fi
222 -}