diff options
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python3-numpy_1.23.3.bb | 7 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-pycairo_1.21.0.bb | 6 |
2 files changed, 6 insertions, 7 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 | ||
diff --git a/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb index 29452c7660..b692067809 100644 --- a/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb +++ b/meta/recipes-devtools/python/python3-pycairo_1.21.0.bb | |||
@@ -10,14 +10,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f3713ca2c28d9312ad718520b6dc3eee \ | |||
10 | # cairo >= 1.14 | 10 | # cairo >= 1.14 |
11 | DEPENDS = "cairo python3" | 11 | DEPENDS = "cairo python3" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${PV}/pycairo-${PV}.tar.gz" | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz" |
14 | UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/" | 14 | GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/" |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b" | 16 | SRC_URI[sha256sum] = "251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b" |
17 | 17 | ||
18 | S = "${WORKDIR}/pycairo-${PV}" | 18 | S = "${WORKDIR}/pycairo-${PV}" |
19 | 19 | ||
20 | inherit meson pkgconfig python3targetconfig | 20 | inherit meson pkgconfig python3targetconfig github-releases |
21 | 21 | ||
22 | CFLAGS += "-fPIC" | 22 | CFLAGS += "-fPIC" |
23 | 23 | ||