diff options
Diffstat (limited to 'dev-util/bats')
-rw-r--r-- | dev-util/bats/Manifest | 4 | ||||
-rw-r--r-- | dev-util/bats/bats-1.2.1.ebuild | 33 | ||||
-rw-r--r-- | dev-util/bats/metadata.xml | 12 |
3 files changed, 42 insertions, 7 deletions
diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest index 2f39e1ca2f7f..935b240290d1 100644 --- a/dev-util/bats/Manifest +++ b/dev-util/bats/Manifest @@ -1,5 +1,7 @@ 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 EBUILD bats-0.4.0.ebuild 485 BLAKE2B ef5b83cc2119b9fc9d96b3a3e7bc465fa8ba6d73892a7d63f6f7de531f96c489e3f7692ac0142ba9dabd0f2871004de956032a8809453434fc1f5d26b67dc920 SHA512 48856743881d5bec9e275531d2d50897e3d31401d5f4e189a7f9b62f8fde45b108791f50ae4f6c9a9e3f129cad83c391ba220bd359527e1851ab6a97664e43ef EBUILD bats-0.4.0_p20170219.ebuild 659 BLAKE2B 0944a49ce57ad39b193d05750e32a9bae8f8b8e2e7c9ffd9750b8a8650049a16932b3876ae174d5c2049d3a58c749583b82335d7097c4bb9d56bc425307a8d30 SHA512 f625785af87a23e9431d4f126ff847804c412f2cd20b88aaa31f10b9486d39375f07de312bc142f22ed07e537af36e64b65562eafb11d2aaa18b36bae2bb021e -MISC metadata.xml 896 BLAKE2B bde071263574d67573e1ff65d1be19ce34a7a91ba8fea97300a296ed163e08ff7693d126cab84109a3669683ce8a4880b0b7d64ff2827d8bce9b3c6ad89c7945 SHA512 da70a0d89d4b892128e2ce7544d2a1db3b11fbd47c17aca53b220af2d3f46c77e99abb02fdfb814bc5010f2a54cd91841ed60b894b3655d0b910b303fa75a482 +EBUILD bats-1.2.1.ebuild 719 BLAKE2B 07d9c3646f121aa852964e13ae1ef06bd1cb543643837626d8ed04e645794746a7116f669e35d09f9271e945c63b935f77514037382c226301c1a006d383159e SHA512 701673428fe48b8f076021a5b9aaba49120b2d4fa23a29e65f222d191eb0e4ce73943827dc364cb78692042f17dc1f817b2cbfa3c710142d50af2ace65583ed2 +MISC metadata.xml 905 BLAKE2B 9f8936030d43402bb9cc48b3efba2443bb16af1aaed47795290d860d2c666a5a3cfd2e85660838d46aa76e6b737dd374b3b3ad44ea977c385243bfc3bd5f21ef SHA512 a76c1dddee2b286b10ceea09e5ee778d2ee8fb944d9c00e7929ca1dc4ef9e546ca6bb7327b15fc4c7bb410f059e7d4ef792ae82d07d0d2b6e1857424a5c47574 diff --git a/dev-util/bats/bats-1.2.1.ebuild b/dev-util/bats/bats-1.2.1.ebuild new file mode 100644 index 000000000000..0ab0773b5e99 --- /dev/null +++ b/dev-util/bats/bats-1.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~ppc64 ~x86" + +DEPEND="app-shells/bash:*" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_test() { + bin/bats --formatter 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 +} diff --git a/dev-util/bats/metadata.xml b/dev-util/bats/metadata.xml index b8f6a46a9071..289f5b52a986 100644 --- a/dev-util/bats/metadata.xml +++ b/dev-util/bats/metadata.xml @@ -2,15 +2,15 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>nelo@wallus.de</email> - <name>Nelo-Thara Wallus</name> + <email>henning@hennsch.de</email> + <name>Henning Schild</name> </maintainer> - <maintainer type="person"> - <email>polynomial-c@gentoo.org</email> - <name>Lars Wendler</name> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> </maintainer> <upstream> - <remote-id type="github">sstephenson/bats</remote-id> + <remote-id type="github">bats-core/bats-core</remote-id> </upstream> <longdescription lang="en"> Bats is a TAP-compliant testing framework for Bash. It provides a simple |