diff mbox series

[meta-python,08/11] python3-pytest-timeout: add UPSTREAM_CHECK_REGEX

Message ID 20251112145357.3788595-8-yi.zhao@windriver.com
State Under Review
Headers show
Series [meta-python,01/11] python3-cached-property: add UPSTREAM_CHECK_REGEX | expand

Commit Message

Yi Zhao Nov. 12, 2025, 2:53 p.m. UTC
Add UPSTREAM_CHECK_REGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-pytest-timeout
INFO: Current version: 2.4.0
INFO: Latest version: 2.3.1

After the patch:
$ devtool latest-version python3-pytest-timeout
INFO: Current version: 2.4.0
INFO: Latest version: 2.4.0

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb
index a376d02e38..3c99da4a36 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.4.0.bb
@@ -5,6 +5,8 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff"
 
 SRC_URI[sha256sum] = "7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a"
 
+UPSTREAM_CHECK_REGEX = "pytest_timeout-(?P<pver>\d+(\.\d+)+)"
+
 inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} = "python3-pytest"