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: Tue, 05 May 2020 08:06:11
Message-Id: 1588665952.a02fcc74a655015b2091d0dbdf0bc5b14d9cdecb.graaff@gentoo
1 commit: a02fcc74a655015b2091d0dbdf0bc5b14d9cdecb
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 5 08:04:33 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue May 5 08:05:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02fcc74
7
8 dev-ruby/activesupport: remove rails 4.2
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.20
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/activesupport/Manifest | 1 -
14 .../activesupport/activesupport-4.2.11.1.ebuild | 66 ----------------------
15 2 files changed, 67 deletions(-)
16
17 diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
18 index 59a1700d6da..cade3ca76a8 100644
19 --- a/dev-ruby/activesupport/Manifest
20 +++ b/dev-ruby/activesupport/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST rails-4.2.11.1.tgz 4081006 BLAKE2B 7db84961963f529a9b6c06011bb6e32b56f4beb064de31c811a092d27e93156669ade4dcceb7d8abcdba4845d42258d904f8ecaf79198af1c0e2afcb33fe3fe3 SHA512 198fa072f3f09a9893377439ddd1803effdf04a33ae7b609234464e7de9ad960439d1b80ae62e1f9b223b3173839be7233c314a72057933b43672f390d96a8df
23 DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc
24 DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689
25
26 diff --git a/dev-ruby/activesupport/activesupport-4.2.11.1.ebuild b/dev-ruby/activesupport/activesupport-4.2.11.1.ebuild
27 deleted file mode 100644
28 index 4424d718299..00000000000
29 --- a/dev-ruby/activesupport/activesupport-4.2.11.1.ebuild
30 +++ /dev/null
31 @@ -1,66 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -USE_RUBY="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="~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 '/rake/ s/12.3/12.4/ ; /dalli/ s/2.7.7/2.7.10/' \
87 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
88 - rm ../Gemfile.lock || die
89 -
90 - # Avoid test that fails with Minitest 5.4 since that already defines
91 - # a string E in its TestCase.
92 - rm test/core_ext/marshal_test.rb || die
93 - sed -i -e '/test_const_missing_in_anonymous_modules/askip "gentoo minitest"' test/dependencies_test.rb || die
94 -
95 - # Avoid test crashing newer versions of minitest
96 - 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
97 -}