diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-09-27 14:09:21 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-28 08:01:10 +0100 |
| commit | afefe7de281e558ed823460f80ddc631e718feb3 (patch) | |
| tree | 69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-devtools/python/python3-numpy_1.23.3.bb | |
| parent | 35708f8860adbf51549b2b2b07c176ba34eed812 (diff) | |
| download | poky-afefe7de281e558ed823460f80ddc631e718feb3.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3-numpy_1.23.3.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-numpy_1.23.3.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python3-numpy_1.23.3.bb b/meta/recipes-devtools/python/python3-numpy_1.23.3.bb index 1e591c260f..9d086aedfd 100644 --- a/meta/recipes-devtools/python/python3-numpy_1.23.3.bb +++ b/meta/recipes-devtools/python/python3-numpy_1.23.3.bb | |||
| @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8026691468924fb6ec155dadfe2a1a7f" | |||
| 7 | 7 | ||
| 8 | SRCNAME = "numpy" | 8 | SRCNAME = "numpy" |
| 9 | 9 | ||
| 10 | SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ | 10 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ |
| 11 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ | 11 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ |
| 12 | file://0001-numpy-core-Define-RISCV-32-support.patch \ | 12 | file://0001-numpy-core-Define-RISCV-32-support.patch \ |
| 13 | file://run-ptest \ | 13 | file://run-ptest \ |
| @@ -15,12 +15,11 @@ SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${S | |||
| 15 | " | 15 | " |
| 16 | SRC_URI[sha256sum] = "51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd" | 16 | SRC_URI[sha256sum] = "51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd" |
| 17 | 17 | ||
| 18 | UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases" | 18 | GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" |
| 19 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" | ||
| 20 | 19 | ||
| 21 | DEPENDS += "python3-cython-native" | 20 | DEPENDS += "python3-cython-native" |
| 22 | 21 | ||
| 23 | inherit ptest setuptools3 | 22 | inherit ptest setuptools3 github-releases |
| 24 | 23 | ||
| 25 | S = "${WORKDIR}/numpy-${PV}" | 24 | S = "${WORKDIR}/numpy-${PV}" |
| 26 | 25 | ||
