Add UPSTREAM_CHECK_REGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-types-psutil
INFO: Current version: 7.0.0.20250601
INFO: Latest version: 6.1.0.20241102

After the patch:
$ devtool latest-version python3-types-psutil
INFO: Current version: 7.0.0.20250601
INFO: Latest version: 7.0.0.20251111

Signed-off-by: Yi Zhao <[email protected]>
---
 .../python/python3-types-psutil_7.0.0.20250601.bb               | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb 
b/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb
index 146361c5fd..ecc714264c 100644
--- a/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb
+++ b/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=ec038232ab86edd7354b091c54e190e2"
 
 PYPI_PACKAGE = "types_psutil"
 
+UPSTREAM_CHECK_REGEX = "types_psutil-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_setuptools_build_meta
 
 SRC_URI[sha256sum] = 
"71fe9c4477a7e3d4f1233862f0877af87bff057ff398f04f4e5c0ca60aded197"
-- 
2.34.1

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

Reply via email to