1 |
commit: 0e836ac0ef134872d7acac797bef92632e7d1ef5 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 3 08:56:46 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 4 05:57:10 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e836ac0 |
7 |
|
8 |
dev-ruby/railties: remove broken version |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/railties/railties-5.0.0.1.ebuild | 74 ------------------------------- |
13 |
1 file changed, 74 deletions(-) |
14 |
|
15 |
diff --git a/dev-ruby/railties/railties-5.0.0.1.ebuild b/dev-ruby/railties/railties-5.0.0.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index c4f6bf8..00000000 |
18 |
--- a/dev-ruby/railties/railties-5.0.0.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,74 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
-USE_RUBY="ruby22 ruby23" |
27 |
- |
28 |
-RUBY_FAKEGEM_TASK_TEST="test:regular" |
29 |
-RUBY_FAKEGEM_TASK_DOC="" |
30 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" |
31 |
- |
32 |
-RUBY_FAKEGEM_GEMSPEC="railties.gemspec" |
33 |
- |
34 |
-RUBY_FAKEGEM_BINWRAP="" |
35 |
- |
36 |
-inherit ruby-fakegem versionator |
37 |
- |
38 |
-DESCRIPTION="Tools for creating, working with, and running Rails applications" |
39 |
-HOMEPAGE="https://github.com/rails/rails" |
40 |
-SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
41 |
- |
42 |
-LICENSE="MIT" |
43 |
-SLOT="$(get_version_component_range 1-2)" |
44 |
-KEYWORDS="~amd64 ~arm ~amd64-linux" |
45 |
-IUSE="" |
46 |
- |
47 |
-RUBY_S="rails-${PV}/${PN}" |
48 |
- |
49 |
-# The test suite has many failures, most likely due to a mismatch in |
50 |
-# exact dependencies or environment specifics. Needs further |
51 |
-# investigation. |
52 |
-RESTRICT="test" |
53 |
- |
54 |
-RDEPEND+=">=app-eselect/eselect-rails-0.22" |
55 |
- |
56 |
-ruby_add_rdepend " |
57 |
- ~dev-ruby/activesupport-${PV} |
58 |
- ~dev-ruby/actionpack-${PV} |
59 |
- >=dev-ruby/thor-0.18.1 |
60 |
- >=dev-ruby/rake-0.8.7 |
61 |
- dev-ruby/method_source |
62 |
-" |
63 |
- |
64 |
-ruby_add_bdepend " |
65 |
- test? ( |
66 |
- ~dev-ruby/actionview-${PV} |
67 |
- dev-ruby/mocha:0.14 |
68 |
- )" |
69 |
- |
70 |
-all_ruby_prepare() { |
71 |
- rm "${S}/../Gemfile" || die "Unable to remove Gemfile" |
72 |
- sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" |
73 |
- sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die |
74 |
- |
75 |
- # Also allow rdoc 4.x |
76 |
- sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die |
77 |
-} |
78 |
- |
79 |
-all_ruby_install() { |
80 |
- all_fakegem_install |
81 |
- |
82 |
- ruby_fakegem_binwrapper rails rails-${PV} |
83 |
-} |
84 |
- |
85 |
-pkg_postinst() { |
86 |
- elog "To select between slots of rails, use:" |
87 |
- elog "\teselect rails" |
88 |
- |
89 |
- eselect rails update |
90 |
-} |
91 |
- |
92 |
-pkg_postrm() { |
93 |
- eselect rails update |
94 |
-} |