Gentoo Archives: gentoo-commits

From: Matthew Smith <matthew@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/esptool/
Date: Fri, 04 Nov 2022 17:13:09
Message-Id: 1667581904.2e99030f17168b28bbea57f289d87dd73e8ad818.matthew@gentoo
1 commit: 2e99030f17168b28bbea57f289d87dd73e8ad818
2 Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
3 AuthorDate: Fri Sep 16 09:59:27 2022 +0000
4 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 4 17:11:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e99030f
7
8 dev-embedded/esptool: drop 3.2, 4.1
9
10 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
11 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
12
13 dev-embedded/esptool/Manifest | 2 --
14 dev-embedded/esptool/esptool-3.2.ebuild | 46 -------------------------
15 dev-embedded/esptool/esptool-4.1.ebuild | 59 ---------------------------------
16 3 files changed, 107 deletions(-)
17
18 diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest
19 index b3fb8f378488..6bdfb32454c0 100644
20 --- a/dev-embedded/esptool/Manifest
21 +++ b/dev-embedded/esptool/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST esptool-3.2.tar.gz 7155428 BLAKE2B f81a8b77f1994599c3302915915e225249a5e735accbe47c8936de47564e47a33ae711df47c57e599d980b450dc4d710f819087a97d086b9d0f15a98622c0da4 SHA512 5e67b3a17190e051d7706ee2dbbe855488765a7bfed15b15f5a04022c3fbf19112905ba6a672c37b1bac5501d45d477cfff07c004cd83b2d1a111430992cefc1
24 DIST esptool-3.3.1.tar.gz 7261340 BLAKE2B c6ee391dcbc331d9f931bfd969333fc3bfc5628d422d52e2963c9d465f4680dca5debaf17cd2f6aca0db9dcc06563fe775d7d6c15dacdff481c52577c26d4364 SHA512 8da34f7b555513d499141ce403f19c3e77b6944eecde440c757faf3bbf5e915e44ff0bcabf1b2cb7f5fe26caa717bb47104ad808c46feaf1dea254d548048095
25 -DIST esptool-4.1.tar.gz 7275429 BLAKE2B d89e0d2b90a9005deea71ba14328c5616062d0ada82c309fa4ad4f4c3861e0683b99e70328d6ae60f0fc0e788e25d6b0a4e39596c1c6cfac0e779840ec796f18 SHA512 b9df8d361fe1a97f0649fed03abc919df1c2ff118dc4dd05abeec641ba2d16e6c308894bd91657768e03a6801ec9e5393e573b4c3016b624e842fef7c6354b41
26 DIST esptool-4.2.1.tar.gz 7271498 BLAKE2B af1c17e08cad057e4534599481da6366460e9eff02de0dfe1cd1163885d315cefd780e034550e7cf09f09f4f3430108675722b9a57109a94c5519bf0c0c158b2 SHA512 b2b7209371330ae0764da5650b48a37ec750a3514951b8e39576b4e54ea682e2a43faf56ce95327071fe88bf4f74762a39483e1edfe2bdf9c5457537888c469f
27
28 diff --git a/dev-embedded/esptool/esptool-3.2.ebuild b/dev-embedded/esptool/esptool-3.2.ebuild
29 deleted file mode 100644
30 index ff024776543d..000000000000
31 --- a/dev-embedded/esptool/esptool-3.2.ebuild
32 +++ /dev/null
33 @@ -1,46 +0,0 @@
34 -# Copyright 2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=8
38 -
39 -PYTHON_COMPAT=( python3_{8..9} )
40 -DISTUTILS_SINGLE_IMPL=1
41 -
42 -inherit distutils-r1
43 -
44 -DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32"
45 -HOMEPAGE="https://github.com/espressif/esptool"
46 -SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -LICENSE="GPL-2+"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~arm ~arm64 x86"
51 -IUSE="test"
52 -RESTRICT="!test? ( test )"
53 -
54 -RDEPEND="
55 - $(python_gen_cond_dep '
56 - dev-python/bitstring[${PYTHON_USEDEP}]
57 - dev-python/cryptography[${PYTHON_USEDEP}]
58 - >=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
59 - dev-python/pyserial[${PYTHON_USEDEP}]
60 - dev-python/reedsolomon[${PYTHON_USEDEP}]
61 - ')
62 -"
63 -BDEPEND="
64 - $(python_gen_cond_dep '
65 - dev-python/wheel[${PYTHON_USEDEP}]
66 - ')
67 - test? ( $(python_gen_cond_dep '
68 - dev-python/coverage[${PYTHON_USEDEP}]
69 - dev-python/pyelftools[${PYTHON_USEDEP}]
70 - ') )
71 -"
72 -
73 -python_test() {
74 - ${EPYTHON} test/test_imagegen.py || die "imagegen test failed with ${EPYTHON}"
75 - ${EPYTHON} test/test_espsecure.py || die "espsecure test failed with ${EPYTHON}"
76 - ${EPYTHON} test/test_espefuse_host.py || die "espefuse_host test failed with ${EPYTHON}"
77 - ${EPYTHON} test/test_merge_bin.py || die "espefuse_host test failed with ${EPYTHON}"
78 - # test/test_rfc2217.py test/test_esptool.py and test/test_espefuse.py need real hardware connected
79 -}
80
81 diff --git a/dev-embedded/esptool/esptool-4.1.ebuild b/dev-embedded/esptool/esptool-4.1.ebuild
82 deleted file mode 100644
83 index 16c7d1459d52..000000000000
84 --- a/dev-embedded/esptool/esptool-4.1.ebuild
85 +++ /dev/null
86 @@ -1,59 +0,0 @@
87 -# Copyright 2021-2022 Gentoo Authors
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI=8
91 -
92 -PYTHON_COMPAT=( python3_{8..10} )
93 -DISTUTILS_SINGLE_IMPL=1
94 -
95 -inherit distutils-r1
96 -
97 -DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32"
98 -HOMEPAGE="https://github.com/espressif/esptool"
99 -SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
100 -
101 -LICENSE="GPL-2+"
102 -SLOT="0"
103 -KEYWORDS="amd64 ~arm ~arm64 x86"
104 -IUSE="test"
105 -RESTRICT="!test? ( test )"
106 -
107 -RDEPEND="
108 - $(python_gen_cond_dep '
109 - dev-python/bitstring[${PYTHON_USEDEP}]
110 - dev-python/cryptography[${PYTHON_USEDEP}]
111 - >=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}]
112 - dev-python/pyserial[${PYTHON_USEDEP}]
113 - dev-python/reedsolomon[${PYTHON_USEDEP}]
114 - ')
115 -"
116 -BDEPEND="
117 - $(python_gen_cond_dep '
118 - dev-python/wheel[${PYTHON_USEDEP}]
119 - ')
120 - test? ( $(python_gen_cond_dep '
121 - dev-python/cffi[${PYTHON_USEDEP}]
122 - dev-python/coverage[${PYTHON_USEDEP}]
123 - dev-python/pyelftools[${PYTHON_USEDEP}]
124 - ') )
125 -"
126 -
127 -python_test() {
128 - "${EPYTHON}" test/test_imagegen.py || die "test_imagegen.py failed with ${EPYTHON}"
129 - "${EPYTHON}" test/test_espsecure.py || die "test_espsecure.py failed with ${EPYTHON}"
130 - "${EPYTHON}" test/test_espefuse_host.py || die "test_espefuse_host.py failed with ${EPYTHON}"
131 - "${EPYTHON}" test/test_merge_bin.py || die "test_merge_bin.py failed with ${EPYTHON}"
132 - "${EPYTHON}" test/test_modules.py || die "test_modules.py failed with ${EPYTHON}"
133 - # test/test_esptool.py and test/test_espefuse.py need real hardware connected
134 -}
135 -
136 -pkg_postinst() {
137 - if ver_test ${REPLACING_VERSIONS} -lt 4; then
138 - ewarn "${P} - new 4.x release with breaking changes:"
139 - ewarn " - Public API has been defined by limiting access to internals that have been refactored into multiple source files"
140 - ewarn " - If active security features are detected, the default behavior changes to prevent unintentional bricking"
141 - ewarn " - Flash parameters in an image header can now be changed only when no SHA256 digest is appended"
142 - ewarn " - The ESP8684 alias has been removed, ESP32-C2 has to be used"
143 - ewarn " - Megabit flash sizes have been deprecated, use megabyte units from now on"
144 - fi
145 -}