1 |
commit: ea4823ed410c1378d7550ceef27543298848a6c3 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 2 05:39:50 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 2 05:41:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea4823ed |
7 |
|
8 |
dev-ruby/sass-rails: add ruby24 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
dev-ruby/sass-rails/sass-rails-5.0.6-r1.ebuild | 39 ++++++++++++++++++++++++++ |
13 |
1 file changed, 39 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/sass-rails/sass-rails-5.0.6-r1.ebuild b/dev-ruby/sass-rails/sass-rails-5.0.6-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..2b3f81cf389 |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/sass-rails/sass-rails-5.0.6-r1.ebuild |
20 |
@@ -0,0 +1,39 @@ |
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 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
29 |
+ |
30 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
31 |
+ |
32 |
+inherit ruby-fakegem versionator |
33 |
+ |
34 |
+DESCRIPTION="Official Ruby-on-Rails Integration with Sass" |
35 |
+HOMEPAGE="https://github.com/rails/sass-rails" |
36 |
+SRC_URI="https://github.com/rails/sass-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="MIT" |
39 |
+SLOT="$(get_version_component_range 1-2)" |
40 |
+KEYWORDS="~amd64 ~arm ~amd64-linux" |
41 |
+ |
42 |
+IUSE="" |
43 |
+ |
44 |
+# Restrict tests for now since it is hard to set up the right |
45 |
+# environment with the correct ruby interpreter and Rails test |
46 |
+# application. |
47 |
+RESTRICT="test" |
48 |
+ |
49 |
+#ruby_add_bdepend "test? ( dev-ruby/sfl dev-ruby/bundler )" |
50 |
+ |
51 |
+ruby_add_rdepend ">=dev-ruby/sass-3.1:* =dev-ruby/sass-3*:* |
52 |
+ >=dev-ruby/railties-4:* <dev-ruby/railties-6:* |
53 |
+ >=dev-ruby/sprockets-rails-2.0:* <dev-ruby/sprockets-rails-4:* |
54 |
+ >=dev-ruby/sprockets-2.8:* <dev-ruby/sprockets-4:* |
55 |
+ >=dev-ruby/tilt-1.1:* <dev-ruby/tilt-3:*" |
56 |
+ |
57 |
+each_ruby_test() { |
58 |
+ ${RUBY} -S bundle exec rake test || die |
59 |
+} |