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