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/actionview/
Date: Tue, 01 Mar 2016 05:49:35
Message-Id: 1456811317.ec4c74856a9bb9f5ba4e2652e52fab6085ac9537.graaff@gentoo
1 commit: ec4c74856a9bb9f5ba4e2652e52fab6085ac9537
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 1 05:43:40 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 1 05:48:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4c7485
7
8 dev-ruby/actionview: add rails 4.2.5.2, bug 576068
9
10 Package-Manager: portage-2.2.26
11
12 dev-ruby/actionview/Manifest | 1 +
13 dev-ruby/actionview/actionview-4.2.5.2.ebuild | 50 +++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-ruby/actionview/Manifest b/dev-ruby/actionview/Manifest
17 index 8273380..7978d9f 100644
18 --- a/dev-ruby/actionview/Manifest
19 +++ b/dev-ruby/actionview/Manifest
20 @@ -1,2 +1,3 @@
21 DIST rails-4.1.14.1.tgz 3728574 SHA256 1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a WHIRLPOOL 31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d
22 DIST rails-4.2.5.1.tgz 4175926 SHA256 713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d WHIRLPOOL dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
23 +DIST rails-4.2.5.2.tgz 4174380 SHA256 c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3 WHIRLPOOL 4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
24
25 diff --git a/dev-ruby/actionview/actionview-4.2.5.2.ebuild b/dev-ruby/actionview/actionview-4.2.5.2.ebuild
26 new file mode 100644
27 index 0000000..65eaceb
28 --- /dev/null
29 +++ b/dev-ruby/actionview/actionview-4.2.5.2.ebuild
30 @@ -0,0 +1,50 @@
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 +
37 +USE_RUBY="ruby20 ruby21 ruby22"
38 +
39 +RUBY_FAKEGEM_TASK_DOC=""
40 +RUBY_FAKEGEM_DOCDIR="doc"
41 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
42 +
43 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
44 +
45 +inherit ruby-fakegem versionator
46 +
47 +DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages"
48 +HOMEPAGE="https://github.com/rails/rails/"
49 +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
50 +
51 +LICENSE="MIT"
52 +SLOT="$(get_version_component_range 1-2)"
53 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
54 +IUSE=""
55 +
56 +RUBY_S="rails-${PV}/${PN}"
57 +
58 +ruby_add_rdepend "
59 + ~dev-ruby/activesupport-${PV}
60 + >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:*
61 + >=dev-ruby/erubis-2.7.0
62 + >=dev-ruby/rails-html-sanitizer-1.0.2:1
63 + >=dev-ruby/rails-dom-testing-1.0.5:1
64 +"
65 +
66 +ruby_add_bdepend "
67 + test? (
68 + dev-ruby/mocha:0.14
69 + ~dev-ruby/actionpack-${PV}
70 + ~dev-ruby/activemodel-${PV}
71 + )"
72 +
73 +all_ruby_prepare() {
74 + # Remove items from the common Gemfile that we don't need for this
75 + # test run. This also requires handling some gemspecs.
76 + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\)/ s:^:#:" \
77 + -e '/:job/,/end/ s:^:#:' \
78 + -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
79 + rm ../Gemfile.lock || die
80 +}