diff mbox series

[meta-python,04/11,v2] python3-paho-mqtt: add UPSTREAM_CHECK_PYPI_PACKAGE

Message ID 20251113025855.1520038-4-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-paho-mqtt
INFO: Current version: 2.1.0
INFO: Latest version: 1.6.1

Before the patch:
$ devtool latest-version python3-paho-mqtt
INFO: Current version: 2.1.0
INFO: Latest version: 2.1.0

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb b/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb
index 86cf034394..aa88711d69 100644
--- a/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb
@@ -11,6 +11,8 @@  SRC_URI[sha256sum] = "12d6e7511d4137555a3f6ea167ae846af2c7357b10bc6fa4f7c3968fc1
 
 PYPI_SRC_URI = "https://files.pythonhosted.org/packages/39/15/0a6214e76d4d32e7f663b109cf71fb22561c2be0f701d67f93950cd40542/paho_mqtt-${PV}.tar.gz"
 
+UPSTREAM_CHECK_PYPI_PACKAGE = "paho_mqtt"
+
 S = "${UNPACKDIR}/paho_mqtt-${PV}"
 
 DEPENDS += "python3-pytest-runner-native"