From 3b08f674e3f771b49370edb144dab0958c8cf721 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 31 Aug 2021 08:59:54 +0100 Subject: gentoo resync : 31.08.2021 --- dev-util/shunit2/Manifest | 4 +++- dev-util/shunit2/metadata.xml | 5 ++++- dev-util/shunit2/shunit2-2.1.8.ebuild | 37 +++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 dev-util/shunit2/shunit2-2.1.8.ebuild (limited to 'dev-util/shunit2') diff --git a/dev-util/shunit2/Manifest b/dev-util/shunit2/Manifest index 90d0242a5d65..f5ca318cc502 100644 --- a/dev-util/shunit2/Manifest +++ b/dev-util/shunit2/Manifest @@ -1,3 +1,5 @@ DIST shunit2-2.1.6.tgz 61558 BLAKE2B 0568dbe6ff9234346d85925a7f27dc2c8e9003a3266ef0bf7c1bb5f73e06ce758c7ff82933899c9a99e37c189d2efdc111fe5132c69a4d80535dc4d14b7ec8d5 SHA512 c78cf349d72a9048e4932108a62b2d1873019b9b1909c3fb1bd7e873e7bb62df58c1941d916508dc60ef6ba0261a2bc6ee9e25d654eefdcce997682f2bc748d7 +DIST shunit2-2.1.8.tar.gz 52458 BLAKE2B 8b9a6f9d39636816369662a3fe3118901710bbb7b0fb5f3d367b3a7344b0c87d576982f0aedbd71a55ec57d4ad15eb0c57d1345bc6b68087d953373d6de2fb99 SHA512 15aaf28996c9fb5ee5419f63b50013a194a7416dea04eb34eae2481f05e0580bd2c6977ad002b421e2785e2024978fda869cad1ef4125857c2a5ea21bf44a06e EBUILD shunit2-2.1.6-r1.ebuild 547 BLAKE2B f85d146421c60c42669c418c596cb078b3ac1b402d8bd4687d684a9c3e56a8ee0fe2994cf7cd3e69f437e7a87bf1ed60cf8809220d69841eaf3932feebbd6b07 SHA512 617fdbc114ac334c52fbfa0d5580a062799f8aebf03a16398ef786f8ffd28140273161d18b468665f8dd2ccce93d43d93c10f1170c8e6d8573ce8124935b8251 -MISC metadata.xml 580 BLAKE2B 3e1810d45b8e346bc2c479eaed21f8cee39b96679a6e89fc0c71f653873c295afd602ffa1891d272dd8088a43cd49eec026ea8bd2504df14873be6b65d628181 SHA512 b23e48b2de9f1137bace723cc64b2a61be060688fabad57d6f2e7b2d46378a01866f4d327266c54e81088e12f8d313e732f391dbd1a4c15d677154dcae06df9b +EBUILD shunit2-2.1.8.ebuild 710 BLAKE2B d8508119052f12e6b37ee0f04c7ebc203347a5bce6e85794d405a99845f50a8526404242c6f3952cc7d03bedc98ad0e96b900181f850f203010a3025437ebfc4 SHA512 77ea38a7dc0650af8e292bb311c97635e1c62950a386adfd8c15d0d9698cc2fbcf93ad1754ae3ef605de64f18801bf0a99af5a0090477ec2f72df6f361b30d65 +MISC metadata.xml 665 BLAKE2B f0405cabc4d556100473d335616726a3e2f54cedc2c8238952dec4601ad0d75202b8e336ba74961261a6d060f305667bb4ec9b505f36563dd70ebe4f28de12d4 SHA512 035583dd487a7528d0e90685e152609edc43d89bd8b833546c0b8c65836a72a46eb4eac0de6121905a53807d268ad49f79a690848efc09552e2543972a9f26d7 diff --git a/dev-util/shunit2/metadata.xml b/dev-util/shunit2/metadata.xml index 71b734579310..62f235e8fe71 100644 --- a/dev-util/shunit2/metadata.xml +++ b/dev-util/shunit2/metadata.xml @@ -1,7 +1,10 @@ - + + arthurzam@gentoo.org + Arthur Zamarin + shUnit2 is a xUnit unit test framework for Bourne based shell scripts, and it is designed to work in a similar manner to JUnit, PyUnit, etc. If you diff --git a/dev-util/shunit2/shunit2-2.1.8.ebuild b/dev-util/shunit2/shunit2-2.1.8.ebuild new file mode 100644 index 000000000000..34e9c4ad0714 --- /dev/null +++ b/dev-util/shunit2/shunit2-2.1.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Unit-test framework for Bourne-based shell scripts" +HOMEPAGE="https://github.com/kward/shunit2" +SRC_URI="https://github.com/kward/shunit2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + app-shells/dash + app-shells/ksh + app-shells/zsh + ) +" + +src_test() { + rm shunit2_macros_test.sh || die + ./test_runner || die +} + +src_install() { + dobin shunit2 + + # For backwards compat to <=2.1.5 + dosym -r /usr/bin/shunit2 /usr/share/shunit2/shunit2 + + dodoc -r examples + dodoc doc/*.txt +} -- cgit v1.2.3