python3-lazy-object-proxy: add UPSTREAM_CHECK_PYPI_PACKAGE

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 <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:47 +08:00 committed by Khem Raj
parent 0fe731f52c
commit 49f419317c
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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