summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-05-23 08:09:53 +0000
committerHans de Graaff <graaff@gentoo.org>2010-05-23 08:09:53 +0000
commit8a77247b5cd8bca5fc9bfb2b3c554af624f6a2d0 (patch)
tree1efc90d87ac89c6014c7eda20082acabaf6b7293 /dev-ruby/rand
parentConvert to ruby-fakegem. (diff)
downloadgentoo-2-8a77247b5cd8bca5fc9bfb2b3c554af624f6a2d0.tar.gz
gentoo-2-8a77247b5cd8bca5fc9bfb2b3c554af624f6a2d0.tar.bz2
gentoo-2-8a77247b5cd8bca5fc9bfb2b3c554af624f6a2d0.zip
Convert to ruby-ng.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rand')
-rw-r--r--dev-ruby/rand/ChangeLog9
-rw-r--r--dev-ruby/rand/rand-0.9.0-r1.ebuild30
2 files changed, 37 insertions, 2 deletions
diff --git a/dev-ruby/rand/ChangeLog b/dev-ruby/rand/ChangeLog
index 7bc7a9abc3e7..b485d13854e1 100644
--- a/dev-ruby/rand/ChangeLog
+++ b/dev-ruby/rand/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rand
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rand/ChangeLog,v 1.1 2006/10/08 01:11:23 pclouds Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rand/ChangeLog,v 1.2 2010/05/23 08:09:53 graaff Exp $
+
+*rand-0.9.0-r1 (17 May 2010)
+
+ 17 May 2010; Hans de Graaff <graaff@gentoo.org> +rand-0.9.0-r1.ebuild:
+ Convert to ruby-ng.
*rand-0.9.0 (08 Oct 2006)
diff --git a/dev-ruby/rand/rand-0.9.0-r1.ebuild b/dev-ruby/rand/rand-0.9.0-r1.ebuild
new file mode 100644
index 000000000000..828ec3424e74
--- /dev/null
+++ b/dev-ruby/rand/rand-0.9.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rand/rand-0.9.0-r1.ebuild,v 1.1 2010/05/23 08:09:53 graaff Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+DESCRIPTION="A Ruby library for picking random elements and shuffling."
+HOMEPAGE="http://chneukirchen.org/blog/static/projects/rand.html"
+SRC_URI="http://chneukirchen.org/releases/${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+each_ruby_test() {
+ ${RUBY} rand.rb || die "Unable to run tests."
+}
+
+each_ruby_install() {
+ doruby rand.rb
+}
+
+all_ruby_install() {
+ dodoc ChangeLog README
+ dohtml -r html
+}