head 1.10; access; symbols pkgsrc-2017Q1:1.9.0.18 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.16 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.14 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.12 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.10 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.8 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.6 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.4 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.2 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.8.0.14 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.12 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.10 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.8 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.6 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.4 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.2 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.7.0.12 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.10 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.8 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.6 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.4 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.2 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.6.0.2 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.5.0.8 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.6 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.4 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.2 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.4.0.10 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.8 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.6 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.4 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.2 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.3.0.6 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.4 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.2 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.2.0.8 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.6 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.4 pkgsrc-2008Q1:1.2.0.2 pkgsrc-2008Q1-base:1.2; locks; strict; comment @# @; 1.10 date 2017.04.22.18.09.12; author taca; state dead; branches; next 1.9; commitid Iv1dxNi8sdQ5EyOz; 1.9 date 2015.01.25.16.13.13; author taca; state Exp; branches; next 1.8; commitid 0JNO4xTqRGEAhq7y; 1.8 date 2013.06.11.14.55.54; author taca; state Exp; branches; next 1.7; commitid SPp1wZYhjtGPVcTw; 1.7 date 2011.11.08.15.26.12; author taca; state Exp; branches; next 1.6; 1.6 date 2011.08.12.15.50.44; author taca; state Exp; branches; next 1.5; 1.5 date 2010.09.10.03.48.40; author taca; state Exp; branches; next 1.4; 1.4 date 2009.06.10.21.44.31; author minskim; state Exp; branches; next 1.3; 1.3 date 2008.09.15.08.43.44; author taca; state Exp; branches; next 1.2; 1.2 date 2008.03.31.15.40.43; author jlam; state Exp; branches; next 1.1; 1.1 date 2008.03.08.00.43.55; author jlam; state Exp; branches; next ; desc @@ 1.10 log @Remove rubygems package which is provided for ruby18 only. Other version of ruby2* pakcages have builtin rubygems. @ text @$NetBSD: patch-ac,v 1.9 2015/01/25 16:13:13 taca Exp $ Add install_root option for pkgsrc's rubygems support. --- lib/rubygems/install_update_options.rb.orig 2014-07-21 18:50:29.000000000 +0000 +++ lib/rubygems/install_update_options.rb @@@@ -36,6 +36,12 @@@@ module Gem::InstallUpdateOptions value end + add_option(:"Install/Update", '-B', '--install-root DIR', + 'Root directory for gem files on install') do |value, options| + options[:install_root] = File.expand_path(value) + Gem.ensure_gem_subdirectories File.join options[:install_root], Gem.dir + end + add_option(:"Install/Update", '-i', '--install-dir DIR', 'Gem repository directory to get installed', 'gems') do |value, options| @ 1.9 log @Update rubygems to 2.4.5 and make this package for ruby18 only. Changes are too many to write here, please refer rubygem's github: https://github.com/rubygems/rubygems/blob/master/History.txt. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.8 2013/06/11 14:55:54 taca Exp $ @ 1.8 log @Update rubygems to 2.0.3. THere are too many changes to write here, please refer these release notes. http://blog.rubygems.org/2013/03/11/2.0.3-released.html http://blog.rubygems.org/2013/03/06/2.0.2-released.html http://blog.rubygems.org/2013/03/05/2.0.1-released.html http://blog.rubygems.org/2013/02/24/2.0.0-released.html http://blog.rubygems.org/2013/02/08/2.0.0.rc.2-released.html http://blog.rubygems.org/2012/12/03/2.0.0-preview2.html @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2011/11/08 15:26:12 taca Exp $ d5 1 a5 1 --- lib/rubygems/install_update_options.rb.orig 2013-02-12 20:04:55.000000000 +0000 d7 1 a7 1 @@@@ -33,6 +33,12 @@@@ module Gem::InstallUpdateOptions @ 1.7 log @* Make --install-root change same as ruby193-base. * Don't generate .require_paths. It was only needed with Ruby 1.9.1 which had never supported by pkgsrc. * Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2011/08/12 15:50:44 taca Exp $ d5 1 a5 1 --- lib/rubygems/install_update_options.rb.orig 2011-08-26 00:30:44.000000000 +0000 d7 1 a7 1 @@@@ -32,6 +32,12 @@@@ module Gem::InstallUpdateOptions @ 1.6 log @Update rubygems package to 1.8.7 with adding compatibility to read older gemspec files. Changes are too may to write here, please refer History.txt file. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2010/09/10 03:48:40 taca Exp $ d5 1 a5 1 --- lib/rubygems/install_update_options.rb.orig 2011-05-18 22:23:53.000000000 +0000 d7 2 a8 2 @@@@ -44,6 +44,12 @@@@ module Gem::InstallUpdateOptions options[:bin_dir] = File.expand_path(value) d17 3 a19 3 add_option(:"Install/Update", '-d', '--[no-]rdoc', 'Generate RDoc documentation for the gem on', 'install') do |value, options| @ 1.5 log @* take maintainer ship. * Add LICENSE. * Adjust new ruby packages' framework. * Command name is gem${RUBY_VER} == gem18 now and add ALTERNATIVES. * Add comments to patches. * Overhalt --install_root option. * Avoid access HOME when --install_root is enabled. * honor PKG_SYSCONFDIR. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2009/06/10 21:44:31 minskim Exp $ d5 1 a5 1 --- lib/rubygems/install_update_options.rb.orig 2009-06-22 22:54:36.000000000 +0000 d7 1 a7 1 @@@@ -34,6 +34,12 @@@@ module Gem::InstallUpdateOptions @ 1.4 log @Update rubygems to 1.3.4. New features since 1.3.1: * RubyGems now loads plugins from rubygems_plugin.rb in installed gems. This can be used to add commands (See Gem::CommandManager) or add install/uninstall hooks (See Gem::Installer and Gem::Uninstaller). * Gem::Version now understands prerelease versions using letters. (eg. '1.2.1.b') Thanks to Josh Susser, Alex Vollmer and Phil Hagelberg. * RubyGems now includes a Rake task for creating gems which replaces rake's Rake::GemPackageTask. See Gem::PackageTask. * Gem::find_files now returns paths in $LOAD_PATH. * Added Gem::promote_load_path for use with Gem::find_files * Added Gem::bin_path to make finding executables easier. Patch #24114 by James Tucker. * Various improvements to build arguments for installing gems. * `gem contents` added --all and --no-prefix. * Gem::Specification * #validate strips directories and errors on not-files. * #description no longer removes newlines. * #name must be a String. * FIXME and TODO are no longer allowed in various fields. * Added support for a license attribute. Feature #11041 (partial). * Removed Gem::Specification::list, too much process growth. Bug #23668 by Steve Purcell. * `gem generate_index` * Can now generate an RSS feed. * Modern indicies can now be updated incrementally. * Legacy indicies can be updated separately from modern. * `gem server` allows port names (from /etc/services) with --port. * `gem server` now has search that jumps to RDoc. Patch #22959 by Vladimir Dobriakov. * `gem spec` can retrieve single fields from a spec (like `gem spec rake authors`). * Gem::Specification#has_rdoc= is deprecated and ignored (defaults to true) * RDoc is now generated regardless of Gem::Specification#has_rdoc? @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 --- lib/rubygems/install_update_options.rb.orig 2009-03-13 16:01:10.000000000 -0700 d11 1 a11 1 + add_option(:"Install", '-B', '--install-root DIR', @ 1.3 log @Update rubygems pacakge to 1.2.0. Release 1.2.0 adds new features and fixes some bugs. New features: * RubyGems no longer performs bulk updates and instead only fetches the gemspec files it needs. Alternate sources will need to upgrade to RubyGems 1.2 to allow RubyGems to take advantage of the new metadata updater. If a pre 1.2 remote source is in the sources list, RubyGems will revert to the bulk update code for compatibility. * RubyGems now has runtime and development dependency types. Use #add_development_dependency and #add_runtime_dependency. All typeless dependencies are considered to be runtime dependencies. * RubyGems will now require rubygems/defaults/operating_system.rb and rubygems/defaults/#{RBX_ENGINE}.rb if they exist. This allows packagers and ruby implementers to add custom behavior to RubyGems via these files. (If the RubyGems API is insufficient, please suggest improvements via the RubyGems list.) * /etc/gemrc (and windows equivalent) for global settings * setup.rb now handles --vendor and --destdir for packagers * `gem stale` command that lists gems by last access time Bugs Fixed: * File modes from gems are now honored, patch #19737 * Marshal Gem::Specification objects from the future can now be loaded. * A trailing / is now added to remote sources when missing, bug #20134 * Gems with legacy platforms will now be correctly uninstalled, patch #19877 * `gem install --no-wrappers` followed by `gem install --wrappers` no longer overwrites executables * `gem pristine` now forces reinstallation of gems, bug #20387 * RubyGems gracefully handles ^C while loading .gemspec files from disk, bug #20523 * Paths are expanded in more places, bug #19317, bug #19896 * Gem::DependencyInstaller resets installed gems every install, bug #19444 * Gem.default_path is now honored if GEM_PATH is not set, patch #19502 Other Changes Include: * setup.rb * stub files created by RubyGems 0.7.x and older are no longer removed. When upgrading from these ancient versions, upgrade to 1.1.x first to clean up stubs. * RDoc is no longer required until necessary, patch #20414 * `gem server` * Now completely matches the output of `gem generate_index` and has correct content types * Refreshes from source directories for every hit. The server will no longer need to be restarted after installing gems. * `gem query --details` and friends now display author, homepage, rubyforge url and installed location * `gem install` without -i no longer reinstalls dependencies if they are in GEM_PATH but not in GEM_HOME * Gem::RemoteFetcher now performs persistent connections for HEAD requests, bug #7973 @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2008/03/31 15:40:43 jlam Exp $ d3 1 a3 1 --- lib/rubygems/install_update_options.rb.orig 2008-05-07 11:15:51.000000000 +0900 d5 1 a5 1 @@@@ -31,6 +31,11 @@@@ module Gem::InstallUpdateOptions d12 1 @ 1.2 log @Update rubygems to 1.1.0. Changes from version 1.0.1 include: + Port patches to allow gems to be installed into an "installion root" from 1.0.1nb2. + Rename the --build-root option to --install-root, which more accurately reflects the purpose of the option. + Update rubygem.mk to work with rubygems-1.1.0. + Require 1.1.0 as the minimum rubygems version for the build. + Remove GEM_FORMAT and special code to extract the gemspec file from a gem archive -- `gem spec' can now do it correctly by itself. + Rename various *buildroot* targets to *install-root* to match the name of the `gem' option. * RubyGems now uses persistent connections on index updates and only updates from a latest index by default, cutting candidate gems for updates to roughly 1/4 (at present). Index updates are much faster now. * `gem list -r` may only show the latest version of a gem, add --all to see all gems. * `gem spec` now extracts specifications from .gem files. * `gem query --installed` to aid automation of checking for gems. This update has been tested with the 3 packages in pkgsrc that install using the ``gem'' command: devel/rubyforge misc/ruby-gem_plugin www/mongrel This update has also been tested with the 129 packages in my local tree that install using the ``gem'' command. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- lib/rubygems/install_update_options.rb.orig 2008-02-20 14:27:40.000000000 -0500 @ 1.1 log @+ Add patches by Marcus Rueckert for destdir-style installation of gems. Patches from the OpenSuSE rubygems-1.0.1 src rpm. + Support user-destdir installation. + Dynamically generate the entire portion of the PLIST that corresponds to the documentation generated by rubygem at install-time. Bump the PKGREVISION to 1. @ text @d3 1 a3 3 Patch by Marcus Rueckert for staged installation of gems. --- lib/rubygems/install_update_options.rb.orig 2007-12-12 18:36:15.000000000 -0500 d5 2 a6 2 @@@@ -25,6 +25,13 @@@@ module Gem::InstallUpdateOptions options[:install_dir] = File.expand_path(value) d9 3 a11 5 + add_option(:"Install", '-B', '--build-root DIR', + 'Temporary installation root. Useful for', + 'building packages. Do not use when installing', + 'remote gems.') do |value, options| + options[:build_root] = File.expand_path(value) @