diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2023-03-17 23:43:38 +0100 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-04-03 12:54:46 +0300 |
commit | 6976e937453671550442e7a341beb4d7cb69d3bb (patch) | |
tree | ca28a8409ebe2f553214cd1b06561ac98e480298 /dev-embedded | |
parent | dev-embedded/esptool: drop 4.5 (diff) | |
download | gentoo-6976e937453671550442e7a341beb4d7cb69d3bb.tar.gz gentoo-6976e937453671550442e7a341beb4d7cb69d3bb.tar.bz2 gentoo-6976e937453671550442e7a341beb4d7cb69d3bb.zip |
dev-embedded/esptool: add 3.3.3
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/30197
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/esptool/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/esptool/esptool-3.3.3.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest index da8b9ac2ec63..a748b3d6dfdb 100644 --- a/dev-embedded/esptool/Manifest +++ b/dev-embedded/esptool/Manifest @@ -1,3 +1,4 @@ DIST esptool-3.3.2.tar.gz 7263375 BLAKE2B 8a24a94c5d8acaa9647a5057cbacb57bdf292651529572d7084dbee1013b6174a383bebacccd75bb08e6de94054f28303d5a9b182f0d30dad9081fd8d61d1c4d SHA512 9f31ab5b702c8aede2062a27943fa655d7fbb07fb4c4c377f2ab5552e5453e7c8126bacc5b8e1e859ee6b81e21a75ed1343639815e395b974cc1aaa005367d84 +DIST esptool-3.3.3.tar.gz 7264378 BLAKE2B 8c993bd4ccffaf417599daebcb08c6d0b0aa9a360af8c014156812a8236751a51c81f5fd4637e1bbe1cf44f9ab815e7502a67b522857ed6c72ca13d69d1993b6 SHA512 1d6b85a4a2911c20243f4aa8fe399edc848d540598765df68c83afcd30bd591e7100089e53ccd1bec21aac0be5d8021d6f90a8a0b563612fcfd01a3bd190a9c6 DIST esptool-4.4.tar.gz 7213588 BLAKE2B a88269ff1bfe2e865dab73cafe2bb567fab027f0679c078a9b7c03b8705763390e3e774ff20ebec0d3dbee5a29d1b1e3d2c1931a3a18ff59b82321a6d0ee0da7 SHA512 97d44a5553be380a2d26469bea42b6995c0d97fa3d50e0f6c1673548801983243d204d140ecfc17ee6c9f9c6580e6c6c42a6e953655a06053fa56064af650cf8 DIST esptool-4.5.1.tar.gz 6971407 BLAKE2B 8ffc102f5ee854f06156547a46777678df389afbea1229afd1673b26e021a9ec03161e5a1c7fc6fb9b28f6b6a12078c94d9247e351bb46f70b899392aa374d67 SHA512 4b665018eb38796cf785ba0caa20435a1bfa5ad5a50f57207d84242307d354405224ccf216b2cfd8b72602d1f04caa4af38feedc7eb7d8984a1e9e308f8789c4 diff --git a/dev-embedded/esptool/esptool-3.3.3.ebuild b/dev-embedded/esptool/esptool-3.3.3.ebuild new file mode 100644 index 000000000000..4c1b59d3dce1 --- /dev/null +++ b/dev-embedded/esptool/esptool-3.3.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +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" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/bitstring[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/ecdsa-0.16.0[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] + dev-python/reedsolomon[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/wheel[${PYTHON_USEDEP}] + ') + test? ( $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/pyelftools[${PYTHON_USEDEP}] + ') ) +" + +python_test() { + "${EPYTHON}" test/test_imagegen.py || die "imagegen test failed with ${EPYTHON}" + "${EPYTHON}" test/test_espsecure.py || die "espsecure test failed with ${EPYTHON}" + "${EPYTHON}" test/test_espefuse_host.py || die "espefuse_host test failed with ${EPYTHON}" + "${EPYTHON}" test/test_merge_bin.py || die "espefuse_host test failed with ${EPYTHON}" + # test/test_esptool.py and test/test_espefuse.py need real hardware connected +} |