summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-07-08 10:08:28 +0000
committerHans de Graaff <graaff@gentoo.org>2015-07-08 10:08:28 +0000
commit065446bfe3326dc422ae9d5eda45ced6d8ee72bb (patch)
treefbf91158d7231a1531d55163375f91254e0c65e3 /dev-ruby/bluecloth
parentInitial commit as optional dependency for www-apps/nikola. Ebuild submitted b... (diff)
downloadgentoo-2-065446bfe3326dc422ae9d5eda45ced6d8ee72bb.tar.gz
gentoo-2-065446bfe3326dc422ae9d5eda45ced6d8ee72bb.tar.bz2
gentoo-2-065446bfe3326dc422ae9d5eda45ced6d8ee72bb.zip
Add ruby22.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/bluecloth')
-rw-r--r--dev-ruby/bluecloth/ChangeLog5
-rw-r--r--dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild10
2 files changed, 9 insertions, 6 deletions
diff --git a/dev-ruby/bluecloth/ChangeLog b/dev-ruby/bluecloth/ChangeLog
index 071607e8f3fe..ebd872f48a10 100644
--- a/dev-ruby/bluecloth/ChangeLog
+++ b/dev-ruby/bluecloth/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/bluecloth
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bluecloth/ChangeLog,v 1.90 2015/04/04 10:35:52 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bluecloth/ChangeLog,v 1.91 2015/07/08 10:08:28 graaff Exp $
+
+ 08 Jul 2015; Hans de Graaff <graaff@gentoo.org> bluecloth-2.2.0-r2.ebuild:
+ Add ruby22.
04 Apr 2015; Hans de Graaff <graaff@gentoo.org> bluecloth-2.2.0-r2.ebuild:
Fix rspec invocation. Document ruby22 status.
diff --git a/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild b/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild
index 449073594d4d..fecfe6b66adc 100644
--- a/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild
+++ b/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild
@@ -1,11 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild,v 1.6 2015/04/04 10:35:52 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild,v 1.7 2015/07/08 10:08:28 graaff Exp $
EAPI=5
-# ruby22 -> Code uses obsolete Config module.
-USE_RUBY="ruby19 ruby20 ruby21"
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
@@ -33,8 +32,9 @@ ruby_add_bdepend "
)"
all_ruby_prepare() {
- # for Ruby 1.9.2 compatibility
- sed -i -e '1i $: << "."' Rakefile || die
+ # for Ruby 1.9.2 and 2.2.x compatibility
+ sed -i -e '1i $: << "."' \
+ -e 's/Config/RbConfig/' Rakefile || die
}
all_ruby_compile() {