From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53992158094 for ; Sat, 1 Oct 2022 05:06:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48740E0935; Sat, 1 Oct 2022 05:06:20 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 299CBE0935 for ; Sat, 1 Oct 2022 05:06:20 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1029B340DC5 for ; Sat, 1 Oct 2022 05:06:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 794DA5EC for ; Sat, 1 Oct 2022 05:06:17 +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: <1664600764.2788b18174c07de9d67c80261ea0190e3f6f18ae.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.8.0.ebuild X-VCS-Directories: dev-util/bats/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2788b18174c07de9d67c80261ea0190e3f6f18ae X-VCS-Branch: master Date: Sat, 1 Oct 2022 05:06:17 +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: 5e592fe0-98a6-4323-9d27-a3250988948c X-Archives-Hash: aa7c89df255f06c1f54a906c1309546e commit: 2788b18174c07de9d67c80261ea0190e3f6f18ae Author: Henning Schild hennsch de> AuthorDate: Thu Sep 15 06:33:23 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Oct 1 05:06:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2788b181 dev-util/bats: bump version to 1.8.0 Signed-off-by: Henning Schild hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/27262 Signed-off-by: Sam James gentoo.org> dev-util/bats/Manifest | 1 + dev-util/bats/bats-1.8.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest index 7a53136f8e17..45327d4db02a 100644 --- a/dev-util/bats/Manifest +++ b/dev-util/bats/Manifest @@ -1,2 +1,3 @@ DIST bats-1.5.0.tar.gz 108052 BLAKE2B 68bba9d263e4206ead7039da2b09c5211c834445efdf429dca6c53acc5409de1052ce7ffa9143e732d3aeaeb6ea6dcaf9b419adc02776e601545557dea776e36 SHA512 e0386fb32214db67ae001a2040c44277988af7fa909a820843237c7d47eedfa4e370238d5b2d06a4667b874cad4b00f2cd14624b1bc45628192e5d693bd5073a DIST bats-1.7.0.tar.gz 124590 BLAKE2B eab244f018ec568c280d20540013eaa9e5a8d84ead8e23b9db2f8d18bbd7ebd43c60ab38cee008e0d016a219f16aa6f52733d5f891ffb8733ca8576a5738dd22 SHA512 22ca033e004087cabf645417ea184d2e1a0704575f702a94de5b63b3af6d1fd4caaecad86a5cb49687c606728d875dd13b4d5de66599b83324980fdc71cb92e2 +DIST bats-1.8.0.tar.gz 144262 BLAKE2B 4f12d4c5211535f11a3cbc856233a59e0c3bcd892c6f021055458960b450f908f3b865cee38ad2c2569be41ab81e2fdb973003be85890f70f8894c8a17812b42 SHA512 e51ea85bf2f455881a90220d783b4a261bd91331326a7184eb31ea9adf31c18a79a062fd77af12d082ccef953d992382ec19ca9a27395b2a03c4a9a120bdda76 diff --git a/dev-util/bats/bats-1.8.0.ebuild b/dev-util/bats/bats-1.8.0.ebuild new file mode 100644 index 000000000000..d42eecab71cd --- /dev/null +++ b/dev-util/bats/bats-1.8.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +DEPEND="app-shells/bash:*" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_test() { + local my_jobs=$(makeopts_jobs) + 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 +}