diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-09-07 09:09:39 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-09-07 09:09:39 +0000 |
commit | 93d922acc866afaf46e9db73592ce2a4ced41804 (patch) | |
tree | a623b2a453da91ec53fc2236a7395239cae8bcc7 /dev-ruby/text-format/text-format-0.64.ebuild | |
parent | repoman: Fix leading whitespace (diff) | |
download | historical-93d922acc866afaf46e9db73592ce2a4ced41804.tar.gz historical-93d922acc866afaf46e9db73592ce2a4ced41804.tar.bz2 historical-93d922acc866afaf46e9db73592ce2a4ced41804.zip |
Added src_test(). Stable on x86 and ppc.
Diffstat (limited to 'dev-ruby/text-format/text-format-0.64.ebuild')
-rw-r--r-- | dev-ruby/text-format/text-format-0.64.ebuild | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/dev-ruby/text-format/text-format-0.64.ebuild b/dev-ruby/text-format/text-format-0.64.ebuild index 7a25a54960ff..d4dd0fd16bbb 100644 --- a/dev-ruby/text-format/text-format-0.64.ebuild +++ b/dev-ruby/text-format/text-format-0.64.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-format/text-format-0.64.ebuild,v 1.4 2004/07/14 22:18:30 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-format/text-format-0.64.ebuild,v 1.5 2004/09/07 09:09:39 usata Exp $ -inherit eutils +inherit eutils ruby DESCRIPTION="Text::Format provides strong text formatting capabilities to Ruby" HOMEPAGE="http://www.halostatue.ca/ruby/Text__Format.html" @@ -10,9 +10,10 @@ SRC_URI="http://www.halostatue.ca/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc" +KEYWORDS="x86 ppc" IUSE="" DEPEND="virtual/ruby" +USE_RUBY="any" src_unpack() { unpack ${A} @@ -20,9 +21,18 @@ src_unpack() { epatch ${FILESDIR}/${P}-prefix.diff } +src_compile() { + return +} + src_install() { ruby install.rb --prefix=${D}/usr || die dohtml -r doc/* dodoc Changelog } + +src_test() { + cd tests + ruby unit_tests.rb || die "unit_tests.rb failed." +} |