diff mbox series

[meta-tensorflow,3/3] python3-opt-einsum: add UPSTREAM_CHECK_PYPI_PACKAGE

Message ID 20251128032849.759822-3-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_PYPI_PACKAGE to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-opt-einsum
INFO: Current version: 3.3.0
INFO: Latest version:

After the patch:
$ devtool latest-version python3-opt-einsum
INFO: Current version: 3.3.0
INFO: Latest version: 3.4.0

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

Patch

diff --git a/recipes-devtools/python/python3-opt-einsum_3.3.0.bb b/recipes-devtools/python/python3-opt-einsum_3.3.0.bb
index 4aecbba..ea9b29e 100644
--- a/recipes-devtools/python/python3-opt-einsum_3.3.0.bb
+++ b/recipes-devtools/python/python3-opt-einsum_3.3.0.bb
@@ -14,6 +14,9 @@  PYPI_SRC_URI = "https://files.pythonhosted.org/packages/source/o/${PYPI_PACKAGE}
 SRC_URI += " \
     file://0001-Use-ConfigParser-instead-of-SafeConfigParser.patch \
 "
+
+UPSTREAM_CHECK_PYPI_PACKAGE = "opt_einsum"
+
 S = "${UNPACKDIR}/${SRCNAME}-${PV}"
 
 BBCLASSEXTEND = "native"