summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-16 17:05:30 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-16 17:05:30 +0000
commit92f6c5f00e4751d2419ac2f0124e9c90da6d90a2 (patch)
treefd6e2b6d9ac467951711f35424d3d86503f01e22 /dev-ruby/RubyInline
parentuse.mask video_cards_siliconmotion. (diff)
downloadgentoo-2-92f6c5f00e4751d2419ac2f0124e9c90da6d90a2.tar.gz
gentoo-2-92f6c5f00e4751d2419ac2f0124e9c90da6d90a2.tar.bz2
gentoo-2-92f6c5f00e4751d2419ac2f0124e9c90da6d90a2.zip
Remove FAKEGEM_NAME; use rdoc recipe for doc building (avoids hoe dependencies on USE=doc); apply patches with RUBY_PATCHES.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/RubyInline')
-rw-r--r--dev-ruby/RubyInline/ChangeLog8
-rw-r--r--dev-ruby/RubyInline/RubyInline-3.11.3.ebuild23
2 files changed, 14 insertions, 17 deletions
diff --git a/dev-ruby/RubyInline/ChangeLog b/dev-ruby/RubyInline/ChangeLog
index fc1449244ce9..4a7fbd17ebf8 100644
--- a/dev-ruby/RubyInline/ChangeLog
+++ b/dev-ruby/RubyInline/ChangeLog
@@ -1,6 +1,10 @@
-# ChangeLog for dev-ruby/ruby-inline
+# ChangeLog for dev-ruby/RubyInline
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/RubyInline/ChangeLog,v 1.1 2012/08/16 03:44:43 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/RubyInline/ChangeLog,v 1.2 2012/08/16 17:05:30 flameeyes Exp $
+
+ 16 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> RubyInline-3.11.3.ebuild:
+ Remove FAKEGEM_NAME; use rdoc recipe for doc building (avoids hoe dependencies
+ on USE=doc); apply patches with RUBY_PATCHES.
14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> metadata.xml:
Update metadata.xml so that it's the same as most other packages.
diff --git a/dev-ruby/RubyInline/RubyInline-3.11.3.ebuild b/dev-ruby/RubyInline/RubyInline-3.11.3.ebuild
index 2860663bcd87..e8dddc9443b6 100644
--- a/dev-ruby/RubyInline/RubyInline-3.11.3.ebuild
+++ b/dev-ruby/RubyInline/RubyInline-3.11.3.ebuild
@@ -1,14 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/RubyInline/RubyInline-3.11.3.ebuild,v 1.1 2012/08/16 03:44:43 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/RubyInline/RubyInline-3.11.3.ebuild,v 1.2 2012/08/16 17:05:30 flameeyes Exp $
EAPI=4
USE_RUBY="ruby18 ree18 ruby19"
-RUBY_FAKEGEM_NAME="RubyInline"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
@@ -25,23 +23,18 @@ IUSE="doc test"
ruby_add_rdepend dev-ruby/zentest
ruby_add_bdepend "
- doc? (
- dev-ruby/hoe
- dev-ruby/hoe-seattlerb
- )
test? (
dev-ruby/hoe
dev-ruby/hoe-seattlerb
+ virtual/ruby-minitest
)"
-all_ruby_prepare() {
- epatch "${FILESDIR}/ruby-inline-3.11.0-gentoo.patch"
-
- # Respect ruby's (and thus Gentoo's) LDFLAGS, and explicitly link
- # against the ruby shared library to avoid confusion and potential
- # crashes when later using the shared object.
- epatch "${FILESDIR}/ruby-inline-3.11.1-ldflags.patch"
+RUBY_PATCHES=(
+ ruby-inline-3.11.0-gentoo.patch
+ ruby-inline-3.11.1-ldflags.patch
+)
+all_ruby_prepare() {
sed -i -e '/isolate/ s:^:#:' Rakefile || die
}