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