mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00: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
@@ -11,14 +11,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=7a19377a02749d8a1281ed608169b0ee"
|
||||
|
||||
DEPENDS = "zstd"
|
||||
|
||||
SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz \
|
||||
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
|
||||
file://0001-xxhash.h-Fix-build-with-gcc-12.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/"
|
||||
|
||||
inherit cmake
|
||||
inherit cmake github-releases
|
||||
|
||||
PATCHTOOL = "patch"
|
||||
|
||||
|
||||
@@ -9,13 +9,11 @@ SECTION = "base"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${BP}.tar.gz \
|
||||
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
|
||||
"
|
||||
SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases"
|
||||
|
||||
inherit autotools gettext pkgconfig update-alternatives
|
||||
inherit autotools gettext pkgconfig update-alternatives github-releases
|
||||
|
||||
EXTRA_OECONF = "--enable-compat-symlinks --without-iconv"
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ BBCLASSEXTEND = "native nativesdk"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \
|
||||
file://src/gettext.h;beginline=1;endline=17;md5=9c05dda2f58d89b850c399cf22e1a00c"
|
||||
|
||||
SRC_URI = "https://github.com/westes/flex/releases/download/v${PV}/flex-${PV}.tar.gz \
|
||||
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/flex-${PV}.tar.gz \
|
||||
file://run-ptest \
|
||||
file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
|
||||
${@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
|
||||
SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d"
|
||||
SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
|
||||
|
||||
# Flex has moved to github from 2.6.1 onwards
|
||||
UPSTREAM_CHECK_URI = "https://github.com/westes/flex/releases"
|
||||
UPSTREAM_CHECK_REGEX = "flex-(?P<pver>\d+(\.\d+)+)\.tar"
|
||||
GITHUB_BASE_URI = "https://github.com/westes/flex/releases"
|
||||
|
||||
# Disputed - yes there is stack exhaustion but no bug and it is building the
|
||||
# parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address
|
||||
# https://github.com/westes/flex/issues/414
|
||||
CVE_CHECK_IGNORE += "CVE-2019-6293"
|
||||
|
||||
inherit autotools gettext texinfo ptest
|
||||
inherit autotools gettext texinfo ptest github-releases
|
||||
|
||||
M4 = "${bindir}/m4"
|
||||
M4:class-native = "${STAGING_BINDIR_NATIVE}/m4"
|
||||
|
||||
@@ -7,7 +7,8 @@ interface for modern software development tools and practices."
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \
|
||||
GITHUB_BASE_URI = "https://github.com/mesonbuild/meson/releases/"
|
||||
SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \
|
||||
file://meson-setup.py \
|
||||
file://meson-wrapper \
|
||||
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
|
||||
"
|
||||
SRC_URI[sha256sum] = "16222f17ef76be0542c91c07994f9676ae879f46fc21c0c786a21ef2cb518bbf"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases"
|
||||
UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar"
|
||||
|
||||
inherit python_setuptools_build_meta
|
||||
inherit python_setuptools_build_meta github-releases
|
||||
|
||||
RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources"
|
||||
|
||||
|
||||
@@ -8,16 +8,16 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
|
||||
# but is not provided inside the release tarballs
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b"
|
||||
|
||||
inherit allarch
|
||||
inherit allarch github-releases
|
||||
|
||||
SRC_URI = "https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \
|
||||
SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \
|
||||
file://README.md \
|
||||
file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
|
||||
file://determinism.patch \
|
||||
file://0001-Makefile-check-the-file-if-patched-or-not.patch \
|
||||
file://0001-configure_func.sh-Add-_GNU_SOURCE-define-and-functio.patch \
|
||||
"
|
||||
UPSTREAM_CHECK_URI = "https://github.com/arsv/perl-cross/releases/"
|
||||
GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
|
||||
|
||||
SRC_URI[perl-cross.sha256sum] = "be9d9f9f7148edff7a2f9695ba3cb7e3975eff6b25a9a81dd311725fd757aa91"
|
||||
|
||||
|
||||
@@ -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}"
|
||||
|
||||
|
||||
@@ -10,14 +10,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f3713ca2c28d9312ad718520b6dc3eee \
|
||||
# cairo >= 1.14
|
||||
DEPENDS = "cairo python3"
|
||||
|
||||
SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${PV}/pycairo-${PV}.tar.gz"
|
||||
UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/"
|
||||
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz"
|
||||
GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/"
|
||||
|
||||
SRC_URI[sha256sum] = "251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b"
|
||||
|
||||
S = "${WORKDIR}/pycairo-${PV}"
|
||||
|
||||
inherit meson pkgconfig python3targetconfig
|
||||
inherit meson pkgconfig python3targetconfig github-releases
|
||||
|
||||
CFLAGS += "-fPIC"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user