commit: 140dd52067fad02fdae4f21d18cac1be63655f95
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 3 10:47:50 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jun 3 11:01:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=140dd520
dev-embedded/esptool: add a missing test dep
- & fix ver_test in postinst; it can not compare against a string.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-embedded/esptool/esptool-4.1.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-embedded/esptool/esptool-4.1.ebuild
b/dev-embedded/esptool/esptool-4.1.ebuild
index c36ddc73f65d..a0694e75b119 100644
--- a/dev-embedded/esptool/esptool-4.1.ebuild
+++ b/dev-embedded/esptool/esptool-4.1.ebuild
@@ -32,6 +32,7 @@ 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}]
') )
@@ -47,7 +48,7 @@ python_test() {
}
pkg_postinst() {
- if ver_test "${REPLACING_VERSIONS}" -lt "4"; then
+ 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"