diff options
author | Henning Schild <henning@hennsch.de> | 2021-07-25 12:28:32 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-07-29 13:46:04 +0300 |
commit | 05c106c8e580987db0e8b1c07465cacf917e3a62 (patch) | |
tree | 3cfc06a89615e58d60179e52d16756394fda98a0 /dev-util/bats | |
parent | app-portage/nattka: Bump to 0.2.16 (diff) | |
download | gentoo-05c106c8e580987db0e8b1c07465cacf917e3a62.tar.gz gentoo-05c106c8e580987db0e8b1c07465cacf917e3a62.tar.bz2 gentoo-05c106c8e580987db0e8b1c07465cacf917e3a62.zip |
dev-util/bats: bump version to 1.4.1
Signed-off-by: Henning Schild <henning@hennsch.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util/bats')
-rw-r--r-- | dev-util/bats/Manifest | 1 | ||||
-rw-r--r-- | dev-util/bats/bats-1.4.1.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest index 2ba7cc8d0e6c..70c0b973d204 100644 --- a/dev-util/bats/Manifest +++ b/dev-util/bats/Manifest @@ -1,2 +1,3 @@ DIST bats-1.2.1.tar.gz 62685 BLAKE2B 7ac54c8955375571edf7b303dfe9228a384ca5ec06986b9ac3c368e5b855456b2a3291cb3231f963dcd9c1bd5178f06fcbc8c81bdeee82b659561de072cccba9 SHA512 632345e6d83ed930dab23abc03e4797769063bb049ae1bb99e3102dc1e93e5111144ddc61615d05962f7b5bbf72d90ce19a324faf670a3d6e4ce7ab508b0db29 DIST bats-1.3.0.tar.gz 78392 BLAKE2B 5dbc87ee87aba0b001d25f1304939604b1682603fb0d2fae19f852171e8bd76f1a6c262b661a373aeeb9b79818eae3387b3e4d6bcf4f0f95b87dc2430caf029f SHA512 47f67681b380a70863805691eca39532af76670b7bba2406293c58f95cbbe3dade4f792177ee00d8ca72684731efb6db2c1ca8eeabe2fa48359e81c257f95b2c +DIST bats-1.4.1.tar.gz 98964 BLAKE2B e7cb70d2d0f448e4336ccf1fe51e93730a7179a782247e28ee906eb576fc02305aeeb2a580b5d34220daf8dfd2ee1d3269fb86a386fdf00483bd3b234df3b75e SHA512 3b00af13ac97d38349f09db79179e170e2b37c5364815e0e1fb957e6593a564d291bb50c54776088dd5784ef8cd597f0c332ec3a574bcef65e3083a5f2fc1f0e diff --git a/dev-util/bats/bats-1.4.1.ebuild b/dev-util/bats/bats-1.4.1.ebuild new file mode 100644 index 000000000000..fba39b434202 --- /dev/null +++ b/dev-util/bats/bats-1.4.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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() { + bin/bats --tap 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 +} |