Skip to contentSkip to conversation

bats: upgrade 1.1.0 -> 1.3.0

PATCH New Kamil Dziezyk 1 participant 1 message Apr 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bats: upgrade 1.1.0 -> 1.3.0

Add 'pretty' PACKAGECONFIG option with ncurses runtime dependency. This option allows to display test results with '--formatter pretty|-p' bats command line option.

---
 .../recipes-test/bats/{bats_1.1.0.bb => bats_1.3.0.bb} | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-test/bats/{bats_1.1.0.bb => bats_1.3.0.bb} (75%)
meta-oe/recipes-test/bats/bats_1.3.0.bb renamed from meta-oe/recipes-test/bats/bats_1.1.0.bb +7 -3
similarity index 75%
rename from meta-oe/recipes-test/bats/bats_1.1.0.bb
rename to meta-oe/recipes-test/bats/bats_1.3.0.bb
index a8179744a..8190a5e3a 100644
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b"
 
 SRC_URI = "git://github.com/bats-core/bats-core.git \
           "
-# v1.1.0
-SRCREV = "c706d1470dd1376687776bbe985ac22d09780327"
+# v1.3.0
+SRCREV = "9086c47854652f2731861b40385689c85f12103f"
 
 S = "${WORKDIR}/git"
 
@@ -18,4 +18,8 @@ do_install() {
 	${S}/install.sh ${D}${prefix}
 }
 
-RDEPENDS_bats = "bash"
+RDEPENDS_${PN} = "bash"
+FILES_${PN} += "${libdir}/bats-core/*"
+
+PACKAGECONFIG ??= "pretty"
+PACKAGECONFIG[pretty] = ",,,ncurses"
Signature · 1 line
2.17.1