Add UPSTREAM_CHECK_PYPI_PACKAGE 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       | 1 +
 1 file changed, 1 insertion(+)

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..8228a509a3 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
@@ -4,6 +4,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=06f5c372171ce02f7e6a18f5f57f0b69"
 
 PYPI_PACKAGE = "rich_argparse"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 SRC_URI[sha256sum] = 
"d7a493cde94043e41ea68fb43a74405fa178de981bf7b800f7a3bd02ac5c27be"
 
-- 
2.34.1

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

Reply via email to