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 <[email protected]>
---
 .../recipes-devtools/python/python3-rich-argparse_1.7.1.bb      | 2 ++
 1 file changed, 2 insertions(+)

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} += "\
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#121558): 
https://lists.openembedded.org/g/openembedded-devel/message/121558
Mute This Topic: https://lists.openembedded.org/mt/116257115/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to