summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-02-09 18:12:36 +0000
committerHans de Graaff <graaff@gentoo.org>2010-02-09 18:12:36 +0000
commit6ace71afa1ab49a6013ffab136f62252308a8304 (patch)
tree7210925577d4ce0c85338a1555e7a0241fc17414 /dev-ruby/oniguruma/files
parentAutomated update of use.local.desc (diff)
downloadhistorical-6ace71afa1ab49a6013ffab136f62252308a8304.tar.gz
historical-6ace71afa1ab49a6013ffab136f62252308a8304.tar.bz2
historical-6ace71afa1ab49a6013ffab136f62252308a8304.zip
Convert to ruby-fakegem.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/oniguruma/files')
-rw-r--r--dev-ruby/oniguruma/files/oniguruma-1.1.0-unmonkey.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/oniguruma/files/oniguruma-1.1.0-unmonkey.patch b/dev-ruby/oniguruma/files/oniguruma-1.1.0-unmonkey.patch
new file mode 100644
index 000000000000..45340adc0071
--- /dev/null
+++ b/dev-ruby/oniguruma/files/oniguruma-1.1.0-unmonkey.patch
@@ -0,0 +1,34 @@
+--- Rakefile.~1~ 2010-02-09 18:58:29.879967846 +0100
++++ Rakefile 2010-02-09 19:00:19.247218285 +0100
+@@ -1,23 +1,6 @@
+ require 'rubygems'
+ require 'hoe'
+
+-class Hoe
+- # Dirty hack to eliminate Hoe from gem dependencies
+- def extra_deps
+- @extra_deps.delete_if{ |x| x.first == 'hoe' }
+- end
+-
+- # Dirty hack to package only the required files per platform
+- def spec= s
+- if ENV['PLATFORM'] =~ /win32/
+- s.files = s.files.reject! {|f| f =~ /extconf\.rb/}
+- else
+- s.files = s.files.reject! {|f| f =~ /win\//}
+- end
+- @spec = s
+- end
+-end
+-
+ version = /^== *(\d+\.\d+\.\d+)/.match( File.read( 'History.txt' ) )[1]
+
+ Hoe.new('oniguruma', version) do |p|
+@@ -34,7 +17,6 @@
+ else
+ p.spec_extras[:extensions] = ["ext/extconf.rb"]
+ end
+- p.rdoc_pattern = /^(lib|bin|ext)|txt$/
+ p.changes = p.paragraphs_of('History.txt', 0).join("\n\n")
+ end
+