vim: fix upstream version check

Only new x.y versions will be reported, as upstream creates a new
x.y.z tag for every commit.

(From OE-Core rev: 99558e667e4e04934943476472bd9919b5d07855)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2019-12-13 12:42:24 +01:00
committed by Richard Purdie
parent 5df56c70f4
commit 5fd13c6142

View File

@@ -14,6 +14,9 @@ SRC_URI = "git://github.com/vim/vim.git \
"
SRCREV = "202d982b36d87cf91d992bd7e30d3223bdc72cd9"
# Do not consider .z in x.y.z, as that is updated with every commit
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0"
S = "${WORKDIR}/git"
VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}"