cmocka: update SRC_URI and add UPSTREAM_CHECK_TAGREGEX

Fixes:
$ devtool latest-version cmocka
...
fatal: https://git.cryptomilk.org/projects/cmocka.git/info/refs not valid: could not determine hash algorithm; is this a git repository?

INFO: Current version: 2.0.2
INFO: Latest version:

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ankur Tyagi
2026-08-21 16:35:23 +12:00
committed by Khem Raj
parent 0da1f93b2b
commit 55a3373bdc
+2 -1
View File
@@ -7,10 +7,11 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRCREV = "fefa2b8a023121f7235e18ed17249e4012dd144f"
SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=stable-2.0;tag=cmocka-${PV} \
SRC_URI = "git://gitlab.com/cmocka/cmocka.git;protocol=https;branch=stable-2.0;tag=cmocka-${PV} \
file://run-ptest \
"
UPSTREAM_CHECK_TAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
inherit cmake ptest