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 | |
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')
-rw-r--r-- | meta/recipes-devtools/ccache/ccache_4.6.3.bb | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/dosfstools/dosfstools_4.2.bb | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/flex/flex_2.6.4.bb | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson_0.63.2.bb | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/perl-cross/perlcross_1.4.bb | 6 | ||||
-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 |
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 | ||
12 | DEPENDS = "zstd" | 12 | DEPENDS = "zstd" |
13 | 13 | ||
14 | SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz \ | 14 | SRC_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 | " |
17 | SRC_URI[sha256sum] = "f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05" | 17 | SRC_URI[sha256sum] = "f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05" |
18 | 18 | ||
19 | UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/" | 19 | inherit cmake github-releases |
20 | |||
21 | inherit cmake | ||
22 | 20 | ||
23 | PATCHTOOL = "patch" | 21 | PATCHTOOL = "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" | |||
9 | LICENSE = "GPL-3.0-only" | 9 | LICENSE = "GPL-3.0-only" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
11 | 11 | ||
12 | SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${BP}.tar.gz \ | 12 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ |
13 | " | 13 | " |
14 | SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" | 14 | SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" |
15 | 15 | ||
16 | UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases" | 16 | inherit autotools gettext pkgconfig update-alternatives github-releases |
17 | |||
18 | inherit autotools gettext pkgconfig update-alternatives | ||
19 | 17 | ||
20 | EXTRA_OECONF = "--enable-compat-symlinks --without-iconv" | 18 | EXTRA_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" | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \ | 12 | LIC_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 | ||
15 | SRC_URI = "https://github.com/westes/flex/releases/download/v${PV}/flex-${PV}.tar.gz \ | 15 | SRC_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 | |||
24 | SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d" | 24 | SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d" |
25 | SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" | 25 | SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" |
26 | 26 | ||
27 | # Flex has moved to github from 2.6.1 onwards | 27 | GITHUB_BASE_URI = "https://github.com/westes/flex/releases" |
28 | UPSTREAM_CHECK_URI = "https://github.com/westes/flex/releases" | ||
29 | UPSTREAM_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 |
34 | CVE_CHECK_IGNORE += "CVE-2019-6293" | 32 | CVE_CHECK_IGNORE += "CVE-2019-6293" |
35 | 33 | ||
36 | inherit autotools gettext texinfo ptest | 34 | inherit autotools gettext texinfo ptest github-releases |
37 | 35 | ||
38 | M4 = "${bindir}/m4" | 36 | M4 = "${bindir}/m4" |
39 | M4:class-native = "${STAGING_BINDIR_NATIVE}/m4" | 37 | M4: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." | |||
7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" |
9 | 9 | ||
10 | SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \ | 10 | GITHUB_BASE_URI = "https://github.com/mesonbuild/meson/releases/" |
11 | SRC_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 | " |
20 | SRC_URI[sha256sum] = "16222f17ef76be0542c91c07994f9676ae879f46fc21c0c786a21ef2cb518bbf" | 21 | SRC_URI[sha256sum] = "16222f17ef76be0542c91c07994f9676ae879f46fc21c0c786a21ef2cb518bbf" |
21 | 22 | ||
22 | UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" | 23 | inherit python_setuptools_build_meta github-releases |
23 | UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar" | ||
24 | |||
25 | inherit python_setuptools_build_meta | ||
26 | 24 | ||
27 | RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources" | 25 | RDEPENDS:${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 |
9 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" | 9 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" |
10 | 10 | ||
11 | inherit allarch | 11 | inherit allarch github-releases |
12 | 12 | ||
13 | SRC_URI = "https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ | 13 | SRC_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 | " |
20 | UPSTREAM_CHECK_URI = "https://github.com/arsv/perl-cross/releases/" | 20 | GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" |
21 | 21 | ||
22 | SRC_URI[perl-cross.sha256sum] = "be9d9f9f7148edff7a2f9695ba3cb7e3975eff6b25a9a81dd311725fd757aa91" | 22 | SRC_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 | ||
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 | ||