python3-pytest-timeout: add UPSTREAM_CHECK_PYPI_PACKAGE

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 <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2025-11-13 10:58:52 +08:00 committed by Khem Raj
parent fce6a3edad
commit 36646f4b2a
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -10,3 +10,4 @@ inherit pypi python_setuptools_build_meta
RDEPENDS:${PN} = "python3-pytest"
PYPI_PACKAGE = "pytest_timeout"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"