commit: dad503ddfd31c505d160a20e3f9e99fee1eb98c2
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 21:22:43 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Jul 22 17:10:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dad503dd
vala.eclass: Raise minimum supported version to 0.50
And remove the 0.42 special case while we're here.
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
eclass/vala.eclass | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/eclass/vala.eclass b/eclass/vala.eclass
index 076ef9066067..4e668d939fac 100644
--- a/eclass/vala.eclass
+++ b/eclass/vala.eclass
@@ -49,11 +49,10 @@ vala_api_versions() {
local minimal_supported_minor_version minor_version
# Dependency atoms are not generated for Vala versions older than
0.${minimal_supported_minor_version}.
- minimal_supported_minor_version="46"
+ minimal_supported_minor_version="50"
for ((minor_version = ${VALA_MAX_API_VERSION#*.}; minor_version >=
${VALA_MIN_API_VERSION#*.}; minor_version = minor_version - 2)); do
- # 0.42 is EOL and removed from tree; remove special case once
minimal_support_minor_version >= 44
- if ((minor_version >= minimal_supported_minor_version)) &&
((minor_version != 42)); then
+ if ((minor_version >= minimal_supported_minor_version)); then
echo "0.${minor_version}"
fi
done