mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
dev-util/bats: bump version to 1.13.0
Signed-off-by: Henning Schild <henning@hennsch.de> Part-of: https://github.com/gentoo/gentoo/pull/44528 Closes: https://github.com/gentoo/gentoo/pull/44528 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
parent
afade29cd9
commit
6a688497e8
@ -1 +1,2 @@
|
||||
DIST bats-1.12.0.tar.gz 175914 BLAKE2B 1c5f93888d1f58d029c2a42b3692529e2c5bb37c3577125125283f28f21bf3b86e5b2b991d73e06530e3db2c1f47a29f2d3a028dc45a46ec7007ef29a9f96bad SHA512 df32f5c69cea53d062da331aa5aa61191bde9f4836fb1a3b149e7a1205351dc29c6797e7329bc98fb793e8f5d5cb9e10dd3d6a106e362c2ce32b089a8c67e210
|
||||
DIST bats-1.13.0.tar.gz 178709 BLAKE2B ab385885d88a2e7bf2a25733bb117cc65e566e42bafb5c673891bf8a93d5bf67d84fde6bf55c6dc35733dea0b689ca11e910ae513c5b70ed57b5bba0178a6c9c SHA512 1fc4fb87c454994496492ac975e9a50ac9b365d431c638120c54670978476a3f8af42fbf16fab7e9ceae56e31d7ab18819864a87b4c0780c2898a987d286922d
|
||||
|
||||
43
dev-util/bats/bats-1.13.0.ebuild
Normal file
43
dev-util/bats/bats-1.13.0.ebuild
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user