summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-09-27 14:09:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-28 08:01:10 +0100
commitafefe7de281e558ed823460f80ddc631e718feb3 (patch)
tree69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-devtools
parent35708f8860adbf51549b2b2b07c176ba34eed812 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-devtools/ccache/ccache_4.6.3.bb6
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools_4.2.bb6
-rw-r--r--meta/recipes-devtools/flex/flex_2.6.4.bb8
-rw-r--r--meta/recipes-devtools/meson/meson_0.63.2.bb8
-rw-r--r--meta/recipes-devtools/perl-cross/perlcross_1.4.bb6
-rw-r--r--meta/recipes-devtools/python/python3-numpy_1.23.3.bb7
-rw-r--r--meta/recipes-devtools/python/python3-pycairo_1.21.0.bb6
7 files changed, 19 insertions, 28 deletions
diff --git a/meta/recipes-devtools/ccache/ccache_4.6.3.bb b/meta/recipes-devtools/ccache/ccache_4.6.3.bb
index 5ed46cdc19..bc1be92bff 100644
--- a/meta/recipes-devtools/ccache/ccache_4.6.3.bb
+++ b/meta/recipes-devtools/ccache/ccache_4.6.3.bb
@@ -11,14 +11,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=7a19377a02749d8a1281ed608169b0ee"
11 11
12DEPENDS = "zstd" 12DEPENDS = "zstd"
13 13
14SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz \ 14SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
15 file://0001-xxhash.h-Fix-build-with-gcc-12.patch \ 15 file://0001-xxhash.h-Fix-build-with-gcc-12.patch \
16 " 16 "
17SRC_URI[sha256sum] = "f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05" 17SRC_URI[sha256sum] = "f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05"
18 18
19UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/" 19inherit cmake github-releases
20
21inherit cmake
22 20
23PATCHTOOL = "patch" 21PATCHTOOL = "patch"
24 22
diff --git a/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb
index 289d939bb9..47d81dac8d 100644
--- a/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb
+++ b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb
@@ -9,13 +9,11 @@ SECTION = "base"
9LICENSE = "GPL-3.0-only" 9LICENSE = "GPL-3.0-only"
10LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 10LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
11 11
12SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${BP}.tar.gz \ 12SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
13 " 13 "
14SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" 14SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
15 15
16UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases" 16inherit autotools gettext pkgconfig update-alternatives github-releases
17
18inherit autotools gettext pkgconfig update-alternatives
19 17
20EXTRA_OECONF = "--enable-compat-symlinks --without-iconv" 18EXTRA_OECONF = "--enable-compat-symlinks --without-iconv"
21 19
diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb
index 8736b3585e..15cf6f5cca 100644
--- a/meta/recipes-devtools/flex/flex_2.6.4.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.4.bb
@@ -12,7 +12,7 @@ BBCLASSEXTEND = "native nativesdk"
12LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \ 12LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \
13 file://src/gettext.h;beginline=1;endline=17;md5=9c05dda2f58d89b850c399cf22e1a00c" 13 file://src/gettext.h;beginline=1;endline=17;md5=9c05dda2f58d89b850c399cf22e1a00c"
14 14
15SRC_URI = "https://github.com/westes/flex/releases/download/v${PV}/flex-${PV}.tar.gz \ 15SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/flex-${PV}.tar.gz \
16 file://run-ptest \ 16 file://run-ptest \
17 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ 17 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
18 ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \ 18 ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \
@@ -24,16 +24,14 @@ SRC_URI = "https://github.com/westes/flex/releases/download/v${PV}/flex-${PV}.ta
24SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d" 24SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d"
25SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" 25SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
26 26
27# Flex has moved to github from 2.6.1 onwards 27GITHUB_BASE_URI = "https://github.com/westes/flex/releases"
28UPSTREAM_CHECK_URI = "https://github.com/westes/flex/releases"
29UPSTREAM_CHECK_REGEX = "flex-(?P<pver>\d+(\.\d+)+)\.tar"
30 28
31# Disputed - yes there is stack exhaustion but no bug and it is building the 29# Disputed - yes there is stack exhaustion but no bug and it is building the
32# parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address 30# parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address
33# https://github.com/westes/flex/issues/414 31# https://github.com/westes/flex/issues/414
34CVE_CHECK_IGNORE += "CVE-2019-6293" 32CVE_CHECK_IGNORE += "CVE-2019-6293"
35 33
36inherit autotools gettext texinfo ptest 34inherit autotools gettext texinfo ptest github-releases
37 35
38M4 = "${bindir}/m4" 36M4 = "${bindir}/m4"
39M4:class-native = "${STAGING_BINDIR_NATIVE}/m4" 37M4:class-native = "${STAGING_BINDIR_NATIVE}/m4"
diff --git a/meta/recipes-devtools/meson/meson_0.63.2.bb b/meta/recipes-devtools/meson/meson_0.63.2.bb
index 406f5bf05e..890faacec9 100644
--- a/meta/recipes-devtools/meson/meson_0.63.2.bb
+++ b/meta/recipes-devtools/meson/meson_0.63.2.bb
@@ -7,7 +7,8 @@ interface for modern software development tools and practices."
7LICENSE = "Apache-2.0" 7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" 8LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
9 9
10SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \ 10GITHUB_BASE_URI = "https://github.com/mesonbuild/meson/releases/"
11SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \
11 file://meson-setup.py \ 12 file://meson-setup.py \
12 file://meson-wrapper \ 13 file://meson-wrapper \
13 file://0001-python-module-do-not-manipulate-the-environment-when.patch \ 14 file://0001-python-module-do-not-manipulate-the-environment-when.patch \
@@ -19,10 +20,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P
19 " 20 "
20SRC_URI[sha256sum] = "16222f17ef76be0542c91c07994f9676ae879f46fc21c0c786a21ef2cb518bbf" 21SRC_URI[sha256sum] = "16222f17ef76be0542c91c07994f9676ae879f46fc21c0c786a21ef2cb518bbf"
21 22
22UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" 23inherit python_setuptools_build_meta github-releases
23UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar"
24
25inherit python_setuptools_build_meta
26 24
27RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources" 25RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources"
28 26
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.4.bb b/meta/recipes-devtools/perl-cross/perlcross_1.4.bb
index 17ce901646..98a8fa3f8a 100644
--- a/meta/recipes-devtools/perl-cross/perlcross_1.4.bb
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.4.bb
@@ -8,16 +8,16 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
8# but is not provided inside the release tarballs 8# but is not provided inside the release tarballs
9LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" 9LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b"
10 10
11inherit allarch 11inherit allarch github-releases
12 12
13SRC_URI = "https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ 13SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \
14 file://README.md \ 14 file://README.md \
15 file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ 15 file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
16 file://determinism.patch \ 16 file://determinism.patch \
17 file://0001-Makefile-check-the-file-if-patched-or-not.patch \ 17 file://0001-Makefile-check-the-file-if-patched-or-not.patch \
18 file://0001-configure_func.sh-Add-_GNU_SOURCE-define-and-functio.patch \ 18 file://0001-configure_func.sh-Add-_GNU_SOURCE-define-and-functio.patch \
19 " 19 "
20UPSTREAM_CHECK_URI = "https://github.com/arsv/perl-cross/releases/" 20GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
21 21
22SRC_URI[perl-cross.sha256sum] = "be9d9f9f7148edff7a2f9695ba3cb7e3975eff6b25a9a81dd311725fd757aa91" 22SRC_URI[perl-cross.sha256sum] = "be9d9f9f7148edff7a2f9695ba3cb7e3975eff6b25a9a81dd311725fd757aa91"
23 23
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
8SRCNAME = "numpy" 8SRCNAME = "numpy"
9 9
10SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ 10SRC_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 "
16SRC_URI[sha256sum] = "51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd" 16SRC_URI[sha256sum] = "51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd"
17 17
18UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases" 18GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
19UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
20 19
21DEPENDS += "python3-cython-native" 20DEPENDS += "python3-cython-native"
22 21
23inherit ptest setuptools3 22inherit ptest setuptools3 github-releases
24 23
25S = "${WORKDIR}/numpy-${PV}" 24S = "${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
11DEPENDS = "cairo python3" 11DEPENDS = "cairo python3"
12 12
13SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${PV}/pycairo-${PV}.tar.gz" 13SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz"
14UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/" 14GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/"
15 15
16SRC_URI[sha256sum] = "251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b" 16SRC_URI[sha256sum] = "251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b"
17 17
18S = "${WORKDIR}/pycairo-${PV}" 18S = "${WORKDIR}/pycairo-${PV}"
19 19
20inherit meson pkgconfig python3targetconfig 20inherit meson pkgconfig python3targetconfig github-releases
21 21
22CFLAGS += "-fPIC" 22CFLAGS += "-fPIC"
23 23