diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-01-16 19:08:56 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-01-16 19:08:56 +0000 |
commit | 73ca64eba9e60d4c8af07baebd5f8682bfe763f7 (patch) | |
tree | c5d7fb7dabfc7a8d47cbddacfb06f7df296e6611 | |
parent | Remove old (diff) | |
download | historical-73ca64eba9e60d4c8af07baebd5f8682bfe763f7.tar.gz historical-73ca64eba9e60d4c8af07baebd5f8682bfe763f7.tar.bz2 historical-73ca64eba9e60d4c8af07baebd5f8682bfe763f7.zip |
Initial import of improved Test::Unit, also supporting Ruby 1.9. Masked because of test failures for now.
Package-Manager: portage-2.2_rc22/cvs/Linux 2.6.28-gentoo x86_64
-rw-r--r-- | dev-ruby/test-unit/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/test-unit/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/test-unit/metadata.xml | 12 | ||||
-rw-r--r-- | dev-ruby/test-unit/test-unit-2.0.2.ebuild | 45 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-ruby/test-unit/ChangeLog b/dev-ruby/test-unit/ChangeLog new file mode 100644 index 000000000000..8053b90191d7 --- /dev/null +++ b/dev-ruby/test-unit/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-ruby/test-unit +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.1 2009/01/16 19:08:56 flameeyes Exp $ + +*test-unit-2.0.2 (16 Jan 2009) + + 16 Jan 2009; Diego E. Pettenò <flameeyes@gentoo.org> +metadata.xml, + +test-unit-2.0.2.ebuild: + Initial import of improved Test::Unit, also supporting Ruby 1.9. Masked + because of test failures for now. + diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest new file mode 100644 index 000000000000..4e0195aebc34 --- /dev/null +++ b/dev-ruby/test-unit/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST test-unit-2.0.2.tgz 71079 RMD160 61a3179f5476987d85a49439dbae9c9e88242435 SHA1 eeee8beee7ba455a0a4bf16626131903214f7789 SHA256 1d49aa31603679424fa84313b6f3ddfebca61770af6f93deba7dd3dcf1c07949 +EBUILD test-unit-2.0.2.ebuild 905 RMD160 cb000c3edfc4b3e275f4ae714c3106351433a2f7 SHA1 a3b66a6fda152e9050e813aeb405c3acdfb89483 SHA256 2f2de70eff86d0e37fabbf436337fb93c72584a6838fe55dfcf9ce2becb9ca3b +MISC ChangeLog 453 RMD160 aef468e89aa0aebef756b57fd5d6d80852b1a063 SHA1 3d578a94ced49ff22a41b63e274997499093747c SHA256 3177087fe1a0dbad226e843b9475a412dcb38d72cc33c0a6e2f91a1f200fe770 +MISC metadata.xml 384 RMD160 058e3a8718a4d0258cdc524b326b14df62596e46 SHA1 c329fd2facdbd53710d0c5004adda744f7bdcc0a SHA256 f6e29159428fd9fa6ea345beebd3524c8524a8839bc01703a7e4c693290368cd +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAklw21gACgkQAiZjviIA2XhZIACfTdD0G+Q3A+APUTmuHdqPPxBc +WCYAoNcZnFc/N2GQvueqISeHHA9KnHuw +=j1m0 +-----END PGP SIGNATURE----- diff --git a/dev-ruby/test-unit/metadata.xml b/dev-ruby/test-unit/metadata.xml new file mode 100644 index 000000000000..b6f19abf3342 --- /dev/null +++ b/dev-ruby/test-unit/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> + <maintainer> + <email>flameeyes@gentoo.org</email> + </maintainer> + <longdescription lang="en"> + Improved version of the Test::Unit framework as shipped by Ruby + 1.8, compatible with Ruby 1.9. + </longdescription> +</pkgmetadata> diff --git a/dev-ruby/test-unit/test-unit-2.0.2.ebuild b/dev-ruby/test-unit/test-unit-2.0.2.ebuild new file mode 100644 index 000000000000..48997b7b0a4c --- /dev/null +++ b/dev-ruby/test-unit/test-unit-2.0.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/test-unit-2.0.2.ebuild,v 1.1 2009/01/16 19:08:56 flameeyes Exp $ + +inherit ruby + +DESCRIPTION="Test::Unit for Ruby 1.9" +HOMEPAGE="http://test-unit.rubyforge.org/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test doc" + +DEPEND=" + doc? ( dev-ruby/rake + dev-ruby/hoe ) + test? ( dev-ruby/rake + dev-ruby/hoe + dev-ruby/zentest )" +RDEPEND="" + +USE_RUBY="any" + +src_compile() { + if use doc; then + rake doc || die "rake doc failed" + fi +} + +src_test() { + rake audit || die "rake audit failed" +} + +src_install() { + cd "${S}"/lib + doruby -r * || die "doruby failed" + + if use doc; then + dohtml -r "${S}"/doc/* || die "dohtml failed" + fi + + dodoc "${S}"/{TODO,README.txt,History.txt} || die "dodoc failed" +} |