diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2008-09-15 23:01:28 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2008-09-15 23:01:28 +0000 |
commit | 940bf5913d6be4765f2fd1733a37d64148c43a36 (patch) | |
tree | 691e310ba17d5aed97c9c295f6bcc50e03f765f6 /dev-util/shunit2 | |
parent | 0.12 release, removed -gtk option (diff) | |
download | historical-940bf5913d6be4765f2fd1733a37d64148c43a36.tar.gz historical-940bf5913d6be4765f2fd1733a37d64148c43a36.tar.bz2 historical-940bf5913d6be4765f2fd1733a37d64148c43a36.zip |
New package: shUnit2 is a unit-test framework for Bourne-based shell scripts (Toffanin Mauro, GeCHI overlay).
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.27-rc6 x86_64
Diffstat (limited to 'dev-util/shunit2')
-rw-r--r-- | dev-util/shunit2/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/shunit2/Manifest | 14 | ||||
-rw-r--r-- | dev-util/shunit2/metadata.xml | 15 | ||||
-rw-r--r-- | dev-util/shunit2/shunit2-2.1.4.ebuild | 45 |
4 files changed, 85 insertions, 0 deletions
diff --git a/dev-util/shunit2/ChangeLog b/dev-util/shunit2/ChangeLog new file mode 100644 index 000000000000..db13327821ec --- /dev/null +++ b/dev-util/shunit2/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-util/shunit2 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/ChangeLog,v 1.1 2008/09/15 23:01:28 dberkholz Exp $ + +*shunit2-2.1.4 (15 Sep 2008) + + 15 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; +metadata.xml, + +shunit2-2.1.4.ebuild: + New package: shUnit2 is a unit-test framework for Bourne-based shell + scripts (Toffanin Mauro, GeCHI overlay). + diff --git a/dev-util/shunit2/Manifest b/dev-util/shunit2/Manifest new file mode 100644 index 000000000000..b5f34e5a59af --- /dev/null +++ b/dev-util/shunit2/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST shunit2-2.1.4.tgz 49698 RMD160 d2d20d60f84c7974795a9b4087edcada6f419b84 SHA1 f6f2788c74ead24ec55bac5bece53f50ffbc95d6 SHA256 7f911f871fefa9513972dedd5be1b406e2f2d49d19103c6229098957c4cced57 +EBUILD shunit2-2.1.4.ebuild 1016 RMD160 2e52def459fa8c2e9546c31b9b77526ec644d6f2 SHA1 ed6f562c1f78c7fe0869fb5b00c78d9dce3cb93e SHA256 8b7b3293169f06345f15f7fc229fa7366541eb4648884fc5e2106999d34c6c74 +MISC ChangeLog 448 RMD160 693d9450a3932c04d051d2ee1261045ce7e3d3eb SHA1 1662b1ec6f2fafdee945f64a60b4889981d5552b SHA256 bec17c4febfa2a78455b5e6c8231b8b19924743fb644b6bbc5cde025a3924f26 +MISC metadata.xml 557 RMD160 4b11254c1fa726034d49041b28b24a9c4c0ae04d SHA1 6964040c1cc567c8d72e424e0645126476d60468 SHA256 5958062d7f991b468518d748806c22c74f7f0bf5549f551f402ceebba5ffbd0e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkjO6U4ACgkQXVaO67S1rtuvlQCg2dDzqs9LDKy5j+jFOex5bsLi +MGoAoKHPfdebicCQl1avKEzkda6uGCoD +=GYod +-----END PGP SIGNATURE----- diff --git a/dev-util/shunit2/metadata.xml b/dev-util/shunit2/metadata.xml new file mode 100644 index 000000000000..0a9a6b04bf14 --- /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>no-herd</herd> + <maintainer> + <email>dberkholz@gentoo.org</email> + <name>Donnie Berkholz</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> diff --git a/dev-util/shunit2/shunit2-2.1.4.ebuild b/dev-util/shunit2/shunit2-2.1.4.ebuild new file mode 100644 index 000000000000..b9ed9430a63c --- /dev/null +++ b/dev-util/shunit2/shunit2-2.1.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/shunit2-2.1.4.ebuild,v 1.1 2008/09/15 23:01:28 dberkholz Exp $ + +DESCRIPTION="shUnit2 is a unit-test framework for Bourne-based shell scripts." +HOMEPAGE="http://code.google.com/p/shunit2/wiki/ProjectInfo" +SRC_URI="http://shunit2.googlecode.com/files/${P}.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-lang/perl + net-misc/curl" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e '/^__SHUNIT_SHELL_FLAGS/s:u::' src/shell/shunit2 +} + +src_compile() { + local myconf="build" + use doc && myconf="${myconf} docs" + use test && myconf="${myconf} test" + + emake ${myconf} || die +} + +src_install() { + if use doc; then + for DOC in build/{docbook/*,shunit2.html,shunit2_shelldoc.xml}; do + dodoc ${DOC} || die + rm ${DOC} + done + fi + + dodoc doc/*.txt || die + + insinto /usr/share/${PN} + doins build/* || die +} |