Update to ruby-gems-1.3.5.

From Jeremy Evans. Thank you!
This commit is contained in:
bernd 2009-10-12 17:18:00 +00:00
parent 150b12074a
commit 0dd529a522
10 changed files with 691 additions and 571 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.16 2009/01/14 22:54:53 bernd Exp $
# $OpenBSD: Makefile,v 1.17 2009/10/12 17:18:00 bernd Exp $
COMMENT= package management framework for the Ruby language
V= 1.3.1
V= 1.3.5
DISTNAME= rubygems-$V
PKGNAME= ruby-gems-$V
CATEGORIES= devel

View File

@ -1,5 +1,5 @@
MD5 (rubygems-1.3.1.tgz) = oE7m9olwd8W3X1/R4TTFqQ==
RMD160 (rubygems-1.3.1.tgz) = iY8zv0msbSnYmAy0/q8wreASUkg=
SHA1 (rubygems-1.3.1.tgz) = ohrkZhRr/7KOzgXN29ztC5CMp08=
SHA256 (rubygems-1.3.1.tgz) = Nh8C6eO/G2Yl8OIUZVOxLDAD02M2ysulFBB0D1RKjTs=
SIZE (rubygems-1.3.1.tgz) = 263748
MD5 (rubygems-1.3.5.tgz) = bjFzNYmOc76rFWI83V+M/w==
RMD160 (rubygems-1.3.5.tgz) = LRfw3i04e9KgNJFst5UxEQ874ZY=
SHA1 (rubygems-1.3.5.tgz) = hUXyXQDHV6MQuHmiWA5W1gEvyYE=
SHA256 (rubygems-1.3.5.tgz) = wJKMwa5U3t+19XrTgpiCwfkOQrwXv1BJGqb5OpN1Rqw=
SIZE (rubygems-1.3.5.tgz) = 278469

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-lib_rubygems_commands_install_command_rb,v 1.3 2008/09/28 15:45:18 bernd Exp $
This is for GEM_SKIPDEPENDS in ruby.port.mk.
--- lib/rubygems/commands/install_command.rb.orig Thu Sep 11 01:54:41 2008
+++ lib/rubygems/commands/install_command.rb Sun Sep 28 14:22:33 2008
@@ -76,6 +76,8 @@ version is also installed.
:wrappers => options[:wrappers],
:bin_dir => options[:bin_dir],
:development => options[:development],
+ :skip_dependencies => options[:skip_dependencies],
+ :default_source_index => options[:default_source_index]
}
exit_code = 0

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-lib_rubygems_commands_setup_command_rb,v 1.1 2009/10/12 17:18:00 bernd Exp $
--- lib/rubygems/commands/setup_command.rb.orig Tue Sep 8 18:24:06 2009
+++ lib/rubygems/commands/setup_command.rb Tue Sep 8 18:24:45 2009
@@ -280,7 +280,7 @@ TEXT
lib_dir = Gem::ConfigMap[site_or_vendor]
bin_dir = Gem::ConfigMap[:bindir]
else
- lib_dir = File.join prefix, 'lib'
+ lib_dir = ENV['RUBYLIB']
bin_dir = File.join prefix, 'bin'
end
end

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_rubygems_config_file_rb,v 1.1 2008/09/28 15:45:18 bernd Exp $
--- lib/rubygems/config_file.rb.orig Wed Sep 17 18:21:42 2008
+++ lib/rubygems/config_file.rb Sat Sep 27 23:02:54 2008
@@ -41,7 +41,7 @@ class Gem::ConfigFile
$OpenBSD: patch-lib_rubygems_config_file_rb,v 1.2 2009/10/12 17:18:00 bernd Exp $
--- lib/rubygems/config_file.rb.orig Thu Jun 25 14:37:14 2009
+++ lib/rubygems/config_file.rb Tue Sep 8 18:20:58 2009
@@ -47,7 +47,7 @@ class Gem::ConfigFile
path.strip
rescue LoadError

View File

@ -1,20 +1,18 @@
$OpenBSD: patch-lib_rubygems_dependency_installer_rb,v 1.3 2008/09/28 15:45:18 bernd Exp $
$OpenBSD: patch-lib_rubygems_dependency_installer_rb,v 1.4 2009/10/12 17:18:00 bernd Exp $
This is for GEM_SKIPDEPENDS in ruby.port.mk.
--- lib/rubygems/dependency_installer.rb.orig Tue Aug 12 23:50:22 2008
+++ lib/rubygems/dependency_installer.rb Sun Sep 28 13:47:49 2008
@@ -21,7 +21,8 @@ class Gem::DependencyInstaller
:format_executable => false, # HACK dup
:ignore_dependencies => false,
--- lib/rubygems/dependency_installer.rb.orig Mon Jun 22 15:54:36 2009
+++ lib/rubygems/dependency_installer.rb Tue Sep 8 18:26:36 2009
@@ -23,6 +23,7 @@ class Gem::DependencyInstaller
:prerelease => false,
:security_policy => nil, # HACK NoSecurity requires OpenSSL. AlmostNo? Low?
- :wrappers => true
+ :wrappers => true,
:wrappers => true,
+ :skip_dependencies => false
}
##
@@ -42,7 +43,7 @@ class Gem::DependencyInstaller
@@ -44,7 +45,7 @@ class Gem::DependencyInstaller
# :wrappers:: See Gem::Installer::new
def initialize(options = {})
@ -23,7 +21,7 @@ This is for GEM_SKIPDEPENDS in ruby.port.mk.
spec_dir = options[:install_dir], 'specifications'
@source_index = Gem::SourceIndex.from_gems_in spec_dir
else
@@ -61,6 +62,7 @@ class Gem::DependencyInstaller
@@ -64,6 +65,7 @@ class Gem::DependencyInstaller
@security_policy = options[:security_policy]
@user_install = options[:user_install]
@wrappers = options[:wrappers]
@ -31,7 +29,7 @@ This is for GEM_SKIPDEPENDS in ruby.port.mk.
@installed_gems = []
@@ -244,7 +246,8 @@ class Gem::DependencyInstaller
@@ -247,7 +249,8 @@ class Gem::DependencyInstaller
:security_policy => @security_policy,
:source_index => @source_index,
:user_install => @user_install,

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-lib_rubygems_install_update_options_rb,v 1.3 2008/09/28 15:45:18 bernd Exp $
$OpenBSD: patch-lib_rubygems_install_update_options_rb,v 1.4 2009/10/12 17:18:00 bernd Exp $
This is for GEM_SKIPDEPENDS in ruby.port.mk.
--- lib/rubygems/install_update_options.rb.orig Tue Jun 24 20:56:30 2008
+++ lib/rubygems/install_update_options.rb Sun Sep 28 13:46:26 2008
@@ -102,6 +102,16 @@ module Gem::InstallUpdateOptions
"dependencies") do |value, options|
options[:development] = true
--- lib/rubygems/install_update_options.rb.orig Mon Jun 22 15:54:36 2009
+++ lib/rubygems/install_update_options.rb Tue Sep 8 18:20:58 2009
@@ -112,6 +112,16 @@ module Gem::InstallUpdateOptions
"prereleases.") do |value, options|
options[:prerelease] = true
end
+
+ add_option(:"Install/Update", '-S', '--skip-dependencies DEPENDENCIES',
@ -20,4 +20,4 @@ This is for GEM_SKIPDEPENDS in ruby.port.mk.
+ end
end
# Default options for the gem install command.
##

View File

@ -1,18 +1,18 @@
$OpenBSD: patch-lib_rubygems_installer_rb,v 1.7 2008/09/28 15:45:18 bernd Exp $
$OpenBSD: patch-lib_rubygems_installer_rb,v 1.8 2009/10/12 17:18:00 bernd Exp $
This is for GEM_SKIPDEPENDS in ruby.port.mk.
--- lib/rubygems/installer.rb.orig Tue Sep 23 06:01:38 2008
+++ lib/rubygems/installer.rb Sat Sep 27 23:05:48 2008
@@ -109,6 +109,7 @@ class Gem::Installer
@bin_dir = options[:bin_dir]
@development = options[:development]
@source_index = options[:source_index]
+ @skip_dependencies = options[:skip_dependencies]
--- lib/rubygems/installer.rb.orig Mon Jun 22 15:54:36 2009
+++ lib/rubygems/installer.rb Tue Sep 8 18:23:08 2009
@@ -114,6 +114,7 @@ class Gem::Installer
@bin_dir = options[:bin_dir]
@development = options[:development]
@source_index = options[:source_index]
+ @skip_dependencies = options[:skip_dependencies]
begin
@format = Gem::Format.from_file_by_path @gem, @security_policy
@@ -194,7 +195,12 @@ class Gem::Installer
@@ -199,7 +200,12 @@ class Gem::Installer
deps |= @spec.development_dependencies if @development
deps.each do |dep_gem|

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-setup_rb,v 1.3 2008/09/28 15:45:18 bernd Exp $
--- setup.rb.orig Fri Jul 11 10:08:08 2008
+++ setup.rb Sat Sep 27 23:02:54 2008
@@ -131,7 +131,7 @@ else
lib_dir = Gem::ConfigMap[site_or_vendor]
bin_dir = Gem::ConfigMap[:bindir]
else
- lib_dir = File.join prefix, 'lib'
+ lib_dir = ENV['RUBYLIB']
bin_dir = File.join prefix, 'bin'
end
end

File diff suppressed because it is too large Load Diff