summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-01 16:58:30 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-01 16:58:30 +0000
commit1d8bf5d51ea769c653cc682913d4917fca81b6fb (patch)
tree4ecf7fb978c15119e247e7eb1264309d9f7d4ebf /dev-ruby/redcloth/files
parentAvoid errors if RSpec is not installed. (diff)
downloadhistorical-1d8bf5d51ea769c653cc682913d4917fca81b6fb.tar.gz
historical-1d8bf5d51ea769c653cc682913d4917fca81b6fb.tar.bz2
historical-1d8bf5d51ea769c653cc682913d4917fca81b6fb.zip
Version bump, avoid double-build, avoid forced rspec dependency.
Package-Manager: portage-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.patch22
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 }