diff mbox series

[meta-python,02/11,v2] python3-gpt-image: add UPSTREAM_CHECK_PYPI_PACKAGE

Message ID 20251113025855.1520038-2-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-gpt-image
INFO: Current version: 0.9.0
INFO: Latest version: 0.8.1

After the patch:
$ devtool latest-version python3-gpt-image
INFO: Current version: 0.9.0
INFO: Latest version: 0.9.1

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
V2 change: use UPSTREAM_CHECK_PYPI_PACKAGE instead of UPSTREAM_CHECK_REGEX

 .../python3-gpt-image/python3-gpt-image_0.9.0.bb                | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb b/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb
index a4870de113..90b77cdfea 100644
--- a/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb
+++ b/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb
@@ -8,6 +8,8 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=db5f8de88d13d0917db21293d0e82e1d"
 DEPENDS += "python3-pip"
 
 PYPI_PACKAGE = "gpt_image"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+
 SRC_URI[sha256sum] = "c06d8efc7cf8d6f3954c1c3d8544f494aa95da37fe04e38a9699ad3f57455f7e"
 
 inherit pypi python3native python_setuptools_build_meta ptest-python-pytest