summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-02-22 14:42:36 +0200
committerMart Raudsepp <leio@gentoo.org>2019-02-22 20:02:29 +0200
commitd8279911c0d4498358c1648286853cd1e6aaaf36 (patch)
tree981ec9fe170fc4002b5cdd223061eea2e322ffc8 /eclass
parentgnome-extra/evolution-data-server: bump to 3.30.5 (diff)
downloadgentoo-d8279911c0d4498358c1648286853cd1e6aaaf36.tar.gz
gentoo-d8279911c0d4498358c1648286853cd1e6aaaf36.tar.bz2
gentoo-d8279911c0d4498358c1648286853cd1e6aaaf36.zip
vala.eclass: Skip SLOT=0.38 in dependency generation
We never had 0.38 in main tree, so don't generate "dependency unknown" spam for this. We still do it for 0.44, as overlays want to use it, but that will solve itself once we get around to adding 0.43 or 0.44 to main tree too ourselves. Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vala.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/vala.eclass b/eclass/vala.eclass
index 7ce2a5e681f..1f92a7cc17c 100644
--- a/eclass/vala.eclass
+++ b/eclass/vala.eclass
@@ -53,7 +53,8 @@ vala_api_versions() {
minimal_supported_minor_version="32"
for ((minor_version = ${VALA_MAX_API_VERSION#*.}; minor_version >= ${VALA_MIN_API_VERSION#*.}; minor_version = minor_version - 2)); do
- if ((minor_version >= minimal_supported_minor_version)); then
+ # 0.38 was never in main tree; remove the special case once minimal_supported_minor_version >= 40
+ if ((minor_version >= minimal_supported_minor_version)) && ((minor_version != 38)); then
echo "0.${minor_version}"
fi
done