]> Pileus Git - ~andy/sunrise/commitdiff
dev-ruby/chronic: Migrate to from gem.eclass to ruby-fakegem.eclass. Add test to...
authorNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>
Tue, 5 Oct 2010 20:54:47 +0000 (20:54 +0000)
committerNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>
Tue, 5 Oct 2010 20:54:47 +0000 (20:54 +0000)
(Portage version: 2.2_rc88-r1/svn/Linux x86_64)

svn path=/sunrise/; revision=11403

dev-ruby/chronic/ChangeLog
dev-ruby/chronic/chronic-0.2.3.ebuild

index 3ef986eb27a80ec0212029b91d7bb54d1ba4c068..1011a90eba8e9f29182b6d92e2bbe5022aef880e 100644 (file)
@@ -1,7 +1,13 @@
 # ChangeLog for dev-ruby/chronic
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  05 Oct 2010; Nathan Phillip Brink (ohnobinki)
+  <ohnobinki@ohnopublishing.net> chronic-0.2.3.ebuild:
+  Migrate to from gem.eclass to ruby-fakegem.eclass. Add test to RESTRICT
+  because they fail and upstream hasn't done anything even though it's a
+  serious bug. Add ~amd64 keyword.
+
   03 Aug 2009; CS Shyam Sundar (CS3) <csshyamsundar@gmail.com> ChangeLog:
   New
   Ebuild for bug 280143 thanks to scarabeus, idl0r, a3li, tommy[D] & sedzimir
index efcd5869f945668664537a95cd4dd9d0ca605f42..e187368b89c518d39c62d869e7a683f431ae5f18 100644 (file)
@@ -2,16 +2,27 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+EAPI=2
+
 USE_RUBY="ruby18"
-inherit gems
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+inherit ruby-fakegem
 
 DESCRIPTION="A pure Ruby natural language date parser"
 HOMEPAGE="http://chronic.rubyforge.org"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-RDEPEND="dev-ruby/hoe"
-DEPEND="${RDEPEND}"
+# case 1 of the following bugreport fails for me, yet the working
+# parts of the module must still be useful...
+# http://rubyforge.org/tracker/index.php?func=detail&aid=28310&group_id=2115&atid=8245
+# --binki
+RESTRICT="test"
+
+ruby_add_bdepend "dev-ruby/hoe"
+ruby_add_bdepend "doc? ( virtual/ruby-rdoc )"