summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-10-29 23:34:57 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-10-29 23:34:57 +0000
commit9793199ccefdfbc07ab81e52688aabf7da42dc7a (patch)
tree8f6555b2ea3c5c875effbd71d931ca1b28e1aef3 /dev-ruby/extlib
parentAutomated update. (diff)
downloadgentoo-2-9793199ccefdfbc07ab81e52688aabf7da42dc7a.tar.gz
gentoo-2-9793199ccefdfbc07ab81e52688aabf7da42dc7a.tar.bz2
gentoo-2-9793199ccefdfbc07ab81e52688aabf7da42dc7a.zip
Add ruby20 target.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/extlib')
-rw-r--r--dev-ruby/extlib/ChangeLog7
-rw-r--r--dev-ruby/extlib/extlib-0.9.16-r1.ebuild34
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-ruby/extlib/ChangeLog b/dev-ruby/extlib/ChangeLog
index acfd4f3bc0f2..2db0f348da7c 100644
--- a/dev-ruby/extlib/ChangeLog
+++ b/dev-ruby/extlib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/extlib
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/extlib/ChangeLog,v 1.8 2013/03/03 18:45:34 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/extlib/ChangeLog,v 1.9 2013/10/29 23:34:57 mrueg Exp $
+
+*extlib-0.9.16-r1 (30 Oct 2013)
+
+ 30 Oct 2013; Manuel Rüger <mrueg@gentoo.org> +extlib-0.9.16-r1.ebuild:
+ Add ruby20 target.
03 Mar 2013; Hans de Graaff <graaff@gentoo.org> -extlib-0.9.15.ebuild:
Cleanup.
diff --git a/dev-ruby/extlib/extlib-0.9.16-r1.ebuild b/dev-ruby/extlib/extlib-0.9.16-r1.ebuild
new file mode 100644
index 000000000000..8109580b0a69
--- /dev/null
+++ b/dev-ruby/extlib/extlib-0.9.16-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/extlib/extlib-0.9.16-r1.ebuild,v 1.1 2013/10/29 23:34:57 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="-f tasks/yard.rake yard"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec
+
+inherit ruby-fakegem
+
+DESCRIPTION="Support library for DataMapper and Merb"
+HOMEPAGE="http://extlib.rubyforge.org"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+ruby_add_bdepend "
+ doc? ( dev-ruby/yard )
+ test? ( >=dev-ruby/json-1.4.0 )"
+
+all_ruby_prepare() {
+ sed -i -e '/spec/d' spec/spec_helper.rb || die
+
+ # We always use json.
+ sed -i -e 's/json_pure/json/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}