Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/esptool/
Date: Fri, 03 Jun 2022 11:01:26
Message-Id: 1654254079.140dd52067fad02fdae4f21d18cac1be63655f95.juippis@gentoo
1 commit: 140dd52067fad02fdae4f21d18cac1be63655f95
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 3 10:47:50 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=140dd520
7
8 dev-embedded/esptool: add a missing test dep
9
10 - & fix ver_test in postinst; it can not compare against a string.
11
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-embedded/esptool/esptool-4.1.ebuild | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-embedded/esptool/esptool-4.1.ebuild b/dev-embedded/esptool/esptool-4.1.ebuild
18 index c36ddc73f65d..a0694e75b119 100644
19 --- a/dev-embedded/esptool/esptool-4.1.ebuild
20 +++ b/dev-embedded/esptool/esptool-4.1.ebuild
21 @@ -32,6 +32,7 @@ BDEPEND="
22 dev-python/wheel[${PYTHON_USEDEP}]
23 ')
24 test? ( $(python_gen_cond_dep '
25 + dev-python/cffi[${PYTHON_USEDEP}]
26 dev-python/coverage[${PYTHON_USEDEP}]
27 dev-python/pyelftools[${PYTHON_USEDEP}]
28 ') )
29 @@ -47,7 +48,7 @@ python_test() {
30 }
31
32 pkg_postinst() {
33 - if ver_test "${REPLACING_VERSIONS}" -lt "4"; then
34 + if ver_test "${REPLACING_VERSIONS}" -lt 4; then
35 ewarn "${P} - new 4.x release with breaking changes:"
36 ewarn " - Public API has been defined by limiting access to internals that have been refactored into multiple source files"
37 ewarn " - If active security features are detected, the default behavior changes to prevent unintentional bricking"