Wednesday, July 06, 2022

Prepare for ruby-minitest removal

On Wed, Jul 06, 2022 at 09:05:03PM +0000, Jeremy Evans wrote:

> > > > Shall we remove devel/ruby-minitest?

> > > That makes sense to me.

> OK jeremy@ for removal after dependencies have been handled.

Deps handled in this included diff.

> This should not be added to quirks, nor should PLIST be updated. There is
> a general quirk added for all rubyXY ports when rubyXY support is removed,
> which should suffice for this. That does mean that users will not be
> warned for a while, but that is harmless. The minitest port doesn't actually
> conflict with the ruby port, since the minitest version it uses is older
> than the versions shipped with ruby.

Alright. Sounds good. Less work for me. :D

ok to remove minitest from these consumers?

--Kurt

Index: devel/ruby-activesupport/Makefile
===================================================================
RCS file: /cvs/ports/devel/ruby-activesupport/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- devel/ruby-activesupport/Makefile 11 Mar 2022 18:53:11 -0000 1.48
+++ devel/ruby-activesupport/Makefile 6 Jul 2022 22:00:49 -0000
@@ -3,6 +3,7 @@ COMMENT = support libraries and Ruby ex
DISTNAME = activesupport-6.1.4.1
CATEGORIES = devel
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
+REVISION = 0

# MIT
PERMIT_PACKAGE = Yes
@@ -12,10 +13,8 @@ MODULES = lang/ruby
BUILD_DEPENDS += ${RUN_DEPENDS}
RUN_DEPENDS += devel/ruby-concurrent-ruby,${MODRUBY_FLAVOR},>=1.0.2,<2 \
devel/ruby-i18n,${MODRUBY_FLAVOR},>=0.7,<2 \
- devel/ruby-minitest,${MODRUBY_FLAVOR}>=5.1,<6 \
devel/ruby-zeitwerk,${MODRUBY_FLAVOR}>=2.3,<3 \
sysutils/ruby-tzinfo,${MODRUBY_FLAVOR}>=2.0,<3
-

CONFIGURE_STYLE = ruby gem

Index: devel/ruby-hoe/Makefile
===================================================================
RCS file: /cvs/ports/devel/ruby-hoe/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- devel/ruby-hoe/Makefile 11 Mar 2022 18:53:14 -0000 1.31
+++ devel/ruby-hoe/Makefile 6 Jul 2022 22:00:49 -0000
@@ -2,6 +2,7 @@ COMMENT= simple rake/rubygems helper for

DISTNAME= hoe-3.20.0
CATEGORIES= devel
+REVISION= 0

# MIT
PERMIT_PACKAGE= Yes
@@ -11,6 +12,5 @@ MODULES= lang/ruby
CONFIGURE_STYLE=ruby gem

MODRUBY_TEST = rake
-TEST_DEPENDS = devel/ruby-minitest,${MODRUBY_FLAVOR},>=5.11.3

.include <bsd.port.mk>
Index: devel/ruby-ruby_parser/Makefile
===================================================================
RCS file: /cvs/ports/devel/ruby-ruby_parser/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- devel/ruby-ruby_parser/Makefile 11 Mar 2022 18:53:19 -0000 1.17
+++ devel/ruby-ruby_parser/Makefile 6 Jul 2022 22:00:49 -0000
@@ -1,7 +1,7 @@
COMMENT = Ruby parser written in pure Ruby

DISTNAME = ruby_parser-2.3.1
-REVISION = 1
+REVISION = 2
CATEGORIES = devel

# MIT
@@ -14,8 +14,7 @@ CONFIGURE_STYLE = ruby gem
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = devel/ruby-sexp_processor,${MODRUBY_FLAVOR}>=3.0,<4.0

-TEST_DEPENDS = devel/ruby-hoe,${MODRUBY_FLAVOR} \
- devel/ruby-minitest,${MODRUBY_FLAVOR}
+TEST_DEPENDS = devel/ruby-hoe,${MODRUBY_FLAVOR}

MODRUBY_TEST = rake

Index: devel/ruby-zentest/Makefile
===================================================================
RCS file: /cvs/ports/devel/ruby-zentest/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- devel/ruby-zentest/Makefile 11 Mar 2022 18:53:22 -0000 1.20
+++ devel/ruby-zentest/Makefile 6 Jul 2022 22:00:49 -0000
@@ -2,7 +2,7 @@ COMMENT = ensures test coverage and acce

DISTNAME = ZenTest-4.9.2
PKGNAME = ${DISTNAME:L}
-REVISION = 2
+REVISION = 3
CATEGORIES = devel

# MIT
@@ -11,8 +11,6 @@ PERMIT_PACKAGE = Yes
MODULES = lang/ruby

CONFIGURE_STYLE = ruby gem
-
-TEST_DEPENDS = devel/ruby-minitest,${MODRUBY_FLAVOR}

MODRUBY_TEST = rake

Index: sysutils/ruby-vlad/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/ruby-vlad/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- sysutils/ruby-vlad/Makefile 11 Mar 2022 19:57:59 -0000 1.22
+++ sysutils/ruby-vlad/Makefile 6 Jul 2022 22:00:49 -0000
@@ -2,7 +2,7 @@ COMMENT= pragmatic application deployme

DISTNAME= vlad-2.6.5
CATEGORIES= sysutils
-REVISION= 0
+REVISION= 1

HOMEPAGE= http://rubyhitsquad.com/Vlad_the_Deployer.html

@@ -17,7 +17,6 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/ruby-rake-remote_task,${MODRUBY_FLAVOR}

MODRUBY_TEST= rake
-TEST_DEPENDS= devel/ruby-hoe,${MODRUBY_FLAVOR} \
- devel/ruby-minitest,${MODRUBY_FLAVOR}
+TEST_DEPENDS= devel/ruby-hoe,${MODRUBY_FLAVOR}

.include <bsd.port.mk>

No comments:

Post a Comment