From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B794A15807A for ; Thu, 05 Jun 2025 21:22:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A0CEB3431E8 for ; Thu, 05 Jun 2025 21:22:44 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 02E8B1103C1; Thu, 05 Jun 2025 21:22:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id ECA5A1103C1 for ; Thu, 05 Jun 2025 21:22:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5395343025 for ; Thu, 05 Jun 2025 21:22:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 497AD28EC for ; Thu, 05 Jun 2025 21:22:38 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1749158509.d87be455836ec929c1c73f60607fee72ebd38856.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bats/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bats/Manifest dev-util/bats/bats-1.12.0.ebuild X-VCS-Directories: dev-util/bats/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d87be455836ec929c1c73f60607fee72ebd38856 X-VCS-Branch: master Date: Thu, 05 Jun 2025 21:22:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 148180a0-3c96-489d-8fee-3897ff1d6514 X-Archives-Hash: 39231a76ad6a8d2cddff9c79d8820d20 commit: d87be455836ec929c1c73f60607fee72ebd38856 Author: Henning Schild hennsch de> AuthorDate: Mon May 19 14:13:01 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jun 5 21:21:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87be455 dev-util/bats: bump version to 1.12.0 Signed-off-by: Henning Schild hennsch.de> Part-of: https://github.com/gentoo/gentoo/pull/42151 Closes: https://github.com/gentoo/gentoo/pull/42151 Signed-off-by: Sam James gentoo.org> dev-util/bats/Manifest | 1 + dev-util/bats/bats-1.12.0.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest index 0a2b486eefc2..7cc1a3e280f2 100644 --- a/dev-util/bats/Manifest +++ b/dev-util/bats/Manifest @@ -1 +1,2 @@ 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.12.0.ebuild b/dev-util/bats/bats-1.12.0.ebuild new file mode 100644 index 000000000000..d5dfda05dafd --- /dev/null +++ b/dev-util/bats/bats-1.12.0.ebuild @@ -0,0 +1,43 @@ +# 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}" + +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 +}