diff options
author | 2008-05-17 21:03:01 -0700 | |
---|---|---|
committer | 2008-05-17 21:03:01 -0700 | |
commit | f45f3202ed63b9549f986896fc010442960d27c7 (patch) | |
tree | 58ae81783fe6afee9c952af04f06155173812c18 /dev-util | |
parent | Add bashdoc, a tool to make documentation from bash scripts. (diff) | |
download | dberkholz-f45f3202ed63b9549f986896fc010442960d27c7.tar.gz dberkholz-f45f3202ed63b9549f986896fc010442960d27c7.tar.bz2 dberkholz-f45f3202ed63b9549f986896fc010442960d27c7.zip |
Add shunit2 from gechi-overlay and bump to latest.
This is a unit-testing framework for shell scripts.
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/shunit2/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/shunit2/Manifest | 4 | ||||
-rw-r--r-- | dev-util/shunit2/metadata.xml | 15 | ||||
-rw-r--r-- | dev-util/shunit2/shunit2-2.1.3.ebuild | 40 |
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-util/shunit2/ChangeLog b/dev-util/shunit2/ChangeLog new file mode 100644 index 0000000..0d3b468 --- /dev/null +++ b/dev-util/shunit2/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/shunit2 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 + + 02 Maj 2008; Toffanin Mauro <equilibrium@gechi.it> + shunit2-2.1.2.ebuild: + - version bump; + + 13 Nov 2007; Toffanin Mauro <equilibrium@gechi.it> + shunit2-2.0.3.ebuild, shunit2-2.1.1.ebuild: + - first import;
\ No newline at end of file diff --git a/dev-util/shunit2/Manifest b/dev-util/shunit2/Manifest new file mode 100644 index 0000000..d4da226 --- /dev/null +++ b/dev-util/shunit2/Manifest @@ -0,0 +1,4 @@ +DIST shunit2-2.1.3.tgz 47904 RMD160 e6ee77b6ee4d2f3cebc20db65c333a69e8294b6e SHA1 77670554038b3afe7bab15966eded0dcb94a9e44 SHA256 17328a19e02df4dd77dd3c7561ff98a600ba81c82f69c56283db547f9ce640f2 +EBUILD shunit2-2.1.3.ebuild 758 RMD160 d6b40a99b7b1261ce9c6b99003c62fab5c1a9ef2 SHA1 3602d92aeaa145100a748966d8108e27ea158a49 SHA256 9bae183e7a0df6eac7e57ebedfbcf7e15917d073a43477ec5050478302b7e8c8 +MISC ChangeLog 310 RMD160 af3d04551476925b40f7c22dc6813c0b064d5d50 SHA1 1c8531023a87898bf67a525df1482e3846fff1c0 SHA256 afc8518414d19a535c086301810e4df433f3673b836bdc150c8935317cec8493 +MISC metadata.xml 562 RMD160 22701be329f7487810eb7a95ce1d9dd09fe3d880 SHA1 1808a6b0da725e0df048e92cd7df493ab15a070e SHA256 580a0c2cb5003612c24c107f003f74f3a90ef6c8a8de63ad6533c9e25405f035 diff --git a/dev-util/shunit2/metadata.xml b/dev-util/shunit2/metadata.xml new file mode 100644 index 0000000..55bcdb9 --- /dev/null +++ b/dev-util/shunit2/metadata.xml @@ -0,0 +1,15 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>GeCHI Overlay</herd> + <maintainer> + <email>toffanin.mauro@gmail.com</email> + <name>Toffanin Mauro</name> + </maintainer> + <longdescription> + 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 + have ever had the desire to write a unit test for a shell script, shUnit2 + can do the job. + </longdescription> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-util/shunit2/shunit2-2.1.3.ebuild b/dev-util/shunit2/shunit2-2.1.3.ebuild new file mode 100644 index 0000000..99cef78 --- /dev/null +++ b/dev-util/shunit2/shunit2-2.1.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="shUnit2 is a unit test framework for Bourne based shell scripts." +HOMEPAGE="http://shunit2.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="doc test" + +RDEPEND="" +DEPEND="dev-lang/perl + net-misc/curl" + +RESTRICT="primaryuri" + +src_compile() +{ + local myconf="build" + use doc && myconf="${myconf} docs" + use test && myconf="${myconf} test" + + make ${myconf} +} + +src_install() +{ + if use doc; then + for DOC in build/{docbook/*,shunit2.html,shunit2_shelldoc.xml}; do + dodoc ${DOC} + rm ${DOC} + done + fi + + insinto /usr/share/${PN} + doins build/* +}
\ No newline at end of file |