On Mon, Jun 27, 2011 at 6:20 AM, Stefan Sperling <s...@openbsd.org> wrote:
> The Test::Unit API shipped with Ruby 1.9 is not fully backwards
> compatible with what was shipped in Ruby 1.8.
> However, the old Test::Unit API is available for Ruby 1.9 as a gem.
>
> This port will be required to run Subversion's Ruby bindings regression
> tests with Ruby 1.9 (some patches to Subversion are still needed to
> really make it work).
>
> I suppose other Test::Unit users will need this gem as well.

Most of the API is the same, so I'm not sure much else will need it.
But it certainly should be added if it is necessary to run the
subversion regress tests.

> I've set the default flavour to ruby19. This gem can be installed and
> used with 1.8 but I suppose there is not much point in doing so.

Port looks good except that FLAVORS shouldn't be set (ruby.port.mk
takes care of that), and you
don't need to specify an empty *_DEPENDS (see the mangled below).  You
have my ok to import with these changes:

Jeremy

--- Makefile.orig       Mon Jun 27 07:58:58 2011
+++ Makefile    Mon Jun 27 07:59:07 2011
@@ -5,7 +5,6 @@
 DISTNAME =     test-unit-2.3.0
 CATEGORIES =   devel

-FLAVORS =      ruby19
 FLAVOR ?=      ruby19

 # GPLv2
@@ -17,9 +16,6 @@
 MODULES =      lang/ruby

 CONFIGURE_STYLE = ruby gem
-
-BUILD_DEPENDS =        ${RUN_DEPENDS}
-RUN_DEPENDS =

 MODRUBY_REGRESS =      rake

Reply via email to