1 |
commit: 7edbe5d971bef53108a4e929e704385b2aab92d7 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 17 05:25:25 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 17 05:41:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7edbe5d9 |
7 |
|
8 |
dev-ruby/sass-rails: add 5.0.8 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/sass-rails/Manifest | 1 + |
14 |
dev-ruby/sass-rails/sass-rails-5.0.8.ebuild | 38 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/sass-rails/Manifest b/dev-ruby/sass-rails/Manifest |
18 |
index 13630b0dddf..ac695db2fbe 100644 |
19 |
--- a/dev-ruby/sass-rails/Manifest |
20 |
+++ b/dev-ruby/sass-rails/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST sass-rails-5.0.7.tar.gz 90425 BLAKE2B 8aceff670ba2e4993597858b74362a02307e39ac967a331005f21d384644d0dbdd414560abaa88e60d35358b47d65c146baa72f37c879a2f13178e187cc1f79b SHA512 491a1618a75becf6095b102c996e50d25fe701d3a6c1b6c6fadff81c6c09260c3ee6ff9c84abf7bc62779fa7034d54d7c0d9a7c4148d3cc741d83efda87ec0a0 |
23 |
+DIST sass-rails-5.0.8.tar.gz 90020 BLAKE2B 20e9e6e4701b0a14ff10f343fb94065af0110d86aab1bb4676de4806e20f8031b4cf7961002828438c3ae6be9802b3a2e4367882241e8fe745029747d31f9b04 SHA512 05d9e8d269c608723158831e215599a8482383fe79a9c3416fa8efd11bf9bae7935c5b7a1f5e8a22a85336abf4ceecc50578f0c8e51310c09b2540831959652e |
24 |
|
25 |
diff --git a/dev-ruby/sass-rails/sass-rails-5.0.8.ebuild b/dev-ruby/sass-rails/sass-rails-5.0.8.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ab579a6f00b |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/sass-rails/sass-rails-5.0.8.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+USE_RUBY="ruby24 ruby25 ruby26" |
36 |
+ |
37 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
38 |
+ |
39 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
40 |
+ |
41 |
+inherit ruby-fakegem |
42 |
+ |
43 |
+DESCRIPTION="Official Ruby-on-Rails Integration with Sass" |
44 |
+HOMEPAGE="https://github.com/rails/sass-rails" |
45 |
+SRC_URI="https://github.com/rails/sass-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="$(ver_cut 1-2)" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
50 |
+ |
51 |
+IUSE="" |
52 |
+ |
53 |
+# Restrict tests for now since it is hard to set up the right |
54 |
+# environment with the correct ruby interpreter and Rails test |
55 |
+# application. |
56 |
+RESTRICT="test" |
57 |
+ |
58 |
+#ruby_add_bdepend "test? ( dev-ruby/sfl dev-ruby/bundler )" |
59 |
+ |
60 |
+ruby_add_rdepend ">=dev-ruby/sass-3.1:* =dev-ruby/sass-3*:* |
61 |
+ >=dev-ruby/railties-5.2.0 |
62 |
+ >=dev-ruby/sprockets-rails-2.0:* <dev-ruby/sprockets-rails-4:* |
63 |
+ >=dev-ruby/sprockets-2.8:* <dev-ruby/sprockets-4:* |
64 |
+ >=dev-ruby/tilt-1.1:* <dev-ruby/tilt-3:*" |
65 |
+ |
66 |
+each_ruby_test() { |
67 |
+ ${RUBY} -S bundle exec rake test || die |
68 |
+} |