1 |
commit: fc88a208a52da2d2e0cd3830c4283f8a366ed460 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 07:59:07 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 5 08:05:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc88a208 |
7 |
|
8 |
dev-ruby/railties: 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/railties/Manifest | 1 - |
14 |
dev-ruby/railties/railties-4.2.11.1.ebuild | 71 ------------------------------ |
15 |
2 files changed, 72 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest |
18 |
index 59a1700d6da..cade3ca76a8 100644 |
19 |
--- a/dev-ruby/railties/Manifest |
20 |
+++ b/dev-ruby/railties/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/railties/railties-4.2.11.1.ebuild b/dev-ruby/railties/railties-4.2.11.1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 791e8e0731a..00000000000 |
29 |
--- a/dev-ruby/railties/railties-4.2.11.1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,71 +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 |
-USE_RUBY="ruby23 ruby24" |
37 |
- |
38 |
-RUBY_FAKEGEM_TASK_TEST="test:regular" |
39 |
-RUBY_FAKEGEM_TASK_DOC="" |
40 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" |
41 |
- |
42 |
-RUBY_FAKEGEM_GEMSPEC="railties.gemspec" |
43 |
- |
44 |
-RUBY_FAKEGEM_BINWRAP="" |
45 |
- |
46 |
-inherit ruby-fakegem versionator |
47 |
- |
48 |
-DESCRIPTION="Tools for creating, working with, and running Rails applications" |
49 |
-HOMEPAGE="https://github.com/rails/rails" |
50 |
-SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
51 |
- |
52 |
-LICENSE="MIT" |
53 |
-SLOT="$(get_version_component_range 1-2)" |
54 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86 ~amd64-linux" |
55 |
-IUSE="" |
56 |
- |
57 |
-RUBY_S="rails-${PV}/${PN}" |
58 |
- |
59 |
-# The test suite has many failures, most likely due to a mismatch in |
60 |
-# exact dependencies or environment specifics. Needs further |
61 |
-# investigation. |
62 |
-RESTRICT="test" |
63 |
- |
64 |
-RDEPEND+=">=app-eselect/eselect-rails-0.21" |
65 |
- |
66 |
-ruby_add_rdepend " |
67 |
- ~dev-ruby/activesupport-${PV} |
68 |
- ~dev-ruby/actionpack-${PV} |
69 |
- >=dev-ruby/thor-0.18.1 <dev-ruby/thor-2 |
70 |
- >=dev-ruby/rake-0.8.7" |
71 |
- |
72 |
-ruby_add_bdepend " |
73 |
- test? ( |
74 |
- ~dev-ruby/actionview-${PV} |
75 |
- dev-ruby/mocha:0.14 |
76 |
- )" |
77 |
- |
78 |
-all_ruby_prepare() { |
79 |
- rm "${S}/../Gemfile" || die "Unable to remove Gemfile" |
80 |
- sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" |
81 |
- sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die |
82 |
- |
83 |
- # Also allow rdoc 4.x |
84 |
- sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die |
85 |
-} |
86 |
- |
87 |
-all_ruby_install() { |
88 |
- all_fakegem_install |
89 |
- |
90 |
- ruby_fakegem_binwrapper rails rails-${PV} |
91 |
-} |
92 |
- |
93 |
-pkg_postinst() { |
94 |
- elog "To select between slots of rails, use:" |
95 |
- elog "\teselect rails" |
96 |
- |
97 |
- eselect rails update |
98 |
-} |
99 |
- |
100 |
-pkg_postrm() { |
101 |
- eselect rails update |
102 |
-} |