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

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"
-- 
2.34.1

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

Reply via email to