summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-08-06 07:12:59 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-08-06 07:12:59 +0000
commitca6e8ed1daa3a78ee86015f49a57c5987320f1a3 (patch)
tree06990fe912564a171c2453c21b829775b649cf39 /dev-ruby/ruby-dict
parentAdd ruby21 target. (diff)
downloadgentoo-2-ca6e8ed1daa3a78ee86015f49a57c5987320f1a3.tar.gz
gentoo-2-ca6e8ed1daa3a78ee86015f49a57c5987320f1a3.tar.bz2
gentoo-2-ca6e8ed1daa3a78ee86015f49a57c5987320f1a3.zip
Add ruby21 target.
(Portage version: 2.2.11-r1/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/ruby-dict')
-rw-r--r--dev-ruby/ruby-dict/ChangeLog7
-rw-r--r--dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/ruby-dict/ChangeLog b/dev-ruby/ruby-dict/ChangeLog
index a9703b3972bf..db54e0a47d9c 100644
--- a/dev-ruby/ruby-dict/ChangeLog
+++ b/dev-ruby/ruby-dict/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/ruby-dict
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dict/ChangeLog,v 1.17 2014/04/24 20:15:50 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dict/ChangeLog,v 1.18 2014/08/06 07:12:59 mrueg Exp $
+
+*ruby-dict-0.9.4-r4 (06 Aug 2014)
+
+ 06 Aug 2014; Manuel Rüger <mrueg@gentoo.org> +ruby-dict-0.9.4-r4.ebuild:
+ Add ruby21 target.
24 Apr 2014; Manuel Rüger <mrueg@gentoo.org> ruby-dict-0.9.4-r3.ebuild:
Remove ruby18 support.
diff --git a/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild
new file mode 100644
index 000000000000..521b35be843e
--- /dev/null
+++ b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild,v 1.1 2014/08/06 07:12:59 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 jruby"
+
+inherit ruby-ng
+
+DESCRIPTION="RFC 2229 client in Ruby"
+HOMEPAGE="http://www.caliban.org/ruby/ruby-dict.shtml"
+SRC_URI="http://www.caliban.org/files/ruby/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+RUBY_PATCHES=( "${PN}-ruby19.patch" )
+
+each_ruby_test() {
+ ewarn "Tests will use network connection"
+
+ ${RUBY} -Ilib ./rdict test || die
+}
+
+each_ruby_install() {
+ doruby lib/dict.rb || die "doruby failed"
+}
+
+all_ruby_install() {
+ dobin rdict
+
+ dodoc README Changelog TODO doc/rfc2229.txt
+ dohtml doc/dict.html doc/rdict.html
+
+ # This would probably need a 3rb section..
+ # doman doc/dict.3
+ doman doc/rdict.1
+}