diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2025-11-21 11:27:14 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-20 19:32:09 -0800 |
| commit | d1672fa2091e0c6b6b5ae37a23c4e14c77922404 (patch) | |
| tree | ae275f174edd593c4451596df96a42f33c59f85f /meta-oe/recipes-support/re2 | |
| parent | 5bcd67a25522998bcf2d0802bbcaf7bd36359c4a (diff) | |
| download | meta-openembedded-d1672fa2091e0c6b6b5ae37a23c4e14c77922404.tar.gz | |
re2: add UPSTREAM_CHECK_GITTAGREGEX
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable
verison.
Before the patch:
$ devtool latest-version re2
INFO: Current version: 2024.03.01
INFO: Latest version: 2025
INFO: Latest version's commit: 927f5d53caf8111721e734cf24724686bb745f55
After the patch:
$ devtool latest-version re2
INFO: Current version: 2024.03.01
INFO: Latest version: 2025-11-05
INFO: Latest version's commit: 927f5d53caf8111721e734cf24724686bb745f55
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/re2')
| -rw-r--r-- | meta-oe/recipes-support/re2/re2_2024.03.01.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/re2/re2_2024.03.01.bb b/meta-oe/recipes-support/re2/re2_2024.03.01.bb index 5b7b241a25..a510545bab 100644 --- a/meta-oe/recipes-support/re2/re2_2024.03.01.bb +++ b/meta-oe/recipes-support/re2/re2_2024.03.01.bb | |||
| @@ -10,6 +10,7 @@ SRC_URI = "git://github.com/google/re2.git;branch=main;protocol=https \ | |||
| 10 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \ | 10 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(-\d+)+)" | ||
| 13 | 14 | ||
| 14 | DEPENDS = "abseil-cpp ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebenchmark', '', d)}" | 15 | DEPENDS = "abseil-cpp ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebenchmark', '', d)}" |
| 15 | 16 | ||
