summaryrefslogtreecommitdiff
path: root/devel/ruby-debug-base
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-14 21:33:01 +0000
committerjlam <jlam>2008-04-14 21:33:01 +0000
commit1c00b21fcf19ac4f77793166cdde09c2b5c12281 (patch)
tree71beb8a4453e94b6295351de560daaf2351f342c /devel/ruby-debug-base
parent9dfe8488db7371a31376283bce9e978e3905fa7d (diff)
downloadpkgsrc-1c00b21fcf19ac4f77793166cdde09c2b5c12281.tar.gz
Update devel/ruby-debug-base to 0.10.1. Changes from version 0.10.0
include: * Allow catching multiple exceptions. * Add Debugger.last_exception which is set in post-mortem. * Remove Debugger.stop() when an exception is raised that would terminate the debugged program. This may allow catchpoints to work and allow tracing user code which handles "Exit" exceptions * Preface ruby_debug global Ruby variables with rdebug_. * Change Debugger.start() to accept an optional options argument :init => true saves things (like $0 and ARGV) necessary to allow restart. Default: true :post_mortem => true runs post-mortem on an uncaught exception Default: false The old Debugger.start() is now renamed to Debugger.start_() INCOMPATIBLE CHANGES: * variable "Debugger.catchpoint", a String, was turned into "Debugger.catchpoints", a Hash. * Method "Debugger.catchpoint=" no longer exists. * Debugger.set_catchpoint was turned into Debugger.add_catchpoint * return/end will now call event handler
Diffstat (limited to 'devel/ruby-debug-base')
-rw-r--r--devel/ruby-debug-base/Makefile7
-rw-r--r--devel/ruby-debug-base/PLIST14
-rw-r--r--devel/ruby-debug-base/distinfo10
-rw-r--r--devel/ruby-debug-base/patches/patch-aa24
4 files changed, 25 insertions, 30 deletions
diff --git a/devel/ruby-debug-base/Makefile b/devel/ruby-debug-base/Makefile
index ebcfccdc2ea..292b80a859d 100644
--- a/devel/ruby-debug-base/Makefile
+++ b/devel/ruby-debug-base/Makefile
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/04/06 23:03:23 seb Exp $
+# $NetBSD: Makefile,v 1.2 2008/04/14 21:33:01 jlam Exp $
-DISTNAME= ruby-debug-base-0.10.0
+DISTNAME= ruby-debug-base-0.10.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
-#PKGREVISION= 1
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.datanoise.com/ruby-debug/
COMMENT= Fast implementation of the standard Ruby debugger
+DEPENDS+= ${RUBY_PKGPREFIX}-linecache>=0.3:../../devel/ruby-linecache
+
.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-debug-base/PLIST b/devel/ruby-debug-base/PLIST
index e34b330b073..fe619159a5f 100644
--- a/devel/ruby-debug-base/PLIST
+++ b/devel/ruby-debug-base/PLIST
@@ -1,18 +1,22 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/06 23:03:23 seb Exp $
-${GEM_HOME}/cache/ruby-debug-base-0.10.0.gem
+@comment $NetBSD: PLIST,v 1.2 2008/04/14 21:33:01 jlam Exp $
+${GEM_HOME}/cache/ruby-debug-base-${PKGVERSION}.gem
${GEM_LIBDIR}/AUTHORS
${GEM_LIBDIR}/CHANGES
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/README
${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/ext/ChangeLog
+${GEM_LIBDIR}/ext/breakpoint.c
${GEM_LIBDIR}/ext/extconf.rb
${GEM_LIBDIR}/ext/ruby_debug.c
+${GEM_LIBDIR}/ext/ruby_debug.h
${GEM_LIBDIR}/lib/ChangeLog
${GEM_LIBDIR}/lib/ruby-debug-base.rb
${GEM_LIBDIR}/lib/ruby_debug.${RUBY_DLEXT}
-${GEM_LIBDIR}/test/test-ruby-debug-base.rb
-${GEM_HOME}/specifications/ruby-debug-base-0.10.0.gemspec
+${GEM_LIBDIR}/test/base/base.rb
+${GEM_LIBDIR}/test/base/binding.rb
+${GEM_LIBDIR}/test/base/catchpoint.rb
+${GEM_HOME}/specifications/ruby-debug-base-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/test/base
@dirrm ${GEM_LIBDIR}/test
@dirrm ${GEM_LIBDIR}/lib
@dirrm ${GEM_LIBDIR}/ext
diff --git a/devel/ruby-debug-base/distinfo b/devel/ruby-debug-base/distinfo
index 540abe0ac6a..68a756a0165 100644
--- a/devel/ruby-debug-base/distinfo
+++ b/devel/ruby-debug-base/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/04/06 23:03:23 seb Exp $
+$NetBSD: distinfo,v 1.2 2008/04/14 21:33:01 jlam Exp $
-SHA1 (ruby-debug-base-0.10.0.gem) = 7237b90618edf4c3e1156b5039443970a4c92234
-RMD160 (ruby-debug-base-0.10.0.gem) = 1cbc72250c45a4e6e40b9c27e8cc7a8f4b4a28ec
-Size (ruby-debug-base-0.10.0.gem) = 34304 bytes
-SHA1 (patch-aa) = 91b3ae89cbc972451c4efd65523e5d251b7253e2
+SHA1 (ruby-debug-base-0.10.1.gem) = 6c5e96a53e792e79237e96587e5eeb35edcbab6d
+RMD160 (ruby-debug-base-0.10.1.gem) = d527a9db3dc074272f97df8e2e6e38a4484f6d3a
+Size (ruby-debug-base-0.10.1.gem) = 31744 bytes
+SHA1 (patch-aa) = 14599469480974f05c88194aa8350170bf1b4d7e
diff --git a/devel/ruby-debug-base/patches/patch-aa b/devel/ruby-debug-base/patches/patch-aa
index 78f94394d7e..4bb36eca028 100644
--- a/devel/ruby-debug-base/patches/patch-aa
+++ b/devel/ruby-debug-base/patches/patch-aa
@@ -1,18 +1,16 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/04/06 23:03:23 seb Exp $
+$NetBSD: patch-aa,v 1.2 2008/04/14 21:33:01 jlam Exp $
-Sync with current Rake and drop the ruby-debug gem build.
-
---- Rakefile.orig 1970-01-01 00:00:00.000000000 +0000
+--- Rakefile.orig 2008-04-13 03:20:46.000000000 -0400
+++ Rakefile
-@@ -23,7 +23,6 @@ CLI_FILES = COMMON_FILES + FileList[
+@@ -25,7 +25,6 @@ CLI_FILES = COMMON_FILES + FileList[
"cli/**/*",
'ChangeLog',
'bin/*',
- 'doc/rdebug.1',
- 'test/**/*.cmd',
- 'test/**/*.right',
- 'test/**/gcd.rb',
-@@ -150,16 +149,13 @@ end
+ 'test/**/data/*.cmd',
+ 'test/**/data/*.right',
+ 'test/**/*.rb',
+@@ -161,9 +160,6 @@ end
Rake::GemPackageTask.new(base_spec) do |pkg|
pkg.need_tar = true
end
@@ -22,11 +20,3 @@ Sync with current Rake and drop the ruby-debug gem build.
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"