Fri Sep 10 06:35:55 2010 UTC ()
Update devel/ruby2ruby to 1.2.5.

* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Add LICENSE.
* Update dependency according to gemspec.
* Add CONFLICTS since it will install the same name commands both
  ruby18 and ruby19 based packages.

=== 1.2.5 / 2010-09-01

* 4 minor enhancements:

  * Added braces to hash args surrounded if in a binary method call.
  * Added rewrite_resbody to double check structure and freak if necessary.
  * Added stress task
  * rewrite_rescue now detects rescue with multiple arguments.

* 2 bug fixes:

  * Fixed dstr/dregex/d* roundtripping problem
  * Fixed up call arg processing to be more correct and to work with the new sexp form


(taca)
diff -r1.3 -r1.4 pkgsrc/devel/ruby2ruby/Makefile
diff -r1.3 -r1.4 pkgsrc/devel/ruby2ruby/PLIST
diff -r1.4 -r1.5 pkgsrc/devel/ruby2ruby/distinfo

cvs diff -r1.3 -r1.4 pkgsrc/devel/ruby2ruby/Makefile (expand / switch to context diff)
--- pkgsrc/devel/ruby2ruby/Makefile 2009/11/23 14:13:28 1.3
+++ pkgsrc/devel/ruby2ruby/Makefile 2010/09/10 06:35:55 1.4
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.3 2009/11/23 14:13:28 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2010/09/10 06:35:55 taca Exp $
 
-DISTNAME=	ruby2ruby-1.2.4
-PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
+DISTNAME=	ruby2ruby-1.2.5
 CATEGORIES=	devel
 
 MAINTAINER=	pkgsrc-users@NetBSD.org
 HOMEPAGE=	http://seattlerb.rubyforge.org/
 COMMENT=	Pure Ruby code from Ruby S-expressions
+LICENSE=	mit
 
-DEPENDS+=	${RUBY_PKGPREFIX}-parsetree>=3.0:../../devel/ruby-parsetree
 DEPENDS+=	${RUBY_PKGPREFIX}-sexp-processor>=3.0:../../devel/ruby-sexp-processor
 DEPENDS+=	${RUBY_PKGPREFIX}-parser>=2.0:../../devel/ruby-parser
-DEPENDS+=	hoe>=2.3.3:../../devel/hoe
 
-.include "../../misc/rubygems/rubygem.mk"
+CONFLICTS+=	ruby[1-9][0-9]-ruby2ruby-[0-9]*
+
+.include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/devel/ruby2ruby/PLIST (expand / switch to context diff)
--- pkgsrc/devel/ruby2ruby/PLIST 2009/11/23 14:13:28 1.3
+++ pkgsrc/devel/ruby2ruby/PLIST 2010/09/10 06:35:55 1.4
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2009/11/23 14:13:28 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/09/10 06:35:55 taca Exp $
 bin/r2r_show
-${GEM_HOME}/cache/ruby2ruby-${PKGVERSION}.gem
+${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.autotest
 ${GEM_LIBDIR}/History.txt
 ${GEM_LIBDIR}/Manifest.txt
@@ -9,4 +9,4 @@
 ${GEM_LIBDIR}/bin/r2r_show
 ${GEM_LIBDIR}/lib/ruby2ruby.rb
 ${GEM_LIBDIR}/test/test_ruby2ruby.rb
-${GEM_HOME}/specifications/ruby2ruby-${PKGVERSION}.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec

cvs diff -r1.4 -r1.5 pkgsrc/devel/ruby2ruby/distinfo (expand / switch to context diff)
--- pkgsrc/devel/ruby2ruby/distinfo 2009/11/23 14:13:28 1.4
+++ pkgsrc/devel/ruby2ruby/distinfo 2010/09/10 06:35:55 1.5
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2009/11/23 14:13:28 fhajny Exp $
+$NetBSD: distinfo,v 1.5 2010/09/10 06:35:55 taca Exp $
 
-SHA1 (ruby2ruby-1.2.4.gem) = 8759023ce8259d1fe648dccf4bb97994fa3173a1
+SHA1 (ruby2ruby-1.2.5.gem) = d35f97443f1757a0694998e8ec2d2ed7fe46a848
-RMD160 (ruby2ruby-1.2.4.gem) = cc33f793bb1696ac7722b1b3ce1b46a85cfa7382
+RMD160 (ruby2ruby-1.2.5.gem) = 392d307e96a209a0003131c790aa19944599978b
-Size (ruby2ruby-1.2.4.gem) = 13312 bytes
+Size (ruby2ruby-1.2.5.gem) = 17920 bytes