mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
meta: fix version checks in all github recipes using the github-releases class
(From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
35708f8860
commit
afefe7de28
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8026691468924fb6ec155dadfe2a1a7f"
|
||||
|
||||
SRCNAME = "numpy"
|
||||
|
||||
SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
|
||||
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
|
||||
file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \
|
||||
file://0001-numpy-core-Define-RISCV-32-support.patch \
|
||||
file://run-ptest \
|
||||
@@ -15,12 +15,11 @@ SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${S
|
||||
"
|
||||
SRC_URI[sha256sum] = "51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases"
|
||||
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
|
||||
GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
|
||||
|
||||
DEPENDS += "python3-cython-native"
|
||||
|
||||
inherit ptest setuptools3
|
||||
inherit ptest setuptools3 github-releases
|
||||
|
||||
S = "${WORKDIR}/numpy-${PV}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user