1 |
commit: 922ef0b0aa61e82ed3b4436c9b9024e810b20348 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 26 06:09:36 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 06:09:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922ef0b0 |
7 |
|
8 |
dev-ruby/roadie-rails: drop 3.0.0 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/roadie-rails/roadie-rails-3.0.0.ebuild | 59 ------------------------- |
13 |
1 file changed, 59 deletions(-) |
14 |
|
15 |
diff --git a/dev-ruby/roadie-rails/roadie-rails-3.0.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-3.0.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index d9ea47486a58..000000000000 |
18 |
--- a/dev-ruby/roadie-rails/roadie-rails-3.0.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,59 +0,0 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=8 |
25 |
- |
26 |
-USE_RUBY="ruby26 ruby27" |
27 |
-RUBY_FAKEGEM_EXTRADOC="README.md" |
28 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
29 |
-RUBY_FAKEGEM_RECIPE_DOC="yard" |
30 |
- |
31 |
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
32 |
- |
33 |
-inherit ruby-fakegem |
34 |
- |
35 |
-DESCRIPTION="Hooks Roadie into your Rails application to help with email generation" |
36 |
-HOMEPAGE="https://github.com/Mange/roadie-rails" |
37 |
-SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
38 |
- |
39 |
-LICENSE="MIT" |
40 |
-SLOT="$(ver_cut 1)" |
41 |
-KEYWORDS="~amd64" |
42 |
- |
43 |
-ruby_add_rdepend ">=dev-ruby/roadie-3.1:4 |
44 |
- || ( dev-ruby/railties:7.0 dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 )" |
45 |
-ruby_add_bdepend " |
46 |
- test? ( |
47 |
- dev-ruby/bundler |
48 |
- || ( dev-ruby/rails:7.0 dev-ruby/rails:6.1 dev-ruby/rails:6.0 dev-ruby/rails:5.2 ) |
49 |
- dev-ruby/rspec-rails |
50 |
- dev-ruby/rspec-collection_matchers |
51 |
- dev-ruby/sass-rails )" |
52 |
- |
53 |
-all_ruby_prepare() { |
54 |
- sed -i -e '/\(simplecov\|standard\)/ s:^:#:' Gemfile || die |
55 |
- sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die |
56 |
- |
57 |
- # Avoid already removed rails version |
58 |
- sed -i -e '/rails_51/ s:^:#:' spec/integration_spec.rb || die |
59 |
- |
60 |
- # Avoid dependency on optional bootsnap |
61 |
- sed -i -e '/bootsnap/ s:^:#:' spec/railsapps/rails_*/Gemfile spec/railsapps/rails_*/config/boot.rb || die |
62 |
- |
63 |
- # Fix versioned sass-rails dependency |
64 |
- sed -i -e '/sass-rails/ s/>= 6/>=5/' spec/railsapps/*/Gemfile || die |
65 |
- |
66 |
- # Revert https://github.com/Mange/roadie-rails/commit/03acd8fddf651d43919e92db35d541ec4281c5fc for now |
67 |
- # Fragile test which is affected by dependency versions (unclear which) |
68 |
- sed -e 's/cd95a25e70dfe61add5a96e11d3fee0f29e9ba2b05099723d57bba7dfa725c8a/322506f9917889126e81df2833a6eecdf2e394658d53dad347e9882dd4dbf28e/' \ |
69 |
- -i spec/integration_spec.rb || die |
70 |
- |
71 |
-} |
72 |
- |
73 |
-each_ruby_prepare() { |
74 |
- sed -i -e '/run_in_app_context/ s:bin/rails:'${RUBY}' -S bin/rails:' spec/support/rails_app.rb || die |
75 |
-} |
76 |
- |
77 |
-each_ruby_test() { |
78 |
- ${RUBY} -S bundle exec rspec-3 spec || die |
79 |
-} |