1 |
commit: d8279911c0d4498358c1648286853cd1e6aaaf36 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 22 12:42:36 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 22 18:02:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8279911 |
7 |
|
8 |
vala.eclass: Skip SLOT=0.38 in dependency generation |
9 |
|
10 |
We never had 0.38 in main tree, so don't generate "dependency unknown" |
11 |
spam for this. We still do it for 0.44, as overlays want to use it, |
12 |
but that will solve itself once we get around to adding 0.43 or 0.44 |
13 |
to main tree too ourselves. |
14 |
|
15 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
16 |
|
17 |
eclass/vala.eclass | 3 ++- |
18 |
1 file changed, 2 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/eclass/vala.eclass b/eclass/vala.eclass |
21 |
index 7ce2a5e681f..1f92a7cc17c 100644 |
22 |
--- a/eclass/vala.eclass |
23 |
+++ b/eclass/vala.eclass |
24 |
@@ -53,7 +53,8 @@ vala_api_versions() { |
25 |
minimal_supported_minor_version="32" |
26 |
|
27 |
for ((minor_version = ${VALA_MAX_API_VERSION#*.}; minor_version >= ${VALA_MIN_API_VERSION#*.}; minor_version = minor_version - 2)); do |
28 |
- if ((minor_version >= minimal_supported_minor_version)); then |
29 |
+ # 0.38 was never in main tree; remove the special case once minimal_supported_minor_version >= 40 |
30 |
+ if ((minor_version >= minimal_supported_minor_version)) && ((minor_version != 38)); then |
31 |
echo "0.${minor_version}" |
32 |
fi |
33 |
done |