2022-02-10 18:05:38 +03:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2018-11-07 12:30:23 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=6
|
2020-12-29 15:08:21 +03:00
|
|
|
USE_RUBY="ruby25 ruby26 ruby27"
|
2018-11-07 12:30:23 +03:00
|
|
|
|
|
|
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
|
|
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
|
|
|
DESCRIPTION="Extensions for Ruby's String class"
|
|
|
|
HOMEPAGE="https://github.com/rsl/stringex"
|
|
|
|
LICENSE="MIT"
|
|
|
|
|
|
|
|
SLOT="0"
|
2022-02-10 18:05:38 +03:00
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
2018-11-07 12:30:23 +03:00
|
|
|
IUSE="test"
|
|
|
|
|
|
|
|
# we could rely on activerecord[sqlite3], but since we do not remove the
|
|
|
|
# sqlite3 adapter from activerecord when building -sqlite3, it's easier
|
|
|
|
# to just add another dependency, so the user doesn't have to change the
|
|
|
|
# USE flags at all.
|
|
|
|
ruby_add_bdepend "
|
|
|
|
test? (
|
2019-05-05 23:08:20 +03:00
|
|
|
dev-ruby/i18n:1
|
2018-11-07 12:30:23 +03:00
|
|
|
dev-ruby/redcloth
|
|
|
|
dev-ruby/test-unit:2
|
|
|
|
>=dev-ruby/activerecord-3
|
|
|
|
dev-ruby/sqlite3 )"
|
|
|
|
|
|
|
|
all_ruby_prepare() {
|
2019-05-05 23:08:20 +03:00
|
|
|
sed -i -e '1agem "i18n", "~>1.0"' test/test_helper.rb || die
|
2018-11-07 12:30:23 +03:00
|
|
|
}
|