1 |
commit: e1c394bed38306099ab27edf57e69188cbcc32f8 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 05:40:33 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 05:44:33 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c394be |
7 |
|
8 |
dev-ruby/coffee-rails: add proper gemspec, fixing bug 595370 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-ruby/coffee-rails/coffee-rails-4.1.1-r2.ebuild | 35 ++++++++++++++++++++++ |
13 |
dev-ruby/coffee-rails/coffee-rails-4.2.1-r2.ebuild | 35 ++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/coffee-rails/coffee-rails-4.1.1-r2.ebuild b/dev-ruby/coffee-rails/coffee-rails-4.1.1-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000..45c322f |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/coffee-rails/coffee-rails-4.1.1-r2.ebuild |
21 |
@@ -0,0 +1,35 @@ |
22 |
+# Copyright 1999-2016 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=5 |
27 |
+USE_RUBY="ruby20 ruby21 ruby22" |
28 |
+ |
29 |
+RUBY_FAKEGEM_TASK_DOC="" |
30 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
31 |
+ |
32 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
33 |
+ |
34 |
+inherit ruby-fakegem versionator |
35 |
+ |
36 |
+DESCRIPTION="Coffee Script adapter for the Rails asset pipeline" |
37 |
+HOMEPAGE="https://github.com/rails/coffee-rails" |
38 |
+SRC_URI="https://github.com/rails/coffee-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="MIT" |
41 |
+SLOT="$(get_version_component_range 1-2)" |
42 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux" |
43 |
+ |
44 |
+IUSE="" |
45 |
+ |
46 |
+ruby_add_rdepend ">=dev-ruby/coffee-script-2.2.0 |
47 |
+ >dev-ruby/railties-4:* <dev-ruby/railties-5.1:*" |
48 |
+ |
49 |
+all_ruby_prepare() { |
50 |
+ # Avoid dependency on git and bundler. |
51 |
+ sed -i -e 's/git ls-files/echo/' \ |
52 |
+ -e '/bundler/I s:^:#:' Rakefile || die |
53 |
+ |
54 |
+ # Make sure a consistent rails version is loaded. |
55 |
+ sed -i -e '4igem "rails"' -e '/bundler/ s:^:#:' test/test_helper.rb || die |
56 |
+} |
57 |
|
58 |
diff --git a/dev-ruby/coffee-rails/coffee-rails-4.2.1-r2.ebuild b/dev-ruby/coffee-rails/coffee-rails-4.2.1-r2.ebuild |
59 |
new file mode 100644 |
60 |
index 00000000..e5d4b0f |
61 |
--- /dev/null |
62 |
+++ b/dev-ruby/coffee-rails/coffee-rails-4.2.1-r2.ebuild |
63 |
@@ -0,0 +1,35 @@ |
64 |
+# Copyright 1999-2016 Gentoo Foundation |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+# $Id$ |
67 |
+ |
68 |
+EAPI=5 |
69 |
+USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
70 |
+ |
71 |
+RUBY_FAKEGEM_TASK_DOC="" |
72 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
73 |
+ |
74 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
75 |
+ |
76 |
+inherit ruby-fakegem versionator |
77 |
+ |
78 |
+DESCRIPTION="Coffee Script adapter for the Rails asset pipeline" |
79 |
+HOMEPAGE="https://github.com/rails/coffee-rails" |
80 |
+SRC_URI="https://github.com/rails/coffee-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
81 |
+ |
82 |
+LICENSE="MIT" |
83 |
+SLOT="$(get_version_component_range 1-2)" |
84 |
+KEYWORDS="~amd64 ~arm ~amd64-linux" |
85 |
+ |
86 |
+IUSE="" |
87 |
+ |
88 |
+ruby_add_rdepend ">=dev-ruby/coffee-script-2.2.0 |
89 |
+ >dev-ruby/railties-4:* <dev-ruby/railties-5.2:*" |
90 |
+ |
91 |
+all_ruby_prepare() { |
92 |
+ # Avoid dependency on git and bundler. |
93 |
+ sed -i -e 's/git ls-files/echo/' \ |
94 |
+ -e '/bundler/I s:^:#:' Rakefile || die |
95 |
+ |
96 |
+ # Make sure a consistent rails version is loaded. |
97 |
+ sed -i -e '4igem "rails"' -e '/bundler/ s:^:#:' test/test_helper.rb || die |
98 |
+} |