diff options
Diffstat (limited to 'meta/classes/upstream-version-is-even.bbclass')
-rw-r--r-- | meta/classes/upstream-version-is-even.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/upstream-version-is-even.bbclass b/meta/classes/upstream-version-is-even.bbclass new file mode 100644 index 0000000000..89556ed7d4 --- /dev/null +++ b/meta/classes/upstream-version-is-even.bbclass | |||
@@ -0,0 +1,5 @@ | |||
1 | # This class ensures that the upstream version check only | ||
2 | # accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.) | ||
3 | # This scheme is used by Gnome and a number of other projects | ||
4 | # to signify stable releases vs development releases. | ||
5 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" | ||