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/activesupport/
Date: Fri, 29 Sep 2017 14:20:18
Message-Id: 1506694784.ab7dc2f9e84448289ef7643d0718f49569843124.graaff@gentoo
1 commit: ab7dc2f9e84448289ef7643d0718f49569843124
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 09:33:15 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 14:19:44 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab7dc2f9
7
8 dev-ruby/activesupport: add rails 4.2.10
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.2
11
12 dev-ruby/activesupport/Manifest | 1 +
13 dev-ruby/activesupport/activesupport-4.2.10.ebuild | 62 ++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
17 index ecf68adc92a..98b6ed8f2fb 100644
18 --- a/dev-ruby/activesupport/Manifest
19 +++ b/dev-ruby/activesupport/Manifest
20 @@ -1,3 +1,4 @@
21 +DIST rails-4.2.10.tgz 4080905 SHA256 268a718a7a49ee3406027ac5b871959c096ae02d47db6a97934932897ee6e350 SHA512 c1331638326960c6df9000a2383ad1905d5e794fddddfdc7422cfa2ff89039e3c0e272a79fa43423d5ae0e56436eceb22b8276e6a8bce7eb765da33f02742318 WHIRLPOOL 4ec289a2a4115e9b7cad4206fd5787b013bd273d42de1b197c17407e78c607a1d733213ff7068781ab6cc62cbc213f192ad6f0fcc363e053288a86e4d1002714
22 DIST rails-4.2.8.tgz 4077925 SHA256 55e15e101fc4a466a8acafdd679509f6e25992d50ade2d98b098558c698a6320 SHA512 a457ec7422b83f35e8d1ac26f1ef8fbaec985034c5804ce92334c45fa4e4b11a29acdcef2c009c36be2deb4724faeb91b99f76a665eeacd1bda9448db2299f89 WHIRLPOOL ed46c71f527ba59f0ff4d00ae5881b46984500b4493b4c511b8037d94c76b40c0e531c635337b0795887e028aad5136048ba69b57e482489c3c049585f18f42f
23 DIST rails-4.2.9.tgz 4080618 SHA256 c6b2119e0ef5a3359d00a0e634b5a3bd833e8d1108d96beaecaf83d7f82fce4e SHA512 2facc17faf0e76c8e13f997c9def344bd3e35aa77a596d85975f47eba837f99033f492f45485448f924adea95ffdd2f7c169dd2970be5f8c12bbafb23da51ec3 WHIRLPOOL adee3ffecc82838fbcbce50dfacb8ef813e061508f04306d15022c10fd0778cc2cde20ce2b913c4543541fce070b1a89439b56f4426cbe8a002e0d1fbfc6e33e
24 DIST rails-5.0.3.tgz 6041420 SHA256 0c16f63af96529c1e3d2b4476031bd024ae403322fe78e80e188a422412dc582 SHA512 5a25747507d2a8e1d2a19ce14c77a80c4f9bd5751fb343c3f405b8d9ec170d11fb866ebfedf6b850b6750399015631ab1551e6f78e097c6514061462a05e88f3 WHIRLPOOL 25fd8473a4eed2f007b99e22cb7ccf834780d4f21478a0818c44bea525f4c839610bab2b52ae5087a881f8d5519b78616f4e53e6a21f7d6f9270c0ddf648a2a5
25
26 diff --git a/dev-ruby/activesupport/activesupport-4.2.10.ebuild b/dev-ruby/activesupport/activesupport-4.2.10.ebuild
27 new file mode 100644
28 index 00000000000..147c955a6ce
29 --- /dev/null
30 +++ b/dev-ruby/activesupport/activesupport-4.2.10.ebuild
31 @@ -0,0 +1,62 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +USE_RUBY="ruby22 ruby23 ruby24"
38 +
39 +RUBY_FAKEGEM_TASK_DOC=""
40 +
41 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
42 +
43 +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
44 +
45 +RUBY_FAKEGEM_BINWRAP=""
46 +
47 +inherit ruby-fakegem versionator
48 +
49 +DESCRIPTION="Utility Classes and Extension to the Standard Library"
50 +HOMEPAGE="https://github.com/rails/rails"
51 +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
52 +
53 +LICENSE="MIT"
54 +SLOT="$(get_version_component_range 1-2)"
55 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
56 +IUSE=""
57 +
58 +RUBY_S="rails-${PV}/${PN}"
59 +
60 +ruby_add_rdepend "
61 + >=dev-ruby/i18n-0.7:0.7
62 + >=dev-ruby/tzinfo-1.1:1
63 + >=dev-ruby/minitest-5.1:5
64 + >=dev-ruby/thread_safe-0.3.4:0"
65 +
66 +# memcache-client, nokogiri, and builder are not strictly
67 +# needed, but there are tests using this code.
68 +ruby_add_bdepend "test? (
69 + >=dev-ruby/dalli-2.2.1
70 + >=dev-ruby/nokogiri-1.4.5
71 + >=dev-ruby/builder-3.1.0
72 + dev-ruby/rack
73 + dev-ruby/mocha:0.14
74 + )"
75 +
76 +all_ruby_prepare() {
77 + # Set the secure permissions that tests expect.
78 + chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
79 +
80 + # Remove items from the common Gemfile that we don't need for this
81 + # test run. This also requires handling some gemspecs.
82 + sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|mime-types\|sprockets\|stackprof\|rack-cache\|sqlite\)/ s:^:#:" \
83 + -e '/:job/,/end/ s:^:#:' \
84 + -e '/group :doc/,/^end/ s:^:#:' \
85 + -e 's/gemspec/gemspec path: "activesupport"/' \
86 + -e '5igem "builder"; gem "rack"' ../Gemfile || die
87 + rm ../Gemfile.lock || die
88 +
89 + # Avoid test that fails with Minitest 5.4 since that already defines
90 + # a string E in its TestCase.
91 + rm test/core_ext/marshal_test.rb || die
92 + sed -i -e '/test_const_missing_in_anonymous_modules/askip "gentoo minitest"' test/dependencies_test.rb || die
93 +}