summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-07-21 17:22:43 -0400
committerMatt Turner <mattst88@gentoo.org>2022-07-22 13:10:25 -0400
commitdad503ddfd31c505d160a20e3f9e99fee1eb98c2 (patch)
treee8bdc14af96d6ea9a377ee240cfd2c5c68f583fa /eclass
parentdev-java/gradle-bin: add 7.5 (diff)
downloadgentoo-dad503ddfd31c505d160a20e3f9e99fee1eb98c2.tar.gz
gentoo-dad503ddfd31c505d160a20e3f9e99fee1eb98c2.tar.bz2
gentoo-dad503ddfd31c505d160a20e3f9e99fee1eb98c2.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vala.eclass5
1 files 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