diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-05-01 16:58:30 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-05-01 16:58:30 +0000 |
commit | dca9efb00ae75c38dd919b67496a741240e4d06f (patch) | |
tree | fc31d303d5a98e0aa3ab3c0efa054e50fc7d657d /dev-ruby/redcloth/files | |
parent | Avoid errors if RSpec is not installed. (diff) | |
download | gentoo-2-dca9efb00ae75c38dd919b67496a741240e4d06f.tar.gz gentoo-2-dca9efb00ae75c38dd919b67496a741240e4d06f.tar.bz2 gentoo-2-dca9efb00ae75c38dd919b67496a741240e4d06f.zip |
Version bump, avoid double-build, avoid forced rspec dependency.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/redcloth/files')
-rw-r--r-- | dev-ruby/redcloth/files/redcloth-4.2.3-gentoo.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-ruby/redcloth/files/redcloth-4.2.3-gentoo.patch b/dev-ruby/redcloth/files/redcloth-4.2.3-gentoo.patch new file mode 100644 index 000000000000..c8f70dd2b8f2 --- /dev/null +++ b/dev-ruby/redcloth/files/redcloth-4.2.3-gentoo.patch @@ -0,0 +1,22 @@ +diff --git a/Rakefile b/Rakefile +index fb71b42..f643cb1 100644 +--- a/Rakefile ++++ b/Rakefile +@@ -217,6 +217,7 @@ end + + #### Custom testing tasks + ++begin + require 'rubygems' + require 'spec/rake/spectask' + Rake::Task[:default].prerequisites.clear +@@ -241,6 +242,9 @@ task :ensure_diff_lcs do + end + end + end ++rescue LoadError ++ $stderr.puts "RSpec not found, tests won't be available. Please install rspec with gem install rspec" ++end + + task :remove_other_platforms do + Dir["lib/redcloth_scan.{bundle,so,jar,rb}"].each { |file| rm file } |