diff mbox series

[meta-python,10/11] python3-rich-argparse: add UPSTREAM_CHECK_REGEX

Message ID 20251112145357.3788595-10-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-rich-argparse
INFO: Current version: 1.7.1
INFO: Latest version:

After the patch:
$ devtool latest-version python3-rich-argparse
INFO: Current version: 1.7.1
INFO: Latest version: 1.7.2

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-rich-argparse_1.7.1.bb b/meta-python/recipes-devtools/python/python3-rich-argparse_1.7.1.bb
index cb07b012b4..c0e5f62fb3 100644
--- a/meta-python/recipes-devtools/python/python3-rich-argparse_1.7.1.bb
+++ b/meta-python/recipes-devtools/python/python3-rich-argparse_1.7.1.bb
@@ -7,6 +7,8 @@  PYPI_PACKAGE = "rich_argparse"
 
 SRC_URI[sha256sum] = "d7a493cde94043e41ea68fb43a74405fa178de981bf7b800f7a3bd02ac5c27be"
 
+UPSTREAM_CHECK_REGEX = "rich_argparse-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_hatchling
 
 RDEPENDS:${PN} += "\