diff mbox series

[meta-tensorflow,2/3] python3-mldtypes: add UPSTREAM_CHECK_URI

Message ID 20251128032849.759822-2-yi.zhao@windriver.com
State New
Headers show
Series [meta-tensorflow,1/3] bazel-native: add UPSTREAM_CHECK_URI | expand

Commit Message

Yi Zhao Nov. 28, 2025, 3:28 a.m. UTC
Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_PYPI_PACKAGE to check the
correct latest stable verison.

Before the patch:
$ devtool latest-version python3-mldtypes
INFO: Current version: 0.5.1
INFO: Latest version:

After the patch:
$ devtool latest-version python3-mldtypes
INFO: Current version: 0.5.1
INFO: Latest version: 0.5.4

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

Patch

diff --git a/recipes-devtools/python/python3-mldtypes_0.5.1.bb b/recipes-devtools/python/python3-mldtypes_0.5.1.bb
index b3f8b98..9a72066 100644
--- a/recipes-devtools/python/python3-mldtypes_0.5.1.bb
+++ b/recipes-devtools/python/python3-mldtypes_0.5.1.bb
@@ -13,6 +13,9 @@  PYPI_SRC_URI = "https://files.pythonhosted.org/packages/32/49/6e67c334872d2c114d
 SRC_URI += "file://0001-fix-setuptools-missing.patch"
 S = "${UNPACKDIR}/${SRCNAME}-${PV}"
 
+UPSTREAM_CHECK_PYPI_PACKAGE = "ml_dtypes"
+UPSTREAM_CHECK_URI = "https://pypi.org/simple/${UPSTREAM_CHECK_PYPI_PACKAGE}/"
+
 DEPENDS = " \
     python3-pybind11-native \
     python3-numpy-native \