1 |
commit: 921eb8088ed5951ced78ccc79552b36278837f1e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 2 05:38:37 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 2 05:41:41 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921eb808 |
7 |
|
8 |
dev-ruby/sprockets-rails: ruby24 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
.../sprockets-rails-3.2.0-r1.ebuild | 38 ++++++++++++++++++++++ |
13 |
1 file changed, 38 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.2.0-r1.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.2.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..27ccf55fb71 |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/sprockets-rails/sprockets-rails-3.2.0-r1.ebuild |
20 |
@@ -0,0 +1,38 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=5 |
25 |
+USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
26 |
+ |
27 |
+RUBY_FAKEGEM_TASK_DOC="" |
28 |
+ |
29 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
30 |
+ |
31 |
+inherit ruby-fakegem versionator |
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="$(get_version_component_range 1)" |
39 |
+KEYWORDS="~amd64 ~arm ~amd64-linux" |
40 |
+ |
41 |
+IUSE="test" |
42 |
+ |
43 |
+ruby_add_rdepend " |
44 |
+ >=dev-ruby/actionpack-4.0:* |
45 |
+ >=dev-ruby/activesupport-4.0:* |
46 |
+ dev-ruby/sprockets:3" |
47 |
+ |
48 |
+ruby_add_bdepend " |
49 |
+ test? ( |
50 |
+ >=dev-ruby/actionpack-4 |
51 |
+ >=dev-ruby/railties-4 |
52 |
+ dev-ruby/test-unit:2 |
53 |
+ )" |
54 |
+ |
55 |
+all_ruby_prepare() { |
56 |
+ # Help load correct rack version consistently |
57 |
+ sed -i -e "3irequire 'action_controller'" test/test_helper.rb || die |
58 |
+} |