summaryrefslogtreecommitdiffstats
path: root/meta/classes
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:51 +0000
commit642e92f2cd67980a731ba21b570d8d1c6f4798e0 (patch)
treeccae9a0f45db187759a1fcc536ddfc20a51c2dcb /meta/classes
parent96eac69636d2c345cdd50b19262f157335d53380 (diff)
downloadpoky-642e92f2cd67980a731ba21b570d8d1c6f4798e0.tar.gz
package_regex.inc: split entries with odd-even versioning into their own recipes
(From OE-Core rev: 5ddaba1fb833d0408cef5f58f786513b9293c30a) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 @@
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.
5UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"