mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/bats: bump version to 1.6.0
Closes: https://github.com/gentoo/gentoo/pull/24345 Signed-off-by: Henning Schild <henning@hennsch.de> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
committed by
Yixun Lan
parent
1eebad3a21
commit
95baf9c402
@@ -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
|
||||
|
||||
43
dev-util/bats/bats-1.6.0.ebuild
Normal file
43
dev-util/bats/bats-1.6.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user