diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-01-19 06:59:40 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-01-19 06:59:40 +0100 |
commit | 2f8b9df46cedf14530589e8ec54e5d6b705249f7 (patch) | |
tree | de92339df4f6a60681239c2483223575fe4d54df /dev-ruby/stringex | |
parent | dev-ruby/diff-lcs: add 1.3 (diff) | |
download | gentoo-2f8b9df46cedf14530589e8ec54e5d6b705249f7.tar.gz gentoo-2f8b9df46cedf14530589e8ec54e5d6b705249f7.tar.bz2 gentoo-2f8b9df46cedf14530589e8ec54e5d6b705249f7.zip |
dev-ruby/stringex: add 2.7.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/stringex')
-rw-r--r-- | dev-ruby/stringex/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/stringex/stringex-2.7.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/stringex/Manifest b/dev-ruby/stringex/Manifest index de6252c66ba7..cecebe366d3e 100644 --- a/dev-ruby/stringex/Manifest +++ b/dev-ruby/stringex/Manifest @@ -1 +1,2 @@ DIST stringex-2.6.1.gem 130048 SHA256 e19fcf32cc429a12d454b14db3a43a6227ee9da233b10240fe1572c9aae7ce65 SHA512 b2ca4de05a8a1e3ef9fa85324f2280a27de7ef04ac3eb0f76006e07d86e5fa0fc84acd4ee6d39f86416bc769cf4e2804421703533b8609a18228cdfeb769a841 WHIRLPOOL 41e78d6563c166bd2e933caee86d3f61538b60d643344a576c7d636d2664e885c95ff6fafaa42c0563aaf8b9ef8f246016523544dbf88bfc8686be2d34b4ddb1 +DIST stringex-2.7.0.gem 130048 SHA256 e9864b143c4c27a61a2af5d8ad585809e36d7708b51daee412919ed44682031a SHA512 f47cbddc0e298548d230759c5d0da84bca4d754141ad900cbafad09748d389505358e2a4dd0b61f2e55804c15d9c6d1b0fbccde9c3cd3408814dd898461e1212 WHIRLPOOL 2de63c63fa28b726e87b5e5961d6790a3838b3cb0ae182a11ef15b916c5f7d03887cf54de18c8f6d0a360b13f670e82f8a4a4548fa97d8f8a31174aba65d3ce6 diff --git a/dev-ruby/stringex/stringex-2.7.0.ebuild b/dev-ruby/stringex/stringex-2.7.0.ebuild new file mode 100644 index 000000000000..26469ec1f1fa --- /dev/null +++ b/dev-ruby/stringex/stringex-2.7.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_DOC_DIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Extensions for Ruby's String class" +HOMEPAGE="https://github.com/rsl/stringex" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64" +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? ( + >=dev-ruby/i18n-0.6.9:0.6 + dev-ruby/redcloth + dev-ruby/test-unit:2 + >=dev-ruby/activerecord-3 + dev-ruby/sqlite3 )" + +all_ruby_prepare() { + sed -i -e '1agem "i18n", "~>0.6.9"' test/test_helper.rb || die +} + +each_ruby_test() { + # rake seems to break this + ruby-ng_testrb-2 -Ilib -Itest test/unit/*/*_test.rb test/performance/*_test.rb || die "tests failed" +} |