bazel-native: add UPSTREAM_CHECK_URI
PATCH 1/3 bazel-native: add UPSTREAM_CHECK_URI
Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison.
Before the patch:
$ devtool latest-version bazel-native INFO: Current version: 6.0.0 INFO: Latest version:
After the patch:
$ devtool latest-version bazel-native INFO: Current version: 6.0.0 INFO: Latest version: 7.7.1
Signed-off-by Yi Zhao <[email protected]>
--- recipes-devtools/bazel/bazel-native_6.0.0.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-devtools/bazel/bazel-native_6.0.0.bb +3 -0
@@ -15,6 +15,9 @@ SRC_URI = "https://github.com/bazelbuild/bazel/releases/download/${PV}/bazel-${P file://include_stdint.patch \ " +UPSTREAM_CHECK_URI = "https://github.com/bazelbuild/bazel/releases/" +UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$" + inherit python3native INHIBIT_SYSROOT_STRIP = "1"
Signature · 1 line
2.34.1
PATCH 2/3 python3-mldtypes: add UPSTREAM_CHECK_URI
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 <[email protected]>
--- recipes-devtools/python/python3-mldtypes_0.5.1.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-devtools/python/python3-mldtypes_0.5.1.bb +3 -0
@@ -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 \
Signature · 1 line
2.34.1
PATCH 3/3 python3-opt-einsum: add UPSTREAM_CHECK_PYPI_PACKAGE
In reply to Yi ZhaoAdd 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 <[email protected]>
--- recipes-devtools/python/python3-opt-einsum_3.3.0.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-devtools/python/python3-opt-einsum_3.3.0.bb +3 -0
@@ -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"
Signature · 1 line
2.34.1