Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-lazy-object-proxy
INFO: Current version: 1.12.0
INFO: Latest version: 1.10.0

After the patch:
$ devtool latest-version python3-lazy-object-proxy
INFO: Current version: 1.12.0
INFO: Latest version: 1.12.0

Signed-off-by: Yi Zhao <[email protected]>
---
 .../recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb 
b/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb
index acd84efd21..9ba6ef8b15 100644
--- a/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb
+++ b/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb
@@ -9,6 +9,7 @@ DEPENDS += "python3-setuptools-scm-native"
 SRC_URI[sha256sum] = 
"1f5a462d92fd0cfb82f1fab28b51bfb209fabbe6aabf7f0d51472c0c124c0c61"
 
 PYPI_PACKAGE = "lazy_object_proxy"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 inherit pypi python_setuptools_build_meta
 
-- 
2.34.1

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

Reply via email to