diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-14 21:33:04 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-14 21:33:04 +0000 |
commit | cd373b1cdc6f1519f4fb5c302269b0f2ee2310ac (patch) | |
tree | 5d8dff9ae135e66594f6c2d8b8ba201ea6386895 /devel | |
parent | 7300d393c1a35fc1c38997ee8ba4c4a2d0384fdd (diff) | |
download | pkgsrc-cd373b1cdc6f1519f4fb5c302269b0f2ee2310ac.tar.gz |
Update devel/ruby-debug to version 0.10.1. Changes from version 0.10.0
include:
Makefile:
+ Use a different method for setting the RUBY_DEBUG_VERSION in the
Rakefile. We create a file at post-extract time that holds the
version number and just directly read it within the Rakefile.
patch-aa:
+ Read the VERSION file in the source directory to set RUBY_DEBUG_VERSION
used in the specifications file.
+ Drop changes that manipulated the file list for the ruby-debug-base
package. We already only build the CLI package, so the change is
unnecessary.
ruby-debug changes:
* "rdebug --post-mortem" now really catches uncaught exceptions and
brings you to post-mortem handling. "info program" shows the exception.
* Use ~/.rdboptrc (rdbopt.ini on MS Windows) to change default options.
* Expanded "info" command
* "frame" command now accepts an optional thread number argument
* add "var cl[ass]" command. Note "var const" can no longer be
abbreviated "var c"; use "var co" (or const or constant).
* add "condition" command. Allow removal of condition.
* rdebug command history can be displayed with "show commands". Fix a bug
in history saving.
* INCOMPATIBLE CHANGE: "finish" works like gdb - stop just before the most
recent method finishes. Will now accept a number which stops that many
frames completed. (Note that return line numbers will be funny, the
first line of the method until Ruby 1.8.7.)
* fix bug in 'list' command when wrapping off the end.
* Emacs interaction drastically reworked, expanded, and improved.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-debug/Makefile | 11 | ||||
-rw-r--r-- | devel/ruby-debug/PLIST | 140 | ||||
-rw-r--r-- | devel/ruby-debug/distinfo | 10 | ||||
-rw-r--r-- | devel/ruby-debug/patches/patch-aa | 46 |
4 files changed, 142 insertions, 65 deletions
diff --git a/devel/ruby-debug/Makefile b/devel/ruby-debug/Makefile index 0aa21757de6..595c5e7917d 100644 --- a/devel/ruby-debug/Makefile +++ b/devel/ruby-debug/Makefile @@ -1,15 +1,18 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/04/06 23:03:58 seb Exp $ +# $NetBSD: Makefile,v 1.2 2008/04/14 21:33:04 jlam Exp $ -DISTNAME= ruby-debug-0.10.0 +DISTNAME= ruby-debug-0.10.1 PKGNAME= ${RUBYGEM_PKGPREFIX}-${DISTNAME} -#PKGREVISION= 1 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.datanoise.com/ruby-debug/ COMMENT= Command line interface for ruby-debug -DEPENDS+= ${RUBY_PKGPREFIX}-ruby-debug-base-0.10.0{,nb[0-9]*}:../../devel/ruby-debug-base +DEPENDS+= ${RUBY_PKGPREFIX}-columnize>=0.1:../../misc/ruby-columnize +DEPENDS+= ${RUBY_PKGPREFIX}-ruby-debug-base-0.10.1{,nb[0-9]*}:../../devel/ruby-debug-base + +post-extract: + cd ${WRKSRC} && echo ${PKGVERSION_NOREV} > VERSION .include "../../misc/rubygems/rubygem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-debug/PLIST b/devel/ruby-debug/PLIST index b7be850d8fb..fed799b6867 100644 --- a/devel/ruby-debug/PLIST +++ b/devel/ruby-debug/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/06 23:03:58 seb Exp $ +@comment $NetBSD: PLIST,v 1.2 2008/04/14 21:33:04 jlam Exp $ bin/rdebug -${GEM_HOME}/cache/ruby-debug-0.10.0.gem +${GEM_HOME}/cache/ruby-debug-${PKGVERSION}.gem ${GEM_LIBDIR}/.require_paths ${GEM_LIBDIR}/AUTHORS ${GEM_LIBDIR}/CHANGES @@ -8,24 +8,33 @@ ${GEM_LIBDIR}/ChangeLog ${GEM_LIBDIR}/LICENSE ${GEM_LIBDIR}/README ${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/VERSION ${GEM_LIBDIR}/bin/rdebug ${GEM_LIBDIR}/cli/ruby-debug.rb ${GEM_LIBDIR}/cli/ruby-debug/command.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/breakpoints.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/catchpoint.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/condition.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/continue.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/control.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/disassemble.RB ${GEM_LIBDIR}/cli/ruby-debug/commands/display.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/edit.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/enable.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/eval.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/finish.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/frame.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/help.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/info.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/irb.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/list.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/method.rb -${GEM_LIBDIR}/cli/ruby-debug/commands/script.rb -${GEM_LIBDIR}/cli/ruby-debug/commands/settings.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/quit.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/reload.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/save.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/set.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/show.rb +${GEM_LIBDIR}/cli/ruby-debug/commands/source.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/stepping.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/threads.rb ${GEM_LIBDIR}/cli/ruby-debug/commands/tmate.rb @@ -36,41 +45,120 @@ ${GEM_LIBDIR}/cli/ruby-debug/helper.rb ${GEM_LIBDIR}/cli/ruby-debug/interface.rb ${GEM_LIBDIR}/cli/ruby-debug/processor.rb ${GEM_LIBDIR}/doc/rdebug.1 -${GEM_LIBDIR}/runner.sh -${GEM_LIBDIR}/test/breakpoints.cmd -${GEM_LIBDIR}/test/breakpoints.right -${GEM_LIBDIR}/test/display.cmd -${GEM_LIBDIR}/test/display.right -${GEM_LIBDIR}/test/frame.cmd -${GEM_LIBDIR}/test/frame.right +${GEM_LIBDIR}/rdbg.rb +${GEM_LIBDIR}/test/base/base.rb +${GEM_LIBDIR}/test/base/binding.rb +${GEM_LIBDIR}/test/base/catchpoint.rb +${GEM_LIBDIR}/test/base/load.rb +${GEM_LIBDIR}/test/data/annotate.cmd +${GEM_LIBDIR}/test/data/annotate.right +${GEM_LIBDIR}/test/data/break_bad.cmd +${GEM_LIBDIR}/test/data/break_bad.right +${GEM_LIBDIR}/test/data/breakpoints.cmd +${GEM_LIBDIR}/test/data/breakpoints.right +${GEM_LIBDIR}/test/data/condition.cmd +${GEM_LIBDIR}/test/data/condition.right +${GEM_LIBDIR}/test/data/ctrl.cmd +${GEM_LIBDIR}/test/data/ctrl.right +${GEM_LIBDIR}/test/data/display.cmd +${GEM_LIBDIR}/test/data/display.right +${GEM_LIBDIR}/test/data/dollar-0.right +${GEM_LIBDIR}/test/data/dollar-0a.right +${GEM_LIBDIR}/test/data/dollar-0b.right +${GEM_LIBDIR}/test/data/edit.cmd +${GEM_LIBDIR}/test/data/edit.right +${GEM_LIBDIR}/test/data/emacs_basic.cmd +${GEM_LIBDIR}/test/data/emacs_basic.right +${GEM_LIBDIR}/test/data/enable.cmd +${GEM_LIBDIR}/test/data/enable.right +${GEM_LIBDIR}/test/data/finish.cmd +${GEM_LIBDIR}/test/data/finish.right +${GEM_LIBDIR}/test/data/frame.cmd +${GEM_LIBDIR}/test/data/frame.right +${GEM_LIBDIR}/test/data/help.cmd +${GEM_LIBDIR}/test/data/help.right +${GEM_LIBDIR}/test/data/history.right +${GEM_LIBDIR}/test/data/info-thread.cmd +${GEM_LIBDIR}/test/data/info-thread.right +${GEM_LIBDIR}/test/data/info-var-bug2.cmd +${GEM_LIBDIR}/test/data/info-var-bug2.right +${GEM_LIBDIR}/test/data/info-var.cmd +${GEM_LIBDIR}/test/data/info-var.right +${GEM_LIBDIR}/test/data/info.cmd +${GEM_LIBDIR}/test/data/info.right +${GEM_LIBDIR}/test/data/linetrace.cmd +${GEM_LIBDIR}/test/data/linetrace.right +${GEM_LIBDIR}/test/data/linetracep.cmd +${GEM_LIBDIR}/test/data/linetracep.right +${GEM_LIBDIR}/test/data/list.cmd +${GEM_LIBDIR}/test/data/list.right +${GEM_LIBDIR}/test/data/noquit.right +${GEM_LIBDIR}/test/data/output.cmd +${GEM_LIBDIR}/test/data/output.right +${GEM_LIBDIR}/test/data/post-mortem-next.cmd +${GEM_LIBDIR}/test/data/post-mortem-next.right +${GEM_LIBDIR}/test/data/post-mortem-osx.right +${GEM_LIBDIR}/test/data/post-mortem.cmd +${GEM_LIBDIR}/test/data/post-mortem.right +${GEM_LIBDIR}/test/data/quit.cmd +${GEM_LIBDIR}/test/data/quit.right +${GEM_LIBDIR}/test/data/raise.cmd +${GEM_LIBDIR}/test/data/raise.right +${GEM_LIBDIR}/test/data/setshow.cmd +${GEM_LIBDIR}/test/data/setshow.right +${GEM_LIBDIR}/test/data/source.cmd +${GEM_LIBDIR}/test/data/source.right +${GEM_LIBDIR}/test/data/stepping.cmd +${GEM_LIBDIR}/test/data/stepping.right +${GEM_LIBDIR}/test/data/test-init-cygwin.right +${GEM_LIBDIR}/test/data/test-init-osx.right +${GEM_LIBDIR}/test/data/test-init.right +${GEM_LIBDIR}/test/data/trace.right +${GEM_LIBDIR}/test/dollar-0.rb +${GEM_LIBDIR}/test/except-bug2.rb +${GEM_LIBDIR}/test/gcd-dbg-nox.rb +${GEM_LIBDIR}/test/gcd-dbg.rb ${GEM_LIBDIR}/test/gcd.rb -${GEM_LIBDIR}/test/help.cmd -${GEM_LIBDIR}/test/help.right ${GEM_LIBDIR}/test/helper.rb ${GEM_LIBDIR}/test/info-var-bug.rb -${GEM_LIBDIR}/test/info-var.cmd -${GEM_LIBDIR}/test/info-var.right -${GEM_LIBDIR}/test/info.cmd -${GEM_LIBDIR}/test/info.right -${GEM_LIBDIR}/test/quit.cmd -${GEM_LIBDIR}/test/quit.right -${GEM_LIBDIR}/test/setshow.cmd -${GEM_LIBDIR}/test/setshow.right -${GEM_LIBDIR}/test/stepping.cmd -${GEM_LIBDIR}/test/stepping.right +${GEM_LIBDIR}/test/info-var-bug2.rb +${GEM_LIBDIR}/test/null.rb +${GEM_LIBDIR}/test/output.rb +${GEM_LIBDIR}/test/pm-base.rb +${GEM_LIBDIR}/test/pm.rb +${GEM_LIBDIR}/test/raise.rb ${GEM_LIBDIR}/test/tdebug.rb +${GEM_LIBDIR}/test/test-annotate.rb +${GEM_LIBDIR}/test/test-break-bad.rb ${GEM_LIBDIR}/test/test-breakpoints.rb -${GEM_LIBDIR}/test/test-columnize.rb +${GEM_LIBDIR}/test/test-condition.rb +${GEM_LIBDIR}/test/test-ctrl.rb ${GEM_LIBDIR}/test/test-display.rb +${GEM_LIBDIR}/test/test-dollar-0.rb +${GEM_LIBDIR}/test/test-edit.rb +${GEM_LIBDIR}/test/test-emacs-basic.rb +${GEM_LIBDIR}/test/test-enable.rb +${GEM_LIBDIR}/test/test-finish.rb ${GEM_LIBDIR}/test/test-frame.rb ${GEM_LIBDIR}/test/test-help.rb +${GEM_LIBDIR}/test/test-hist.rb +${GEM_LIBDIR}/test/test-info-thread.rb ${GEM_LIBDIR}/test/test-info-var.rb ${GEM_LIBDIR}/test/test-info.rb +${GEM_LIBDIR}/test/test-init.rb +${GEM_LIBDIR}/test/test-list.rb +${GEM_LIBDIR}/test/test-output.rb +${GEM_LIBDIR}/test/test-pm.rb ${GEM_LIBDIR}/test/test-quit.rb -${GEM_LIBDIR}/test/test-ruby-debug-base.rb +${GEM_LIBDIR}/test/test-raise.rb ${GEM_LIBDIR}/test/test-setshow.rb +${GEM_LIBDIR}/test/test-source.rb ${GEM_LIBDIR}/test/test-stepping.rb -${GEM_HOME}/specifications/ruby-debug-0.10.0.gemspec +${GEM_LIBDIR}/test/test-trace.rb +${GEM_LIBDIR}/test/thread1.rb +${GEM_HOME}/specifications/ruby-debug-${PKGVERSION}.gemspec +@dirrm ${GEM_LIBDIR}/test/data +@dirrm ${GEM_LIBDIR}/test/base @dirrm ${GEM_LIBDIR}/test @dirrm ${GEM_LIBDIR}/doc @dirrm ${GEM_LIBDIR}/cli/ruby-debug/commands diff --git a/devel/ruby-debug/distinfo b/devel/ruby-debug/distinfo index c7437876a38..984b9856c40 100644 --- a/devel/ruby-debug/distinfo +++ b/devel/ruby-debug/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/04/06 23:03:58 seb Exp $ +$NetBSD: distinfo,v 1.2 2008/04/14 21:33:04 jlam Exp $ -SHA1 (ruby-debug-0.10.0.gem) = 60193b2c48f61cde07a3d66045207e5dbc8541d5 -RMD160 (ruby-debug-0.10.0.gem) = d2248563478256396b3eb6c61c58a8ca0cf7d8ca -Size (ruby-debug-0.10.0.gem) = 44032 bytes -SHA1 (patch-aa) = ee38c1c80fc8f4d85137f03459f236b4b1523978 +SHA1 (ruby-debug-0.10.1.gem) = fb682865733d81f00b4dc85cba155a6d38bf0407 +RMD160 (ruby-debug-0.10.1.gem) = 5a4be98009af72c9114cc14264651bd6cf3831c4 +Size (ruby-debug-0.10.1.gem) = 108032 bytes +SHA1 (patch-aa) = 0c82eb81f280ff6859b7df0b03da40fcc95afb73 diff --git a/devel/ruby-debug/patches/patch-aa b/devel/ruby-debug/patches/patch-aa index fb8e071acc1..0d69997c3e4 100644 --- a/devel/ruby-debug/patches/patch-aa +++ b/devel/ruby-debug/patches/patch-aa @@ -1,32 +1,27 @@ -$NetBSD: patch-aa,v 1.1.1.1 2008/04/06 23:03:58 seb Exp $ +$NetBSD: patch-aa,v 1.2 2008/04/14 21:33:04 jlam Exp $ -Sync with current Rake and drop the ruby-debug-base gem build. -Keep RUBY_DEBUG_VERSION value in sync with its ruby-debug-base package -avatar! - ---- Rakefile.orig 1970-01-01 00:00:00.000000000 +0000 +--- Rakefile.orig 2008-04-14 16:52:26.000000000 -0400 +++ Rakefile -@@ -8,7 +8,7 @@ require 'rake/testtask' +@@ -8,8 +8,8 @@ require 'rake/testtask' SO_NAME = "ruby_debug.so" # ------- Default Package ---------- --RUBY_DEBUG_VERSION = open("ext/ruby_debug.c"){|f| f.grep(/^#define DEBUG_VERSION/).first[/"(.+)"/,1]} -+RUBY_DEBUG_VERSION = '0.10.0' +-RUBY_DEBUG_VERSION = open("ext/ruby_debug.c") do |f| +- f.grep(/^#define DEBUG_VERSION/).first[/"(.+)"/,1] ++RUBY_DEBUG_VERSION = open(File.join(File.dirname(__FILE__), 'VERSION')) do |f| ++ f.readlines[0].chomp + end COMMON_FILES = FileList[ - 'AUTHORS', -@@ -38,10 +38,6 @@ CLI_FILES = COMMON_FILES + FileList[ - BASE_TEST_FILE_LIST = 'test/test-ruby-debug-base.rb' - BASE_FILES = COMMON_FILES + FileList[ - 'lib/**/*', -- 'ext/ChangeLog', -- 'ext/ruby_debug.c', -- 'ext/extconf.rb', -- 'ext/win32/*', - BASE_TEST_FILE_LIST, - ] +@@ -18,6 +18,7 @@ COMMON_FILES = FileList[ + 'LICENSE', + 'README', + 'Rakefile', ++ 'VERSION', + ] -@@ -147,9 +143,6 @@ EOF + CLI_TEST_FILE_LIST = 'test/test-*.rb' +@@ -158,9 +159,6 @@ EOF end # Rake task to build the default package @@ -36,12 +31,3 @@ avatar! Rake::GemPackageTask.new(cli_spec) do |pkg| pkg.need_tar = true end -@@ -159,7 +152,7 @@ task :default => [:package] - # Windows specification - win_spec = base_spec.clone - win_spec.extensions = [] --win_spec.platform = Gem::Platform::WIN32 -+win_spec.platform = Gem::Platform::CURRENT - win_spec.files += ["lib/#{SO_NAME}"] - - desc "Create Windows Gem" |