Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-pytest-timeout
INFO: Current version: 2.4.0
INFO: Latest version: 2.3.1

After the patch:
$ devtool latest-version python3-pytest-timeout
INFO: Current version: 2.4.0
INFO: Latest version: 2.4.0

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

diff --git 
a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb 
b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb
index a376d02e38..6d7901f5e7 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb
@@ -10,3 +10,4 @@ inherit pypi python_setuptools_build_meta
 RDEPENDS:${PN} = "python3-pytest"
 
 PYPI_PACKAGE = "pytest_timeout"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
-- 
2.34.1

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

Reply via email to