diff mbox series

[meta-python,01/11,v2] python3-cached-property: add UPSTREAM_CHECK_PYPI_PACKAGE

Message ID 20251113025855.1520038-1-yi.zhao@windriver.com
State Under Review
Headers show
Series [meta-python,01/11,v2] python3-cached-property: add UPSTREAM_CHECK_PYPI_PACKAGE | expand

Commit Message

Yi Zhao Nov. 13, 2025, 2:58 a.m. UTC
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>
---
V2 change: use UPSTREAM_CHECK_PYPI_PACKAGE instead of UPSTREAM_CHECK_REGEX

 .../recipes-devtools/python/python3-cached-property_2.0.1.bb    | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb b/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb
index 41211534b5..5c88a4e69e 100644
--- a/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb
@@ -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