summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-02-04 17:03:44 +0100
committerHans de Graaff <graaff@gentoo.org>2017-02-04 17:17:34 +0100
commitd382c17e712cf3bca8b77f1d3ca2b771cf62667b (patch)
treef0a9dae75a8671dc1fd61abfd40698e102fd374d /dev-ruby/classifier
parentdev-php/pecl-memcached: new version 3.0.0 replacing the snapshot. (diff)
downloadgentoo-d382c17e712cf3bca8b77f1d3ca2b771cf62667b.tar.gz
gentoo-d382c17e712cf3bca8b77f1d3ca2b771cf62667b.tar.bz2
gentoo-d382c17e712cf3bca8b77f1d3ca2b771cf62667b.zip
dev-ruby/classifier: add ruby23
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/classifier')
-rw-r--r--dev-ruby/classifier/classifier-1.3.4.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-ruby/classifier/classifier-1.3.4.ebuild b/dev-ruby/classifier/classifier-1.3.4.ebuild
index 722a47bf6fbc..b6b7cfaa5f2d 100644
--- a/dev-ruby/classifier/classifier-1.3.4.ebuild
+++ b/dev-ruby/classifier/classifier-1.3.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22 ruby23"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.markdown"
@@ -24,6 +24,7 @@ ruby_add_rdepend ">=dev-ruby/fast-stemmer-1.0.0
all_ruby_prepare() {
sed -i -e "s/PKG_VERSION/\"${PV}\"/" \
+ -e '/rubyforge/ s:^:#:' \
-e "s#PKG_FILES#FileList[ \"lib/**/*\", \"bin/*\", \"test/**/*\", \"[A-Z]*\", \"Rakefile\", \"Gemfile\", \"html/**/*\"]#" Rakefile
if use !gsl; then
sed -e 's/$GSL = true/$GSL = false/' -i lib/${PN}/lsi.rb || die