cloc: include UPSTREAM_CHECK_REGEX to fix UNKNOWN_BROKEN status

Adding UPSTREAM_CHECK_REGEX fix UNKNOWN_BROKEN status
from running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
This commit is contained in:
Alexandre Truong 2024-07-19 14:54:38 +02:00 committed by Khem Raj
parent 53e5aa8042
commit ce9fb36b29
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -8,6 +8,7 @@ SRC_URI = "https://github.com/AlDanial/cloc/releases/download/v${PV}/${BP}.tar.g
SRC_URI[sha256sum] = "5fe0b159eb75718df7308a4f61470eaddf82170733929999e37a3fbb4651cf8a"
UPSTREAM_CHECK_URI = "https://github.com/AlDanial/${BPN}/releases"
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
do_configure[noexec] = "1"
do_compile[noexec] = "1"