summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 05:17:36 +0000
committertaca <taca@pkgsrc.org>2010-09-10 05:17:36 +0000
commitf8afa3bb2116baa9c3fd1b09d5666bd0c89dac8b (patch)
tree2fdae31b4f1b2e74300565d35ca2bde1e499aa6c
parent00951c004eaf7829babd32d4d6804ca23f9ec32b (diff)
downloadpkgsrc-f8afa3bb2116baa9c3fd1b09d5666bd0c89dac8b.tar.gz
Update devel/ruby-debug-base to 0.10.3.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Update HOMEPAGE. * Add LICENSE. 0.10.3 11/17/08 - a backtrace now warns when it thinks the callstack is truncated which it gets by comparing with caller() - fix setting $0. - fix bug in showing variables in post-mortem - Document how Debugger.start with a block is intended to be used. - Move Kernel#debugger from ruby-debug-base into ruby-debug - Get regression tests working again - Warn and add a "confirmation" when setting a breakpoint on a file that is not loaded.
-rw-r--r--devel/ruby-debug-base/Makefile11
-rw-r--r--devel/ruby-debug-base/PLIST6
-rw-r--r--devel/ruby-debug-base/distinfo10
-rw-r--r--devel/ruby-debug-base/patches/patch-aa30
-rw-r--r--devel/ruby-debug-base/patches/patch-ab17
5 files changed, 31 insertions, 43 deletions
diff --git a/devel/ruby-debug-base/Makefile b/devel/ruby-debug-base/Makefile
index 4c153b3d8d8..9a4e3ba9f87 100644
--- a/devel/ruby-debug-base/Makefile
+++ b/devel/ruby-debug-base/Makefile
@@ -1,16 +1,17 @@
-# $NetBSD: Makefile,v 1.4 2010/09/07 17:20:25 taca Exp $
+# $NetBSD: Makefile,v 1.5 2010/09/10 05:17:36 taca Exp $
-DISTNAME= ruby-debug-base-0.10.2
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+DISTNAME= ruby-debug-base-0.10.3
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.datanoise.com/ruby-debug/
+HOMEPAGE= http://rubyforge.org/projects/ruby-debug/
COMMENT= Fast implementation of the standard Ruby debugger
+LICENSE= 2-clause-bsd
DEPENDS+= ${RUBY_PKGPREFIX}-linecache>=0.3:../../devel/ruby-linecache
RUBY_VERSION_SUPPORTED= 18
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-debug-base/PLIST b/devel/ruby-debug-base/PLIST
index d568182c1a8..22479b95ef4 100644
--- a/devel/ruby-debug-base/PLIST
+++ b/devel/ruby-debug-base/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:49:09 joerg Exp $
-${GEM_HOME}/cache/ruby-debug-base-${PKGVERSION}.gem
+@comment $NetBSD: PLIST,v 1.4 2010/09/10 05:17:36 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/AUTHORS
${GEM_LIBDIR}/CHANGES
${GEM_LIBDIR}/LICENSE
@@ -15,4 +15,4 @@ ${GEM_LIBDIR}/lib/ruby_debug.${RUBY_DLEXT}
${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
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/devel/ruby-debug-base/distinfo b/devel/ruby-debug-base/distinfo
index 1935ca9ab91..18caa5bed78 100644
--- a/devel/ruby-debug-base/distinfo
+++ b/devel/ruby-debug-base/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2008/09/15 09:03:58 taca Exp $
+$NetBSD: distinfo,v 1.4 2010/09/10 05:17:36 taca Exp $
-SHA1 (ruby-debug-base-0.10.2.gem) = 39657666a4cd477f9009566322d78fac00e485cc
-RMD160 (ruby-debug-base-0.10.2.gem) = 3fff125e1fecd395a0de211a22a9bf10566b092e
-Size (ruby-debug-base-0.10.2.gem) = 53760 bytes
-SHA1 (patch-aa) = cb829e2afe542ef2cf0104a3c9b5cc8265c81b24
+SHA1 (ruby-debug-base-0.10.3.gem) = aa6824781e6e6ebf39c4d255295ec1de76c998e9
+RMD160 (ruby-debug-base-0.10.3.gem) = eb089aae2604de51905850e73ec6408ad9112a9c
+Size (ruby-debug-base-0.10.3.gem) = 301568 bytes
+SHA1 (patch-ab) = ceb0d8bc3cb7e01b6d0d0edb3e1d6bf66cf04b00
diff --git a/devel/ruby-debug-base/patches/patch-aa b/devel/ruby-debug-base/patches/patch-aa
deleted file mode 100644
index 79342870c4d..00000000000
--- a/devel/ruby-debug-base/patches/patch-aa
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2008/09/15 09:03:58 taca Exp $
-
---- Rakefile.orig 2008-09-15 13:30:42.000000000 +0900
-+++ Rakefile
-@@ -25,7 +25,6 @@ CLI_FILES = COMMON_FILES + FileList[
- "cli/**/*",
- 'ChangeLog',
- 'bin/*',
-- 'doc/rdebug.1',
- 'test/**/data/*.cmd',
- 'test/**/data/*.right',
- 'test/**/*.rb',
-@@ -42,7 +41,6 @@ BASE_FILES = COMMON_FILES + FileList[
- 'ext/extconf.rb',
- 'ext/ruby_debug.c',
- 'ext/ruby_debug.h',
-- 'ext/win32/*',
- 'lib/**/*',
- BASE_TEST_FILE_LIST,
- ]
-@@ -161,9 +159,6 @@ end
- Rake::GemPackageTask.new(base_spec) do |pkg|
- pkg.need_tar = true
- end
--Rake::GemPackageTask.new(cli_spec) do |pkg|
-- pkg.need_tar = true
--end
-
- task :default => [:package]
-
diff --git a/devel/ruby-debug-base/patches/patch-ab b/devel/ruby-debug-base/patches/patch-ab
new file mode 100644
index 00000000000..3e1dc3e953f
--- /dev/null
+++ b/devel/ruby-debug-base/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1 2010/09/10 05:17:37 taca Exp $
+
+Avoid to install win32 binaries.
+
+--- ../ruby-debug-base-0.10.3.gemspec.orig 2010-09-07 01:50:41.000000000 +0000
++++ ../ruby-debug-base-0.10.3.gemspec
+@@ -40,10 +40,6 @@ files:
+ - ext/extconf.rb
+ - ext/ruby_debug.c
+ - ext/ruby_debug.h
+-- ext/win32/Makefile
+-- ext/win32/ruby_debug.o
+-- ext/win32/breakpoint.o
+-- ext/win32/ruby_debug.so
+ - lib/ruby-debug-base.rb
+ - lib/ChangeLog
+ - test/base/base.rb