diff options
Diffstat (limited to 'dev-embedded/esptool')
-rw-r--r-- | dev-embedded/esptool/Manifest | 4 | ||||
-rw-r--r-- | dev-embedded/esptool/esptool-3.3.3.ebuild (renamed from dev-embedded/esptool/esptool-4.5.ebuild) | 33 |
2 files changed, 10 insertions, 27 deletions
diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest index 8717bc5f5e00..91e47065d02f 100644 --- a/dev-embedded/esptool/Manifest +++ b/dev-embedded/esptool/Manifest @@ -1,9 +1,9 @@ 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 -DIST esptool-4.5.tar.gz 7263652 BLAKE2B 7d77a61159e2fbd7abd4897202c1a1c6622a12ac30e453e74258cf1151f2ae2e2332c79abb81fbc9a2ee897db01006afa86ce4f9ef9a700f12a04a13ef932597 SHA512 b55cb334ee82048195c60afe0a86e1a9952e3e91aa3c5c97b1b44709cf24c793ed0da4607b1ecefc87ed5f5f16951f9e4db68bc33a8f96d193479e7f73964763 EBUILD esptool-3.3.2.ebuild 1446 BLAKE2B 0676282aca64d7f6222abbeec1afa63fd99f04944b8d611aaf5ebc54cc3feeab46bb99360831e393aa71eb58216d158784cc5619a25a2fb7568df0e882ede9ab SHA512 bf49b4d3b24af8634f1bcf8c400a5b28d178a538627d3a04cb2f8c9a9e870585ec6a4c432b33c8d5e374efcac645bd613b0b6f750842d1a8e300bee7c11b84bc +EBUILD esptool-3.3.3.ebuild 1448 BLAKE2B ffbd5c78f1003f811f64c2642a3878ad52a6e1f320789adf1ec100361923fc15b0f959ae784e0459075e226c5d64dac39f9b0e10b93df6f4dd405734b4b1785f SHA512 c6d8aa9f3da40d049efcaf638b67c42304447f28a28874bcf08d4c04beadcec108e97aa0d38f64e3d3fca03cb516c8c8e390c40da0e621ba72dac5f349791475 EBUILD esptool-4.4.ebuild 1778 BLAKE2B 5899ce58205dff1b54e85cfa9b92655eb30986bfa999f3e7a40255995276fd0d95d6351bc4a5f55348c314f68599573611ea387539785bde59f98073535e2416 SHA512 5bec2ddc6404aade1ee2e140741049ed807d54931b1ff2d040a51876ffee660870dca8077c23944666067e22bdc3f9622009f3b5e8794db4f5a40142e999d62a EBUILD esptool-4.5.1.ebuild 1964 BLAKE2B c2172c434c62e2c06916de32002a0d0faa1e142e214d3f7aaa5ffe0b617643313800e3d8f09c893f63ff762a296249588a97490a06038ec0d9e3bd21f0a02aa6 SHA512 88e2e0a4492aed39e267db63ba554b4965790b93dee615c51fae083ef6eed92351a4f82ecf1e58fe40e6be5e009c3f16934c08b725d2a6f3bb8fa85fe6c48617 -EBUILD esptool-4.5.ebuild 1964 BLAKE2B 2e3d65a25e5212c1da7667c10b4f0d0eeb36fc4a1943fce83b1f63725529d36555f56f666f200715e88fe63bebfa7778c9465711c90dbd9b0b2f76c541e6c604 SHA512 38465264ed11890997403c9910bd1753ba650bb8f036a5d1a22b669576f9f239b9e4ed2a5f5df7b8d999e437ecd48ef7cd037cb4914e43bf9a6f48f7af22c42d MISC metadata.xml 504 BLAKE2B 578f33b9dc0f1748ecd37c355efd7f4acb041c192e44b89ad926c482c2a1d422080a0ed3c74311895b9f1ef996315965a79adc31b86437b3ea63bae321dd6294 SHA512 e8ed1644714bc0878d2d955f9d90bd6e0ca9fa183186ff160adaaaa46573fc696e49783c793f225a32b47b23da9f5df4d77d5fd59d7a52fc6386ec59f892cb83 diff --git a/dev-embedded/esptool/esptool-4.5.ebuild b/dev-embedded/esptool/esptool-3.3.3.ebuild index 68ef41735cdc..4c1b59d3dce1 100644 --- a/dev-embedded/esptool/esptool-4.5.ebuild +++ b/dev-embedded/esptool/esptool-3.3.3.ebuild @@ -16,6 +16,8 @@ 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 ' @@ -31,34 +33,15 @@ BDEPEND=" dev-python/wheel[${PYTHON_USEDEP}] ') test? ( $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] dev-python/pyelftools[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] ') ) " -distutils_enable_tests pytest - -EPYTEST_DESELECT=( +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 - test/test_esptool.py - test/test_espefuse.py -) - -src_prepare() { - default - - # test_espsecure_hsm.py calls unavailable python modules and is broken anyway - rm test/test_espsecure_hsm.py || die -} - -pkg_postinst() { - if ver_test ${REPLACING_VERSIONS} -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 } |