summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-01 09:49:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-01 09:49:12 +0000
commit23e8831745d08f7063eb541250ef91eb72f425af (patch)
tree3ebbb0e40af2abd4d4f74d4c58348644a416cdb4 /dev-ruby/ruby-dict
parentAdd EAPI=3 support for java eclasses. Bug #303061 and patch thanks to Ulrich ... (diff)
downloadhistorical-23e8831745d08f7063eb541250ef91eb72f425af.tar.gz
historical-23e8831745d08f7063eb541250ef91eb72f425af.tar.bz2
historical-23e8831745d08f7063eb541250ef91eb72f425af.zip
Port to ruby-ng, add support for JRuby.
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-dict')
-rw-r--r--dev-ruby/ruby-dict/ChangeLog10
-rw-r--r--dev-ruby/ruby-dict/Manifest12
-rw-r--r--dev-ruby/ruby-dict/ruby-dict-0.9.4-r1.ebuild (renamed from dev-ruby/ruby-dict/ruby-dict-0.9.4.ebuild)25
3 files changed, 31 insertions, 16 deletions
diff --git a/dev-ruby/ruby-dict/ChangeLog b/dev-ruby/ruby-dict/ChangeLog
index 664c11218520..aa055a9658e2 100644
--- a/dev-ruby/ruby-dict/ChangeLog
+++ b/dev-ruby/ruby-dict/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-dict
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dict/ChangeLog,v 1.7 2009/03/12 08:06:46 a3li Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dict/ChangeLog,v 1.8 2010/02/01 09:49:12 flameeyes Exp $
+
+*ruby-dict-0.9.4-r1 (01 Feb 2010)
+
+ 01 Feb 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ -ruby-dict-0.9.4.ebuild, +ruby-dict-0.9.4-r1.ebuild:
+ Port to ruby-ng, add support for JRuby.
12 Mar 2009; Alex Legler <a3li@gentoo.org> metadata.xml:
Removing flameeyes from metadata, as per his request.
diff --git a/dev-ruby/ruby-dict/Manifest b/dev-ruby/ruby-dict/Manifest
index 2bea8e8138c6..6f427c1f34c9 100644
--- a/dev-ruby/ruby-dict/Manifest
+++ b/dev-ruby/ruby-dict/Manifest
@@ -2,13 +2,13 @@
Hash: SHA1
DIST ruby-dict-0.9.4.tar.gz 50487 RMD160 0181805be4a3f17d3a462fce61063ecfebfc6a17 SHA1 1ff594a2a1af700ef70ebc4a0831919d44ddcb25 SHA256 d44c960869e232a23b10516761a9b6ad56427ec418033b003a65082c2af045b2
-EBUILD ruby-dict-0.9.4.ebuild 797 RMD160 ed2419cf19b6e2b835e8b466d54c87a9f4745b0d SHA1 97c361df62b4a3a959d65f6f467c000f033d6615 SHA256 49135d3a78be44cf6794e4804a4a40826c23f031ed96c4e8876faabddcdc3e75
-MISC ChangeLog 1183 RMD160 a4e2a4fdf8f1a3177b2691b34969660ed094b19d SHA1 4cf2be72e6b9df4ac17fb45230257dfef93aff6f SHA256 883a526b1bc20dfc870d999c06a6b0222fa9fad18361674bbb9466807180944e
+EBUILD ruby-dict-0.9.4-r1.ebuild 972 RMD160 677734567c955eb7effa7739892f03ddcf909736 SHA1 786ff3226ec4e6437effd494ceba5d8b50428786 SHA256 eb0697ff48aaa6173137e7f25d0b191a0e604bc3a007f3e3c6866ecd2e6c75e4
+MISC ChangeLog 1377 RMD160 6bd750f46abfbf677d8d6cc9e5d9ff0e45605277 SHA1 c17f629d750b6bfe3102e7419e624e54e1345e50 SHA256 0a5eae669cd3cbd8e487ebcef074948e0c0d03806b165805323868ffc7a671d0
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.10 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAkm4wp4ACgkQk3qunHEll7PykwCg8vRPlNqdJ/Kt0FU1OBroUg4N
-xJgAn1zwS+WYQ9TjxuZ+NTsSp9/Y+sMc
-=Rvpr
+iEYEARECAAYFAktmo6gACgkQAiZjviIA2XhGBgCfQ6zGBArIya5goT7BNM+gBWTu
+wyoAoJCiD+ysDoPSAl2Hw1dnH3v7AB1C
+=vmUT
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-dict/ruby-dict-0.9.4.ebuild b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r1.ebuild
index b7e4a12acc40..e05b009a3cde 100644
--- a/dev-ruby/ruby-dict/ruby-dict-0.9.4.ebuild
+++ b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r1.ebuild
@@ -1,8 +1,13 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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.ebuild,v 1.6 2009/01/18 10:30:59 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dict/ruby-dict-0.9.4-r1.ebuild,v 1.1 2010/02/01 09:49:12 flameeyes Exp $
-inherit ruby
+EAPI=2
+
+# ruby19 → require 'md5' fails
+USE_RUBY="ruby18 jruby"
+
+inherit ruby-ng
DESCRIPTION="RFC 2229 client in Ruby"
HOMEPAGE="http://www.caliban.org/ruby/ruby-dict.shtml"
@@ -13,17 +18,21 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE=""
-USE_RUBY="ruby18"
+each_ruby_test() {
+ ewarn "Tests will use network connection"
-src_compile() { :; }
+ ${RUBY} -Ilib ./rdict test || die
+}
-src_install() {
+each_ruby_install() {
doruby lib/dict.rb || die "doruby failed"
+}
+all_ruby_install() {
dobin rdict || die "rdict failed"
- dodoc README Changelog TODO doc/rfc2229.txt
- dohtml doc/dict.html doc/rdict.html
+ dodoc README Changelog TODO doc/rfc2229.txt || die
+ dohtml doc/dict.html doc/rdict.html || die
# This would probably need a 3rb section..
# doman doc/dict.3