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: Sat, 01 Dec 2018 08:27:55
Message-Id: 1543652835.9da9fb1043376f4d3c596d720103c2e6544945c1.graaff@gentoo
1 commit: 9da9fb1043376f4d3c596d720103c2e6544945c1
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 1 08:19:09 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 1 08:27:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9da9fb10
7
8 dev-ruby/activesupport: add 4.2.11
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-ruby/activesupport/Manifest | 1 +
14 dev-ruby/activesupport/activesupport-4.2.11.ebuild | 66 ++++++++++++++++++++++
15 2 files changed, 67 insertions(+)
16
17 diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
18 index e014378fdc1..8bdf41952ee 100644
19 --- a/dev-ruby/activesupport/Manifest
20 +++ b/dev-ruby/activesupport/Manifest
21 @@ -1,4 +1,5 @@
22 DIST rails-4.2.10.tgz 4080905 BLAKE2B 5a46ed9e3664a65545a709577b49864e14cecfc89c798facc0412b4da2842dfb86a611f1fd0ce50da6a40c81a19d3cdce0688b40ad92180ce8ababa5f38d23cc SHA512 c1331638326960c6df9000a2383ad1905d5e794fddddfdc7422cfa2ff89039e3c0e272a79fa43423d5ae0e56436eceb22b8276e6a8bce7eb765da33f02742318
23 +DIST rails-4.2.11.tgz 4080621 BLAKE2B 97f22f887255a1d8321d26040a9896cc87e0e7e50db208d3c0f96a74d926cfe9bb516641e06f7bfd92649b91427094f729d2d6b24df811ff0481c03950d3185b SHA512 df31ac9cff0b6b07113f6066b0459b40b7263356c40a722636091b75c7443691625153d8e2d7e01324e98321d757f67ba3b9318d4229a3c1a0cea5af65b6b470
24 DIST rails-5.0.7.tgz 6051560 BLAKE2B d5090b2e6c3fb9b7ca460c7439a94d6633ab7bad3cef42ab23851b0127d6b8cf6a34eb3b967c7c9b7ba5bd1d10e483f4c76a60fc06772d567a258b237a449fe6 SHA512 c3f1b882f4679967597c7ecfa3469e8f1dc52f618d26324b292bcd0ed8c854ec93a7570e12cab8becfb9a7ce04bb7e08f9ad353d35f8cfb954bc2144bf093e55
25 DIST rails-5.1.4.tgz 6132874 BLAKE2B ec5642b860b7c18cea2c56aa5e2a652e28ab08d39c5863dc4ee66fd3caf375e55706e4317ecae5bfc5581922cf1549c38c22529d2e44a98c84cde332491e49cc SHA512 8f0837e0a2c5b0189375f10310a6e6b43e32f1fecc503582efc6490436c943e774495262e508e4ca1a1874132ae6e4a541e81c06f0d8f6fe8ab85bd2fd10d4fc
26 DIST rails-5.1.5.tgz 6142269 BLAKE2B e31b6fb39df4a5cbfa9acd31058b018f5eb8d45d0886d9cb1de5d7de9ed082b67f27d257ac8eeffb0a2663466bc958c72d63309f0a68989d189a11510e835e3e SHA512 8fde1b043976c6bd69235ccbfc1f4ab593fa0cb7ec0dc0cbafcbd2727dfd1b405cc6131e41cc40871bc893cc64f524a347dd91efd1816b724deb5ca1cf879c63
27
28 diff --git a/dev-ruby/activesupport/activesupport-4.2.11.ebuild b/dev-ruby/activesupport/activesupport-4.2.11.ebuild
29 new file mode 100644
30 index 00000000000..73c3c524d0c
31 --- /dev/null
32 +++ b/dev-ruby/activesupport/activesupport-4.2.11.ebuild
33 @@ -0,0 +1,66 @@
34 +# Copyright 1999-2018 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +USE_RUBY="ruby23 ruby24"
40 +
41 +RUBY_FAKEGEM_TASK_DOC=""
42 +
43 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
44 +
45 +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
46 +
47 +RUBY_FAKEGEM_BINWRAP=""
48 +
49 +inherit ruby-fakegem versionator
50 +
51 +DESCRIPTION="Utility Classes and Extension to the Standard Library"
52 +HOMEPAGE="https://github.com/rails/rails"
53 +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
54 +
55 +LICENSE="MIT"
56 +SLOT="$(get_version_component_range 1-2)"
57 +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"
58 +IUSE=""
59 +
60 +RUBY_S="rails-${PV}/${PN}"
61 +
62 +ruby_add_rdepend "
63 + >=dev-ruby/i18n-0.7:0.7
64 + >=dev-ruby/tzinfo-1.1:1
65 + >=dev-ruby/minitest-5.1:5
66 + >=dev-ruby/thread_safe-0.3.4:0"
67 +
68 +# memcache-client, nokogiri, and builder are not strictly
69 +# needed, but there are tests using this code.
70 +ruby_add_bdepend "test? (
71 + >=dev-ruby/dalli-2.2.1
72 + >=dev-ruby/nokogiri-1.4.5
73 + >=dev-ruby/builder-3.1.0
74 + dev-ruby/rack
75 + dev-ruby/mocha:0.14
76 + )"
77 +
78 +all_ruby_prepare() {
79 + # Set the secure permissions that tests expect.
80 + chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
81 +
82 + # Remove items from the common Gemfile that we don't need for this
83 + # test run. This also requires handling some gemspecs.
84 + 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:^:#:" \
85 + -e '/:job/,/end/ s:^:#:' \
86 + -e '/group :doc/,/^end/ s:^:#:' \
87 + -e 's/gemspec/gemspec path: "activesupport"/' \
88 + -e '/rake/ s/12.3/12.4/ ; /dalli/ s/2.7.7/2.7.9/' \
89 + -e '5igem "builder"; gem "rack"' ../Gemfile || die
90 + rm ../Gemfile.lock || die
91 +
92 + # Avoid test that fails with Minitest 5.4 since that already defines
93 + # a string E in its TestCase.
94 + rm test/core_ext/marshal_test.rb || die
95 + sed -i -e '/test_const_missing_in_anonymous_modules/askip "gentoo minitest"' test/dependencies_test.rb || die
96 +
97 + # Avoid test crashing newer versions of minitest
98 + rm -f test/autoload_test.rb test/core_ext/object/json_cherry_pick_test.rb test/core_ext/object/json_gem_encoding_test.rb || die
99 +}