diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-05-12 16:16:25 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-12 17:55:11 +0100 |
commit | 91227184b59df30222e45abf2edf13e4e65164a1 (patch) | |
tree | 4eb002dcbf330df06cb52907446280ad4d3908eb | |
parent | 777b33a77cc357dfe8c3adc3cd952dcd53cd8976 (diff) | |
download | poky-91227184b59df30222e45abf2edf13e4e65164a1.tar.gz |
ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX
The upstream git tag has a `upstream/' prefix, such as:
>>> import re
>>> pattern = "upstream/(?P<pver>\d+(\.\d+)+(\+\d+)*)"
>>> string = "upstream/6.1+20181013"
>>> result = re.match(pattern, string)
>>> result['pver']
'6.1+20181013'
(From OE-Core rev: 50c872f402656e192d47b7a64e003f345227e55c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/ncurses/ncurses_6.1+20181013.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb b/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb index ef6ca9879b..928c47742c 100644 --- a/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb +++ b/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb | |||
@@ -8,4 +8,4 @@ SRC_URI += "file://0001-tic-hang.patch \ | |||
8 | SRCREV = "7a97a7f937762ba342d5b2fd7cd090885a809835" | 8 | SRCREV = "7a97a7f937762ba342d5b2fd7cd090885a809835" |
9 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
10 | EXTRA_OECONF += "--with-abi-version=5 --cache-file=${B}/config.cache" | 10 | EXTRA_OECONF += "--with-abi-version=5 --cache-file=${B}/config.cache" |
11 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)" | 11 | UPSTREAM_CHECK_GITTAGREGEX = "upstream/(?P<pver>\d+(\.\d+)+(\+\d+)*)" |