commit: 15b9261945943227388602c88d31c7939b9eda8c Author: Henning Schild <henning <AT> hennsch <DOT> de> AuthorDate: Wed Jul 30 14:45:58 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Sep 6 15:17:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15b92619
dev-util/bats: drop old Signed-off-by: Henning Schild <henning <AT> hennsch.de> Part-of: https://github.com/gentoo/gentoo/pull/43247 Closes: https://github.com/gentoo/gentoo/pull/43247 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/bats/Manifest | 1 - dev-util/bats/bats-1.11.1.ebuild | 47 -------------------------- dev-util/bats/files/bats-1.11.1-bash-5.3.patch | 25 -------------- 3 files changed, 73 deletions(-) diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest index 7cc1a3e280f2..452691b840ec 100644 --- a/dev-util/bats/Manifest +++ b/dev-util/bats/Manifest @@ -1,2 +1 @@ -DIST bats-1.11.1.tar.gz 174699 BLAKE2B 3e64257d45344a9e0a77178a77fe9f19f65aae6bb4cbba497e6ee960cb2a1d8bbcc5078b0600024f25da5c298d075c89d1fe054ee0529fb23489af05b97c1e80 SHA512 56faccadebc92555418c6aa6cb1985e7928d6db9c7bdbdd788f3dd55e82ef831d2389aa5b7198dd810fa6fd9dc6cfae78f7a10149e3027ed4f6517ede02dd8c3 DIST bats-1.12.0.tar.gz 175914 BLAKE2B 1c5f93888d1f58d029c2a42b3692529e2c5bb37c3577125125283f28f21bf3b86e5b2b991d73e06530e3db2c1f47a29f2d3a028dc45a46ec7007ef29a9f96bad SHA512 df32f5c69cea53d062da331aa5aa61191bde9f4836fb1a3b149e7a1205351dc29c6797e7329bc98fb793e8f5d5cb9e10dd3d6a106e362c2ce32b089a8c67e210 diff --git a/dev-util/bats/bats-1.11.1.ebuild b/dev-util/bats/bats-1.11.1.ebuild deleted file mode 100644 index ec58e32c0732..000000000000 --- a/dev-util/bats/bats-1.11.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multiprocessing optfeature - -MY_PN="bats-core" -DESCRIPTION="Bats-core: Bash Automated Testing System" -HOMEPAGE="https://github.com/bats-core/bats-core/" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86" - -DEPEND="app-shells/bash:*" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-bash-5.3.patch -) - -src_test() { - local my_jobs=$(get_nproc) - if ! command -v parallel >/dev/null; then - my_jobs=1 - fi - bin/bats --tap --jobs "${my_jobs}" test || die "Tests failed" -} - -src_install() { - exeinto /usr/libexec/${MY_PN} - doexe libexec/${MY_PN}/* - exeinto /usr/lib/${MY_PN} - doexe lib/${MY_PN}/* - dobin bin/${PN} - - dodoc README.md - doman man/${PN}.1 man/${PN}.7 -} - -pkg_postinst() { - optfeature "Parallel Execution" sys-process/parallel -} diff --git a/dev-util/bats/files/bats-1.11.1-bash-5.3.patch b/dev-util/bats/files/bats-1.11.1-bash-5.3.patch deleted file mode 100644 index 13c52cbe8f0f..000000000000 --- a/dev-util/bats/files/bats-1.11.1-bash-5.3.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://github.com/bats-core/bats-core/commit/3c65504bb51a9f5d589de70e885fa42b5a994588 - -From 3c65504bb51a9f5d589de70e885fa42b5a994588 Mon Sep 17 00:00:00 2001 -From: Martin Schulze <[email protected]> -Date: Fri, 20 Dec 2024 23:20:31 +0100 -Subject: [PATCH] fix test expecation for bash RC (5.3) - ---- - test/suite_setup_teardown.bats | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/test/suite_setup_teardown.bats b/test/suite_setup_teardown.bats -index 9bd5d0e768..3bf728ea6c 100644 ---- a/test/suite_setup_teardown.bats -+++ b/test/suite_setup_teardown.bats -@@ -66,7 +66,7 @@ setup() { - - @test "syntax errors in setup_suite.bash are reported and lead to non zero exit code" { - LANG=C reentrant_run ! bats --setup-suite-file "$FIXTURE_ROOT/syntax_error/setup_suite_no_shellcheck" "$FIXTURE_ROOT/syntax_error/" -- [ "${lines[1]}" == "$FIXTURE_ROOT/syntax_error/setup_suite_no_shellcheck: line 2: syntax error: unexpected end of file" ] -+ [[ "${lines[1]}" == "$FIXTURE_ROOT/syntax_error/setup_suite_no_shellcheck: line 2: syntax error: unexpected end of file"* ]] - } - - @test "errors in setup_suite.bash's free code reported correctly" { -
