1 |
commit: 4ea694cdcb134cc9fa257a1f4f318961433a70da |
2 |
Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net> |
3 |
AuthorDate: Mon May 16 14:27:45 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 11:01:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea694cd |
7 |
|
8 |
dev-embedded/esptool: version bump to 3.3.1 |
9 |
|
10 |
esptool-3.3.1: according to upstream, this is the last 3.x release |
11 |
|
12 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
13 |
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net> |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
dev-embedded/esptool/Manifest | 1 + |
17 |
dev-embedded/esptool/esptool-3.3.1.ebuild | 46 +++++++++++++++++++++++++++++++ |
18 |
2 files changed, 47 insertions(+) |
19 |
|
20 |
diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest |
21 |
index 8204e36da092..524c1849b23f 100644 |
22 |
--- a/dev-embedded/esptool/Manifest |
23 |
+++ b/dev-embedded/esptool/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST esptool-3.2.tar.gz 7155428 BLAKE2B f81a8b77f1994599c3302915915e225249a5e735accbe47c8936de47564e47a33ae711df47c57e599d980b450dc4d710f819087a97d086b9d0f15a98622c0da4 SHA512 5e67b3a17190e051d7706ee2dbbe855488765a7bfed15b15f5a04022c3fbf19112905ba6a672c37b1bac5501d45d477cfff07c004cd83b2d1a111430992cefc1 |
26 |
+DIST esptool-3.3.1.tar.gz 7261340 BLAKE2B c6ee391dcbc331d9f931bfd969333fc3bfc5628d422d52e2963c9d465f4680dca5debaf17cd2f6aca0db9dcc06563fe775d7d6c15dacdff481c52577c26d4364 SHA512 8da34f7b555513d499141ce403f19c3e77b6944eecde440c757faf3bbf5e915e44ff0bcabf1b2cb7f5fe26caa717bb47104ad808c46feaf1dea254d548048095 |
27 |
DIST esptool-3.3.tar.gz 7259717 BLAKE2B b9952dff9a1884cae5325730056673d96bd442c82cd799196d99fe5287b72bc567d312102779f64c4a526c19bd36d0f742b4e81434de8b4dadf406a19bd3d423 SHA512 1f1a43832ae5487c570e49c97ca18831371f5a4ac0d4b260fa8b7356c7af40b8514722ded630a6c84e3d59f7fba78c9d70b291d1fa581fc25ea37204ded44363 |
28 |
|
29 |
diff --git a/dev-embedded/esptool/esptool-3.3.1.ebuild b/dev-embedded/esptool/esptool-3.3.1.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..922aa7b84829 |
32 |
--- /dev/null |
33 |
+++ b/dev-embedded/esptool/esptool-3.3.1.ebuild |
34 |
@@ -0,0 +1,46 @@ |
35 |
+# Copyright 2021-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python3_{8..10} ) |
41 |
+DISTUTILS_SINGLE_IMPL=1 |
42 |
+ |
43 |
+inherit distutils-r1 |
44 |
+ |
45 |
+DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32" |
46 |
+HOMEPAGE="https://github.com/espressif/esptool" |
47 |
+SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-2+" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
52 |
+IUSE="test" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ $(python_gen_cond_dep ' |
57 |
+ dev-python/bitstring[${PYTHON_USEDEP}] |
58 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}] |
60 |
+ dev-python/pyserial[${PYTHON_USEDEP}] |
61 |
+ dev-python/reedsolomon[${PYTHON_USEDEP}] |
62 |
+ ') |
63 |
+" |
64 |
+BDEPEND=" |
65 |
+ $(python_gen_cond_dep ' |
66 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
67 |
+ ') |
68 |
+ test? ( $(python_gen_cond_dep ' |
69 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
70 |
+ dev-python/pyelftools[${PYTHON_USEDEP}] |
71 |
+ ') ) |
72 |
+" |
73 |
+ |
74 |
+python_test() { |
75 |
+ "${EPYTHON}" test/test_imagegen.py || die "imagegen test failed with ${EPYTHON}" |
76 |
+ "${EPYTHON}" test/test_espsecure.py || die "espsecure test failed with ${EPYTHON}" |
77 |
+ "${EPYTHON}" test/test_espefuse_host.py || die "espefuse_host test failed with ${EPYTHON}" |
78 |
+ "${EPYTHON}" test/test_merge_bin.py || die "espefuse_host test failed with ${EPYTHON}" |
79 |
+ # test/test_esptool.py and test/test_espefuse.py need real hardware connected |
80 |
+} |