summaryrefslogtreecommitdiff
path: root/meta/classes/upstream-version-is-even.bbclass
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-11-11 16:32:16 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-08 10:20:09 +0000
commit5ddaba1fb833d0408cef5f58f786513b9293c30a (patch)
tree6844daffd062cc1b630bd68275f6d5a84308835c /meta/classes/upstream-version-is-even.bbclass
parent452b196565c1f19bb736ce4debae576b2f5420aa (diff)
downloadopenembedded-core-5ddaba1fb833d0408cef5f58f786513b9293c30a.tar.gz
openembedded-core-5ddaba1fb833d0408cef5f58f786513b9293c30a.tar.bz2
openembedded-core-5ddaba1fb833d0408cef5f58f786513b9293c30a.zip
package_regex.inc: split entries with odd-even versioning into their own recipes
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/upstream-version-is-even.bbclass')
-rw-r--r--meta/classes/upstream-version-is-even.bbclass5
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 @@
+# This class ensures that the upstream version check only
+# accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.)
+# This scheme is used by Gnome and a number of other projects
+# to signify stable releases vs development releases.
+UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"