From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/ffi/files: ffi-0.5.4-rakefile.patch |
Date: | Sun, 31 Jan 2010 14:35:48 |
Message-Id: | E1Nbatv-0003gd-3U@stork.gentoo.org |
1 | flameeyes 10/01/31 14:35:47 |
2 | |
3 | Added: ffi-0.5.4-rakefile.patch |
4 | Log: |
5 | Initial import of ffi gem for Ruby 1.8 and Ruby 1.9. This will be used by ffi-based extensions, supported by both MRI and JRuby. |
6 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-ruby/ffi/files/ffi-0.5.4-rakefile.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/files/ffi-0.5.4-rakefile.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/files/ffi-0.5.4-rakefile.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: ffi-0.5.4-rakefile.patch |
15 | =================================================================== |
16 | Index: ffi-ffi-57b5d81/Rakefile |
17 | =================================================================== |
18 | --- ffi-ffi-57b5d81.orig/Rakefile |
19 | +++ ffi-ffi-57b5d81/Rakefile |
20 | @@ -12,16 +12,7 @@ require 'date' |
21 | require 'fileutils' |
22 | require 'rbconfig' |
23 | |
24 | -begin |
25 | - require 'bones' |
26 | - Bones.setup |
27 | -rescue LoadError |
28 | - begin |
29 | - load 'tasks/setup.rb' |
30 | - rescue LoadError |
31 | - raise RuntimeError, '### please install the "bones" gem ###' |
32 | - end |
33 | -end |
34 | +load 'tasks/setup.rb' |
35 | |
36 | LIBEXT = case Config::CONFIG['host_os'].downcase |
37 | when /darwin/ |
38 | @@ -130,7 +121,7 @@ if RUBY_PLATFORM == "java" |
39 | sh %{#{Gem.ruby} -S spec #{Dir["spec/ffi/rbx/*_spec.rb"].join(" ")} -fs --color} |
40 | end |
41 | else |
42 | - TEST_DEPS.unshift :compile |
43 | +# TEST_DEPS.unshift :compile |
44 | desc "Run all specs" |
45 | task :specs => TEST_DEPS do |
46 | ENV["MRI_FFI"] = "1" |