Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/stringex/
Date: Fri, 15 Jul 2016 05:38:11
Message-Id: 1468561077.6e97fe62daa9020aed2b14642cbcf7a45253cbb5.graaff@gentoo
1 commit: 6e97fe62daa9020aed2b14642cbcf7a45253cbb5
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 15 05:37:57 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 15 05:37:57 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e97fe62
7
8 dev-ruby/stringex: add ruby23
9
10 Package-Manager: portage-2.2.28
11
12 dev-ruby/stringex/Manifest | 1 +
13 dev-ruby/stringex/stringex-2.6.1.ebuild | 40 +++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-ruby/stringex/Manifest b/dev-ruby/stringex/Manifest
17 index 925f97d..3f52e80 100644
18 --- a/dev-ruby/stringex/Manifest
19 +++ b/dev-ruby/stringex/Manifest
20 @@ -1,2 +1,3 @@
21 DIST stringex-2.5.2.gem 128000 SHA256 27a8ee92a808a83284438e51ed391f3539ae6b39731b95cb4ad940974f6d0a94 SHA512 06905b5d59b40f59c0901bbaacbf303cd906be110cd69a4b8cc29cecd69b6aa73d80cee0c9c0e2014f662b9fca1611c0fe334fcba3c4fa686224dac94f4e0d41 WHIRLPOOL 21a66f7babd2424035e4874d9f5168736c81f6da8388764633d9618064998bfeb076076cfd0d9125583903be25070fa329c4e8fccd81ebb8f801c4447e6be7b4
22 DIST stringex-2.6.0.gem 129536 SHA256 15611e3765430e6e4cb794d289be6bb7b8a8c873d3ff6fd7dbf8c222c68f7ff6 SHA512 a54bf6ab9fcb0a11f6e27a125e6b1d8a49fa0ef4ca703d512c99a20ad59316184017a30e8fede5e7df3449cac53a395f530dde2033d6b15ca540b2c51aab92eb WHIRLPOOL f9102672888332145cc7548f971d5cde6550391e155c4a27ec5796cfd6aa2cc92dcedd51d431705362fd5b7fe362a713aa718d5741eb35a56348a885f41426f6
23 +DIST stringex-2.6.1.gem 130048 SHA256 e19fcf32cc429a12d454b14db3a43a6227ee9da233b10240fe1572c9aae7ce65 SHA512 b2ca4de05a8a1e3ef9fa85324f2280a27de7ef04ac3eb0f76006e07d86e5fa0fc84acd4ee6d39f86416bc769cf4e2804421703533b8609a18228cdfeb769a841 WHIRLPOOL 41e78d6563c166bd2e933caee86d3f61538b60d643344a576c7d636d2664e885c95ff6fafaa42c0563aaf8b9ef8f246016523544dbf88bfc8686be2d34b4ddb1
24
25 diff --git a/dev-ruby/stringex/stringex-2.6.1.ebuild b/dev-ruby/stringex/stringex-2.6.1.ebuild
26 new file mode 100644
27 index 0000000..5d8da22
28 --- /dev/null
29 +++ b/dev-ruby/stringex/stringex-2.6.1.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +USE_RUBY="ruby20 ruby21 ruby22"
37 +
38 +RUBY_FAKEGEM_DOC_DIR="rdoc"
39 +RUBY_FAKEGEM_EXTRADOC="README.rdoc"
40 +
41 +inherit ruby-fakegem
42 +
43 +DESCRIPTION="Extensions for Ruby's String class"
44 +HOMEPAGE="https://github.com/rsl/stringex"
45 +LICENSE="MIT"
46 +
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
49 +IUSE="test"
50 +
51 +# we could rely on activerecord[sqlite3], but since we do not remove the
52 +# sqlite3 adapter from activerecord when building -sqlite3, it's easier
53 +# to just add another dependency, so the user doesn't have to change the
54 +# USE flags at all.
55 +ruby_add_bdepend "
56 + test? (
57 + >=dev-ruby/i18n-0.6.9:0.6
58 + dev-ruby/redcloth
59 + dev-ruby/test-unit:2
60 + >=dev-ruby/activerecord-3
61 + dev-ruby/sqlite3 )"
62 +
63 +all_ruby_prepare() {
64 + sed -i -e '1agem "i18n", "~>0.6.9"' test/test_helper.rb || die
65 +}
66 +
67 +each_ruby_test() {
68 + # rake seems to break this
69 + ruby-ng_testrb-2 -Ilib -Itest test/unit/*/*_test.rb test/performance/*_test.rb || die "tests failed"
70 +}