From 6bf3bc30c5c6be3995ae5d965126ddd6c47dea2b Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 6 Mar 2024 16:43:04 +0800 Subject: bats: upgrade 1.10.0 -> 1.11.0 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-test/bats/bats_1.10.0.bb | 34 -------------------------------- meta-oe/recipes-test/bats/bats_1.11.0.bb | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 meta-oe/recipes-test/bats/bats_1.10.0.bb create mode 100644 meta-oe/recipes-test/bats/bats_1.11.0.bb diff --git a/meta-oe/recipes-test/bats/bats_1.10.0.bb b/meta-oe/recipes-test/bats/bats_1.10.0.bb deleted file mode 100644 index d2a93e190b..0000000000 --- a/meta-oe/recipes-test/bats/bats_1.10.0.bb +++ /dev/null @@ -1,34 +0,0 @@ -SUMMARY = "Bash Automated Testing System" -DESCRIPTION = "Bats is a TAP-compliant testing framework for Bash. It \ -provides a simple way to verify that the UNIX programs you write behave as expected." -HOMEPAGE = "https://github.com/bats-core/bats-core" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b" - -SRC_URI = "\ - git://github.com/bats-core/bats-core.git;branch=master;protocol=https \ - " - -# v1.10.0 -SRCREV = "f7defb94362f2053a3e73d13086a167448ea9133" - -S = "${WORKDIR}/git" - -# Numerous scripts assume ${baselib} == lib, which is not true. -# -do_configure:prepend() { - for f in ${S}/libexec/bats-core/* ${S}/lib/bats-core/* ; do - sed -i 's:\$BATS_ROOT/lib/:\$BATS_ROOT/${baselib}/:g' $f - done -} - -do_install() { - # Just a bunch of bash scripts to install - ${S}/install.sh ${D}${prefix} ${baselib} -} - -RDEPENDS:${PN} = "bash" -FILES:${PN} += "${libdir}/bats-core/*" - -PACKAGECONFIG ??= "pretty" -PACKAGECONFIG[pretty] = ",,,ncurses" diff --git a/meta-oe/recipes-test/bats/bats_1.11.0.bb b/meta-oe/recipes-test/bats/bats_1.11.0.bb new file mode 100644 index 0000000000..f0615f7b79 --- /dev/null +++ b/meta-oe/recipes-test/bats/bats_1.11.0.bb @@ -0,0 +1,34 @@ +SUMMARY = "Bash Automated Testing System" +DESCRIPTION = "Bats is a TAP-compliant testing framework for Bash. It \ +provides a simple way to verify that the UNIX programs you write behave as expected." +HOMEPAGE = "https://github.com/bats-core/bats-core" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b" + +SRC_URI = "\ + git://github.com/bats-core/bats-core.git;branch=master;protocol=https \ + " + +# v1.10.0 +SRCREV = "7531b575bb81487553553aecb654c41b237ae96c" + +S = "${WORKDIR}/git" + +# Numerous scripts assume ${baselib} == lib, which is not true. +# +do_configure:prepend() { + for f in ${S}/libexec/bats-core/* ${S}/lib/bats-core/* ; do + sed -i 's:\$BATS_ROOT/lib/:\$BATS_ROOT/${baselib}/:g' $f + done +} + +do_install() { + # Just a bunch of bash scripts to install + ${S}/install.sh ${D}${prefix} ${baselib} +} + +RDEPENDS:${PN} = "bash" +FILES:${PN} += "${libdir}/bats-core/*" + +PACKAGECONFIG ??= "pretty" +PACKAGECONFIG[pretty] = ",,,ncurses" -- cgit 1.2.3-korg