1 |
commit: a244abb91c9015549b3d114222e8a7c098b0ee3e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 5 06:53:19 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 5 06:53:19 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a244abb9 |
7 |
|
8 |
dev-ruby/rake-compiler: add 0.9.6 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-ruby/rake-compiler/Manifest | 1 + |
13 |
dev-ruby/rake-compiler/rake-compiler-0.9.6.ebuild | 62 +++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest |
17 |
index 59f56e4..6bcb01c 100644 |
18 |
--- a/dev-ruby/rake-compiler/Manifest |
19 |
+++ b/dev-ruby/rake-compiler/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST rake-compiler-0.9.2.tar.gz 30778 SHA256 72ced9a0ca9a034506de279e888fdec63d542d788ee1d2e7910f1bfd71c82dd3 SHA512 883157bf44540cd021bec22a84e907922756f74a61e84c62e51eed752da01d217a03aebd88582fbe779210116e7ab1a36023707fbdae445b5ac4499c7de9b8eb WHIRLPOOL 79b21689e08ac21005243a2f18bde0941c3a86bdd3bf36bf557d3c706cb64fcb379f2d3fd06c93d3c07f10e8c1e47c75933ba783cc23b57137d9fce6c3e7de78 |
22 |
DIST rake-compiler-0.9.5.tar.gz 31727 SHA256 c3ddd7cb4003d4116aef89313d4bf6ad338ea1c6e0552825c78a6109e80e931e SHA512 ce40ac3d57458e7369d3bf2c7cc033911775d6afee85867a96ea95f564cf9b294d4f1030530f547f27a0834ba4b33121abeb33a2f6b7a2d02346311ed11759b5 WHIRLPOOL df94ce4ce7e3842f4585f66c25422f59c03cf851cc596da9d35aac34cf6d79c615245ffe642116cd655454a8192b3985ca9d4db442d33894155191ab1f095038 |
23 |
+DIST rake-compiler-0.9.6.tar.gz 32261 SHA256 81fca307339b8232ebc672017cedbd0603e04ed96e9340e9517c92e7bf9e0ee4 SHA512 3a91f972b4355e5d578693a1e5daa874524207c3bb5f7abc234b39e33f9a3cf3c1161d45edb90656bf81154297b7d4a5faeddfa42fac4b989c16d2db71e4f9f9 WHIRLPOOL 02384e2b8ad7b1e5df596b7a12adf685b5bef9765c0cf1c2eb14ac32dee9c9b8764f97383c31f9268520215ae0b667357430173f1a9c3958b859dc699f3012ab |
24 |
|
25 |
diff --git a/dev-ruby/rake-compiler/rake-compiler-0.9.6.ebuild b/dev-ruby/rake-compiler/rake-compiler-0.9.6.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..59f00b3 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/rake-compiler/rake-compiler-0.9.6.ebuild |
30 |
@@ -0,0 +1,62 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+USE_RUBY="ruby20 ruby21 ruby22" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="none" |
39 |
+ |
40 |
+RUBY_FAKEGEM_TASK_DOC="" |
41 |
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" |
42 |
+ |
43 |
+inherit ruby-fakegem eutils |
44 |
+ |
45 |
+DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions" |
46 |
+HOMEPAGE="https://github.com/luislavena/rake-compiler" |
47 |
+LICENSE="MIT" |
48 |
+ |
49 |
+SRC_URI="https://github.com/luislavena/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
52 |
+SLOT="0" |
53 |
+IUSE="" |
54 |
+ |
55 |
+ruby_add_rdepend "dev-ruby/rake" |
56 |
+ |
57 |
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" |
58 |
+ |
59 |
+USE_RUBY="ruby20 ruby21" ruby_add_bdepend "test? ( dev-util/cucumber )" |
60 |
+ |
61 |
+all_ruby_prepare() { |
62 |
+ # Make sure the right rspec version is used in cucumber. |
63 |
+ sed -i -e "1igem 'rspec', '~>2.0'" features/support/env.rb || die |
64 |
+} |
65 |
+ |
66 |
+each_ruby_prepare() { |
67 |
+ case ${RUBY} in |
68 |
+ *ruby19) |
69 |
+ # Remove this task so that it won't load on Ruby 1.9 |
70 |
+ # that lack the package_task file. It is, though, needed for the |
71 |
+ # tests |
72 |
+ rm tasks/gem.rake || die |
73 |
+ # Remove specs aimed at a C-compiling ruby implementation. |
74 |
+ rm spec/lib/rake/extensiontask_spec.rb || die |
75 |
+ ;; |
76 |
+ *) |
77 |
+ ;; |
78 |
+ esac |
79 |
+} |
80 |
+ |
81 |
+each_ruby_test() { |
82 |
+ # Skip cucumber for ruby22 (not ready yet) |
83 |
+ case ${RUBY} in |
84 |
+ *ruby20|*ruby21) |
85 |
+ ruby-ng_rspec |
86 |
+ ruby-ng_cucumber |
87 |
+ ;; |
88 |
+ *) |
89 |
+ ruby-ng_rspec |
90 |
+ ;; |
91 |
+ esac |
92 |
+} |