dev-util/shunit2: revision bump with various fixes
authorMichael Palimaka <kensington@gentoo.org>
Wed, 10 Aug 2016 19:01:44 +0000 (05:01 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 10 Aug 2016 19:01:54 +0000 (05:01 +1000)
* Port to EAPI 6
* Remove unused dependencies (there no longer is a compile phase)
* Remove unused eclass inherit
* Remove unused USE flags
* Remove redundant die calls

Package-Manager: portage-2.3.0

dev-util/shunit2/shunit2-2.1.6-r1.ebuild [new file with mode: 0644]

diff --git a/dev-util/shunit2/shunit2-2.1.6-r1.ebuild b/dev-util/shunit2/shunit2-2.1.6-r1.ebuild
new file mode 100644 (file)
index 0000000..22a6bf7
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+DESCRIPTION="Unit-test framework for Bourne-based shell scripts"
+HOMEPAGE="https://github.com/kward/shunit2"
+SRC_URI="https://shunit2.googlecode.com/files/${P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+src_install() {
+       dobin src/shunit2
+
+       # For backwards compat to <=2.1.5
+       dosym /usr/bin/shunit2 /usr/share/shunit2/shunit2
+
+       dodoc -r examples
+       dodoc doc/*.txt
+
+       docinto html
+       dodoc doc/*.{html,css}
+}