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
commit289b7539361123773ba08bd7f75a9c055b1fa468 (patch)
tree2a60ed6218e4b54c156cc7a04aef21c610227d55 /dev-ruby
parentConvert to ruby-fakegem. (diff)
downloadhistorical-289b7539361123773ba08bd7f75a9c055b1fa468.tar.gz
historical-289b7539361123773ba08bd7f75a9c055b1fa468.tar.bz2
historical-289b7539361123773ba08bd7f75a9c055b1fa468.zip
Convert to ruby-ng.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-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
+}