[oe-commits] [openembedded-core] 54/74: vim: fix upstream version check

git at git.openembedded.org git at git.openembedded.org
Sat Dec 28 14:32:47 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a111ab0a0b26f3738171934812db4ead29886038
Author: Alexander Kanavin <alex.kanavin at gmail.com>
AuthorDate: Fri Dec 13 12:42:24 2019 +0100

    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.
    
    Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-support/vim/vim.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index 0a31e68..5a1bea6 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -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]}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list