summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2007-11-04 07:48:02 +0000
committerHans de Graaff <graaff@gentoo.org>2007-11-04 07:48:02 +0000
commitf14008e16d2b8aaec36f0e6bcfb45552eca09906 (patch)
tree733ab1759fca5a52a2a3eeba3406ebe223179d35 /dev-ruby/rubygems/files
parentVersion bump with minor bug fix (diff)
downloadgentoo-2-f14008e16d2b8aaec36f0e6bcfb45552eca09906.tar.gz
gentoo-2-f14008e16d2b8aaec36f0e6bcfb45552eca09906.tar.bz2
gentoo-2-f14008e16d2b8aaec36f0e6bcfb45552eca09906.zip
Remove old version
(Portage version: 2.1.3.16)
Diffstat (limited to 'dev-ruby/rubygems/files')
-rw-r--r--dev-ruby/rubygems/files/digest-rubygems-0.9.0-r23
-rw-r--r--dev-ruby/rubygems/files/rubygems-0.9.0-build-c-extensions.patch104
-rw-r--r--dev-ruby/rubygems/files/rubygems-0.9.0-build-from-yaml.patch12
3 files changed, 0 insertions, 119 deletions
diff --git a/dev-ruby/rubygems/files/digest-rubygems-0.9.0-r2 b/dev-ruby/rubygems/files/digest-rubygems-0.9.0-r2
deleted file mode 100644
index 5b13f741f2b3..000000000000
--- a/dev-ruby/rubygems/files/digest-rubygems-0.9.0-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 5d496e1f415b8b4033ab867f01d1161f rubygems-0.9.0.tgz 174321
-RMD160 7d2a4ec1a615f608e75c68ee346d957efbb34ed1 rubygems-0.9.0.tgz 174321
-SHA256 6e90baff5ec951939ffcec569b9e1829e46da56cd320b1de1c8e2f5be828fef0 rubygems-0.9.0.tgz 174321
diff --git a/dev-ruby/rubygems/files/rubygems-0.9.0-build-c-extensions.patch b/dev-ruby/rubygems/files/rubygems-0.9.0-build-c-extensions.patch
deleted file mode 100644
index 5ab58723d8ad..000000000000
--- a/dev-ruby/rubygems/files/rubygems-0.9.0-build-c-extensions.patch
+++ /dev/null
@@ -1,104 +0,0 @@
---- trunk/lib/rubygems/installer.rb 2006/08/10 18:06:59 1060
-+++ trunk/lib/rubygems/installer.rb 2006/08/10 18:15:28 1062
-@@ -292,9 +292,12 @@
- say "Building native extensions. This could take a while..."
- start_dir = Dir.pwd
- dest_path = File.join(directory, spec.require_paths[0])
-+ ran_rake = false # only run rake once
-
-- results = []
- spec.extensions.each do |extension|
-+ break if ran_rake
-+ results = []
-+
- case extension
- when /extconf/ then
- builder = ExtExtConfBuilder
-@@ -302,6 +305,7 @@
- builder = ExtConfigureBuilder
- when /rakefile/i then
- builder = ExtRakeBuilder
-+ ran_rake = true
- else
- builder = nil
- results = ["No builder for extension '#{extension}'"]
-@@ -310,7 +314,7 @@
- begin
- err = false
- Dir.chdir File.join(directory, File.dirname(extension))
-- results = builder.build(extension, directory, dest_path)
-+ results = builder.build(extension, directory, dest_path, results)
- rescue => ex
- err = true
- end
-@@ -551,29 +555,27 @@
- end # class Uninstaller
-
- class ExtConfigureBuilder
-- def self.build(extension, directory, dest_path)
-- results = []
-+ def self.build(extension, directory, dest_path, results)
- unless File.exist?('Makefile') then
- cmd = "sh ./configure --prefix=#{dest_path}"
- results << cmd
- results << `#{cmd}`
- end
-
-- results.push(*ExtExtConfBuilder.make(dest_path))
-+ ExtExtConfBuilder.make(dest_path, results)
- results
- end
- end
-
- class ExtExtConfBuilder
-- def self.build(extension, directory, dest_path)
-- results = ["#{Gem.ruby} #{File.basename(extension)} #{ARGV.join(" ")}"]
-+ def self.build(extension, directory, dest_path, results)
-+ results << "#{Gem.ruby} #{File.basename(extension)} #{ARGV.join(" ")}"
- results << `#{Gem.ruby} #{File.basename(extension)} #{ARGV.join(" ")}`
-- results.push(*make(dest_path))
-+ make(dest_path, results)
- results
- end
-
-- def self.make(dest_path)
-- results = []
-+ def self.make(dest_path, results)
- raise unless File.exist?('Makefile')
- mf = File.read('Makefile')
- mf = mf.gsub(/^RUBYARCHDIR\s*=\s*\$[^$]*/, "RUBYARCHDIR = #{dest_path}")
-@@ -585,27 +587,25 @@
- make_program = (/mswin/ =~ RUBY_PLATFORM) ? 'nmake' : 'make'
- end
-
-- ['', 'install', 'clean'].each do |target|
-+ ['', 'install'].each do |target|
- results << "#{make_program} #{target}".strip
- results << `#{make_program} #{target}`
-- end
-
-- results
-+ raise unless $?.exitstatus.zero?
-+ end
- end
-
- end
-
- class ExtRakeBuilder
-- def ExtRakeBuilder.build(ext, directory, dest_path)
-+ def ExtRakeBuilder.build(ext, directory, dest_path, results)
- make_program = ENV['rake'] || 'rake'
- make_program += " RUBYARCHDIR=#{dest_path} RUBYLIBDIR=#{dest_path}"
-
-- results = []
-+ results << "#{make_program} extension".strip
-+ results << `#{make_program} extension`
-
-- ['', 'install', 'clean'].each do |target|
-- results << "#{make_program} #{target}".strip
-- results << `#{make_program} #{target}`
-- end
-+ raise unless $?.exitstatus.zero?
-
- results
- end
diff --git a/dev-ruby/rubygems/files/rubygems-0.9.0-build-from-yaml.patch b/dev-ruby/rubygems/files/rubygems-0.9.0-build-from-yaml.patch
deleted file mode 100644
index 62f09b38687a..000000000000
--- a/dev-ruby/rubygems/files/rubygems-0.9.0-build-from-yaml.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur rubygems-0.9.0/lib/rubygems/specification.rb rubygems-0.9.0.new/lib/rubygems/specification.rb
---- rubygems-0.9.0/lib/rubygems/specification.rb 2006-06-27 01:46:30.000000000 +0700
-+++ rubygems-0.9.0.new/lib/rubygems/specification.rb 2006-12-16 21:27:10.000000000 +0700
-@@ -412,7 +412,7 @@
- def Specification.from_yaml(input)
- input = normalize_yaml_input(input)
- spec = YAML.load(input)
-- if(spec.class == FalseClass) then
-+ if(spec.nil? || spec.class == FalseClass) then
- raise Gem::EndOfYAMLException
- end
- unless Specification === spec