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 4BA1515808B for ; Fri, 25 Feb 2022 09:49:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9441AE0869; Fri, 25 Feb 2022 09:49:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 7AB89E0869 for ; Fri, 25 Feb 2022 09:49:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A1A05342E92 for ; Fri, 25 Feb 2022 09:48:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 45A7A287 for ; Fri, 25 Feb 2022 09:48:58 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1645782529.95baf9c40224dc73ab9c06cf126fd7efc55a5fe9.dlan@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.6.0.ebuild X-VCS-Directories: dev-util/bats/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 95baf9c40224dc73ab9c06cf126fd7efc55a5fe9 X-VCS-Branch: master Date: Fri, 25 Feb 2022 09:48:58 +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: 55d66904-66da-420e-b759-17e48e9b06a8 X-Archives-Hash: 84c794aa1aecdd6ccac4a43affc131b1 commit: 95baf9c40224dc73ab9c06cf126fd7efc55a5fe9 Author: Henning Schild hennsch de> AuthorDate: Fri Feb 25 07:24:42 2022 +0000 Commit: Yixun Lan gentoo org> CommitDate: Fri Feb 25 09:48:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95baf9c4 dev-util/bats: bump version to 1.6.0 Closes: https://github.com/gentoo/gentoo/pull/24345 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Yixun Lan gentoo.org> dev-util/bats/Manifest | 1 + dev-util/bats/bats-1.6.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest index 7a38c0e20a84..8f9c253f7bd3 100644 --- a/dev-util/bats/Manifest +++ b/dev-util/bats/Manifest @@ -1 +1,2 @@ DIST bats-1.5.0.tar.gz 108052 BLAKE2B 68bba9d263e4206ead7039da2b09c5211c834445efdf429dca6c53acc5409de1052ce7ffa9143e732d3aeaeb6ea6dcaf9b419adc02776e601545557dea776e36 SHA512 e0386fb32214db67ae001a2040c44277988af7fa909a820843237c7d47eedfa4e370238d5b2d06a4667b874cad4b00f2cd14624b1bc45628192e5d693bd5073a +DIST bats-1.6.0.tar.gz 116367 BLAKE2B 7c3cd055edb476b6d62ddb28b23c5d0f3ddc07aba3b6ff736fc5a89f8a29856fec4e662d84d1c6094d1317d66b2e2666c269b275a6a0f8a7f4784387599ccffb SHA512 b5477d83339294651341734fa2eea54e73ca35e198260eab80cf3313b20904550e57b3471471fd3abfe0c4e02e360c713a87b3ee5e14468d89f3257445e6bb35 diff --git a/dev-util/bats/bats-1.6.0.ebuild b/dev-util/bats/bats-1.6.0.ebuild new file mode 100644 index 000000000000..c92dbadf8d72 --- /dev/null +++ b/dev-util/bats/bats-1.6.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 ~ppc64 ~riscv ~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 +}