1 |
commit: a2dbd9b739614b96843e395c94793429b69345ee |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 9 07:03:07 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 9 07:38:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2dbd9b7 |
7 |
|
8 |
dev-ruby/sprockets-rails: add ruby30 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
.../sprockets-rails-3.4.2-r1.ebuild | 36 ++++++++++++++++++++++ |
13 |
1 file changed, 36 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..0694fabfb299 |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild |
20 |
@@ -0,0 +1,36 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+USE_RUBY="ruby26 ruby27 ruby30" |
26 |
+ |
27 |
+RUBY_FAKEGEM_TASK_DOC="" |
28 |
+ |
29 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
30 |
+ |
31 |
+inherit ruby-fakegem |
32 |
+ |
33 |
+DESCRIPTION="Sprockets implementation for Rails 4.x (and beyond) Asset Pipeline" |
34 |
+HOMEPAGE="https://github.com/rails/sprockets-rails" |
35 |
+SRC_URI="https://github.com/rails/sprockets-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="MIT" |
38 |
+SLOT="$(ver_cut 1)" |
39 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux" |
40 |
+ |
41 |
+IUSE="test" |
42 |
+ |
43 |
+ruby_add_rdepend " |
44 |
+ >=dev-ruby/actionpack-5.2:* |
45 |
+ >=dev-ruby/activesupport-5.2:* |
46 |
+ >=dev-ruby/sprockets-3.0.0:*" |
47 |
+ |
48 |
+ruby_add_bdepend " |
49 |
+ test? ( |
50 |
+ >=dev-ruby/railties-5.2:* |
51 |
+ dev-ruby/test-unit:2 |
52 |
+ )" |
53 |
+ |
54 |
+all_ruby_prepare() { |
55 |
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die |
56 |
+} |