diff options
Diffstat (limited to 'dev-util/bats')
-rw-r--r-- | dev-util/bats/Manifest | 2 | ||||
-rw-r--r-- | dev-util/bats/bats-1.8.2.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest index 1ef88de1a733..24548d6141b4 100644 --- a/dev-util/bats/Manifest +++ b/dev-util/bats/Manifest @@ -1,7 +1,9 @@ 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 +DIST bats-1.8.2.tar.gz 143952 BLAKE2B 0c2302f2c77f5ee0446a6559355d24fae8bb2f178b5b17778fea44ec2f069c061c2930814f73e56671bf6f7cea44a74cea9b6436ca80941a1747197ccddcec02 SHA512 7eace32f19789e081112af1ce8ab33ff210d52bd3ea84962bbec226349b3b8d8912b6a495f5524f9cc7cfe692f1d23d684c93c24e182752e2b30731670d6eeea EBUILD bats-1.5.0.ebuild 939 BLAKE2B 0750c121bef1d633f9b5eefc3074b091c195ed9e79a2c9c1108dabf67cb1b36b3f9edbb1c051016241ef8323319fb98ac67e899073dae9afd6b1fa6b313224a0 SHA512 a7a9d1f19f587d6164b6bce7f45ecd3c9d72d8ed02e19ec8b41cf1ffb6a931f5c49a083f17ddaea40a39f4eb65d4e23b800e6227cacfa3280b56393d95a77ed9 EBUILD bats-1.7.0.ebuild 961 BLAKE2B 9784652ae9dd598080e0e6eecadd271f1339d07d578c6cd7002c15ca72d5ca81b2898fee0bf43d1187ccdfaeab7850603ab9aa9e6078b6daec1f73c27e8da305 SHA512 a893f28d5d1734476b2ae7361b28870b30731cc3ad9cf8a4c29d6cdce5789af44a4467840e743df1723aef15f9b1aaa15c60cea237934e34fedf961fbd08c328 EBUILD bats-1.8.0.ebuild 962 BLAKE2B e564d5e54a8cd1b3761a872a2c9050bee6e8397ed0c3a650ab38116c919094aad9ee1cd7dfbe375afeb06ab1e013dde960102c3198fa37308cf3f66c44b69429 SHA512 ddf8d88853f77f71041467ec3c51b11706755603760da354ab8a941de5209642e919a87f41ba9fe8eda3e9895951584872f64e3423d0dcfcd671054df8dfad73 +EBUILD bats-1.8.2.ebuild 962 BLAKE2B e564d5e54a8cd1b3761a872a2c9050bee6e8397ed0c3a650ab38116c919094aad9ee1cd7dfbe375afeb06ab1e013dde960102c3198fa37308cf3f66c44b69429 SHA512 ddf8d88853f77f71041467ec3c51b11706755603760da354ab8a941de5209642e919a87f41ba9fe8eda3e9895951584872f64e3423d0dcfcd671054df8dfad73 MISC metadata.xml 960 BLAKE2B 1eef5273fa063fbeb31bf73be2dd264f83a37a75ae5bfc116cfe6e97a0707349b9fdd6e0700505d7f698e63eeffeec2f72f9f9e853be3c3eb70ea80891fddde0 SHA512 906495ef8f00981f362302c4cc0f24aca8a9a7d4898e4f729941836b3bb126590c7d4863b37b6d216c1485cc96502c330ca03801c9cb271793ebd298285f8923 diff --git a/dev-util/bats/bats-1.8.2.ebuild b/dev-util/bats/bats-1.8.2.ebuild new file mode 100644 index 000000000000..d42eecab71cd --- /dev/null +++ b/dev-util/bats/bats-1.8.2.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 +} |