diff options
author | Henning Schild <henning@hennsch.de> | 2021-03-16 21:16:52 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-16 21:28:23 +0000 |
commit | ef296343ba694a313457c2ba7d6af696c0c5c78e (patch) | |
tree | 69e097a737458d4e395adeeae308adf88fa83b3b /dev-util/bats | |
parent | app-admin/verynice: add myself to maintainers (diff) | |
download | gentoo-ef296343ba694a313457c2ba7d6af696c0c5c78e.tar.gz gentoo-ef296343ba694a313457c2ba7d6af696c0c5c78e.tar.bz2 gentoo-ef296343ba694a313457c2ba7d6af696c0c5c78e.zip |
dev-util/bats: bump version to 1.3.0
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/19962
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/bats')
-rw-r--r-- | dev-util/bats/Manifest | 1 | ||||
-rw-r--r-- | dev-util/bats/bats-1.3.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest index ee8dbe8c016f..644c9fbe3fc6 100644 --- a/dev-util/bats/Manifest +++ b/dev-util/bats/Manifest @@ -1,3 +1,4 @@ DIST bats-0.4.0.tar.gz 17258 BLAKE2B e43b29a413194e697c25a3f1dd3dc72a23ab9444e48bbe04434f8d6d48ff754ef1c12a1e1ab936bed8389b8fe970799cca13be932f1852c643a529babdb43420 SHA512 83c6c0e3ceec149708a8db5d33e95cc84852d8189498c22131c00f4288a6c870f9d522bae9230157f442338dc101e1468451d78dfa274afb83a6f0dd614c8bdb DIST bats-0.4.0_p20170219.tar.gz 18776 BLAKE2B 994649547424ee2e0859e7a82f9d46266645c6fc5cc3f47313d8780c3f81755b77d0109ad397c77381d04ba30708536acdacd0f158dc000cca9df23e25558653 SHA512 dc0e185b09dab5cc026ec39a2b15485751f038a6bab2e1089e55ea7e2913c0b99262edb54014300a25e0e3b6cad7ca61b4068f6ab328adaa61878dbb8efdf450 DIST bats-1.2.1.tar.gz 62685 BLAKE2B 7ac54c8955375571edf7b303dfe9228a384ca5ec06986b9ac3c368e5b855456b2a3291cb3231f963dcd9c1bd5178f06fcbc8c81bdeee82b659561de072cccba9 SHA512 632345e6d83ed930dab23abc03e4797769063bb049ae1bb99e3102dc1e93e5111144ddc61615d05962f7b5bbf72d90ce19a324faf670a3d6e4ce7ab508b0db29 +DIST bats-1.3.0.tar.gz 78392 BLAKE2B 5dbc87ee87aba0b001d25f1304939604b1682603fb0d2fae19f852171e8bd76f1a6c262b661a373aeeb9b79818eae3387b3e4d6bcf4f0f95b87dc2430caf029f SHA512 47f67681b380a70863805691eca39532af76670b7bba2406293c58f95cbbe3dade4f792177ee00d8ca72684731efb6db2c1ca8eeabe2fa48359e81c257f95b2c diff --git a/dev-util/bats/bats-1.3.0.ebuild b/dev-util/bats/bats-1.3.0.ebuild new file mode 100644 index 000000000000..0cc0631f5528 --- /dev/null +++ b/dev-util/bats/bats-1.3.0.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 ~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 +} |