diff options
author | Michael Kohl <citizen428@gentoo.org> | 2005-05-03 10:09:23 +0000 |
---|---|---|
committer | Michael Kohl <citizen428@gentoo.org> | 2005-05-03 10:09:23 +0000 |
commit | 25c2958e0c81b3c0f2ce843285e21ccba8dbe93d (patch) | |
tree | 5e666048cc2ba9143668d690425b17993afe1f60 /dev-ruby/testunit-mock | |
parent | Force -j1; bug #75325. (diff) | |
download | gentoo-2-25c2958e0c81b3c0f2ce843285e21ccba8dbe93d.tar.gz gentoo-2-25c2958e0c81b3c0f2ce843285e21ccba8dbe93d.tar.bz2 gentoo-2-25c2958e0c81b3c0f2ce843285e21ccba8dbe93d.zip |
Initial import; submitted by awk <glawk01@awks.org> in bug #59050
(Portage version: 2.0.51.21)
Diffstat (limited to 'dev-ruby/testunit-mock')
-rw-r--r-- | dev-ruby/testunit-mock/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/testunit-mock/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/testunit-mock/files/digest-testunit-mock-0.03 | 1 | ||||
-rw-r--r-- | dev-ruby/testunit-mock/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/testunit-mock/testunit-mock-0.03.ebuild | 36 |
5 files changed, 55 insertions, 0 deletions
diff --git a/dev-ruby/testunit-mock/ChangeLog b/dev-ruby/testunit-mock/ChangeLog new file mode 100644 index 000000000000..97999fc16b53 --- /dev/null +++ b/dev-ruby/testunit-mock/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/testunit-mock +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/testunit-mock/ChangeLog,v 1.1 2005/05/03 10:09:23 citizen428 Exp $ + +*testunit-mock-0.03 (03 May 2005) + + 03 May 2005; Michael Kohl <citizen428@gentoo.org> +metadata.xml, + +testunit-mock-0.03.ebuild: + Initial import; submitted by awk <glawk01@awks.org> in bug #59050 + diff --git a/dev-ruby/testunit-mock/Manifest b/dev-ruby/testunit-mock/Manifest new file mode 100644 index 000000000000..aa66e21749eb --- /dev/null +++ b/dev-ruby/testunit-mock/Manifest @@ -0,0 +1,3 @@ +MD5 cacfcdb767220ea1e4cafeafc8279e12 testunit-mock-0.03.ebuild 724 +MD5 b522b82d2c47bc548a6607f0f577ab5e metadata.xml 158 +MD5 22941063f02025e8a9bae9e81b2d73b0 files/digest-testunit-mock-0.03 71 diff --git a/dev-ruby/testunit-mock/files/digest-testunit-mock-0.03 b/dev-ruby/testunit-mock/files/digest-testunit-mock-0.03 new file mode 100644 index 000000000000..998b1bdf360e --- /dev/null +++ b/dev-ruby/testunit-mock/files/digest-testunit-mock-0.03 @@ -0,0 +1 @@ +MD5 841fcd775be0d68c427d5ef5b25286e3 Test-Unit-Mock-0.03.tar.bz2 16018 diff --git a/dev-ruby/testunit-mock/metadata.xml b/dev-ruby/testunit-mock/metadata.xml new file mode 100644 index 000000000000..0040b1162894 --- /dev/null +++ b/dev-ruby/testunit-mock/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/testunit-mock/testunit-mock-0.03.ebuild b/dev-ruby/testunit-mock/testunit-mock-0.03.ebuild new file mode 100644 index 000000000000..d874ad437176 --- /dev/null +++ b/dev-ruby/testunit-mock/testunit-mock-0.03.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/testunit-mock/testunit-mock-0.03.ebuild,v 1.1 2005/05/03 10:09:23 citizen428 Exp $ + +inherit ruby + +MY_P="Test-Unit-Mock-${PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Mock objects for Ruby's Test::Unit" +HOMEPAGE="http://www.deveiate.org/code/Test-Unit-Mock.html" +SRC_URI="http://www.deveiate.org/code/${MY_P}.tar.bz2" + +KEYWORDS="~x86" + +USE_RUBY="ruby18 ruby19" +RDEPEND="dev-ruby/diff" + +IUSE="" + +# prevent ruby.eclass from using a broken install.rb +src_compile() { + return +} + +src_install() { + local sitelibdir + sitelibdir=`${RUBY} -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]'` + insinto "$sitelibdir/test/unit" + doins mock.rb + erubydoc +} + +src_test() { + ruby test.rb || "test.rb failed" +} |