From 6f7de1646688f851b0278e35c852d545d82a4c5a Mon Sep 17 00:00:00 2001 From: wangmy Date: Tue, 20 Sep 2022 10:09:11 +0800 Subject: bats: upgrade 1.7.0 -> 1.8.0 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-test/bats/bats_1.7.0.bb | 33 --------------------------------- meta-oe/recipes-test/bats/bats_1.8.0.bb | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 meta-oe/recipes-test/bats/bats_1.7.0.bb create mode 100644 meta-oe/recipes-test/bats/bats_1.8.0.bb (limited to 'meta-oe/recipes-test/bats') diff --git a/meta-oe/recipes-test/bats/bats_1.7.0.bb b/meta-oe/recipes-test/bats/bats_1.7.0.bb deleted file mode 100644 index 81235e29b0..0000000000 --- a/meta-oe/recipes-test/bats/bats_1.7.0.bb +++ /dev/null @@ -1,33 +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." -AUTHOR = "Sam Stephenson & bats-core organization" -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.7.0 -SRCREV = "410dd229a5ed005c68167cc90ed0712ad2a1c909" - -S = "${WORKDIR}/git" - -do_configure:prepend() { - sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats - sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-file - sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-test -} - -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.8.0.bb b/meta-oe/recipes-test/bats/bats_1.8.0.bb new file mode 100644 index 0000000000..4b90dcc579 --- /dev/null +++ b/meta-oe/recipes-test/bats/bats_1.8.0.bb @@ -0,0 +1,33 @@ +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." +AUTHOR = "Sam Stephenson & bats-core organization" +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.7.0 +SRCREV = "e9b286bb39ad7b0cb7b7d2e819d44d1aff387522" + +S = "${WORKDIR}/git" + +do_configure:prepend() { + sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats + sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-file + sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-test +} + +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