diff mbox series

[meta-python,01/11] python3-cached-property: add UPSTREAM_CHECK_REGEX

Message ID 20251112145357.3788595-1-yi.zhao@windriver.com
State Under Review
Headers show
Series [meta-python,01/11] python3-cached-property: add UPSTREAM_CHECK_REGEX | expand

Commit Message

Yi Zhao Nov. 12, 2025, 2:53 p.m. UTC
Add UPSTREAM_CHECK_REGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-cached-property
INFO: Current version: 2.0.1
INFO: Latest version: 1.5.2

After the patch:
$ devtool latest-version python3-cached-property
INFO: Current version: 2.0.1
INFO: Latest version: 2.0.1

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 .../recipes-devtools/python/python3-cached-property_2.0.1.bb    | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb b/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb
index 41211534b5..c5baa6fc93 100644
--- a/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb
@@ -8,6 +8,8 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc"
 PYPI_PACKAGE = "cached_property"
 SRC_URI[sha256sum] = "484d617105e3ee0e4f1f58725e72a8ef9e93deee462222dbd51cd91230897641"
 
+UPSTREAM_CHECK_REGEX = "cached_property-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi setuptools3
 
 BBCLASSEXTEND = "native"