diff mbox series

[meta-python,08/32] python3-cvxopt: Fetch by tag and add upstream version check

Message ID 20261127041614.1775064-9-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upstream checks, upgrades and ptest fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 4:15 a.m. UTC
Fetch the ${PV} tag and match the plain X.Y.Z release tags.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-python/recipes-devtools/python/python3-cvxopt_1.3.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-cvxopt_1.3.3.bb b/meta-python/recipes-devtools/python/python3-cvxopt_1.3.3.bb
index 00f84724c4..350d687758 100644
--- a/meta-python/recipes-devtools/python/python3-cvxopt_1.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-cvxopt_1.3.3.bb
@@ -3,10 +3,12 @@  HOMEPAGE = "https://cvxopt.org"
 LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=878d3698da0459c16007d32b4b2915a4"
 
-SRC_URI = "git://github.com/cvxopt/cvxopt;protocol=https;branch=master"
+SRC_URI = "git://github.com/cvxopt/cvxopt;protocol=https;branch=master;tag=${PV}"
 
 SRCREV = "add0181990cab7e018e82246028ded3d67778f2e"
 
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
+
 CVE_PRODUCT = "cvxopt"
 
 RDEPENDS:${PN} += "lapack suitesparse"