python3-cached-property: add UPSTREAM_CHECK_PYPI_PACKAGE

Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-cached-property
INFO: Current version: 2.0.1
INFO: Latest version: 1.5.2

After the patch:
$ devtool latest-version python3-cached-property
INFO: Current version: 2.0.1
INFO: Latest version: 2.0.1

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:45 +08:00 committed by Khem Raj
parent 08ce815053
commit 51bfc27ddb
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -6,6 +6,8 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc"
PYPI_PACKAGE = "cached_property"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
SRC_URI[sha256sum] = "484d617105e3ee0e4f1f58725e72a8ef9e93deee462222dbd51cd91230897641"
inherit pypi setuptools3