]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3-numpy: fix upstream version check
authorAlexander Kanavin <alex.kanavin@gmail.com>
Tue, 13 Dec 2022 11:10:59 +0000 (12:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 18 Dec 2022 19:45:38 +0000 (19:45 +0000)
Default regex is also considering numpy release candidates.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-devtools/python/python3-numpy_1.23.4.bb

index d9172692b5eaabc390c772d672be68614aee34e9..679a6f408155de696ec45fc6420f9de351a3dffb 100644 (file)
@@ -16,6 +16,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
 SRC_URI[sha256sum] = "ed2cc92af0efad20198638c69bb0fc2870a58dabfba6eb722c933b48556c686c"
 
 GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
 
 DEPENDS += "python3-cython-native"