Index | Thread | Search

From:
Jeremy Evans <jeremy@openbsd.org>
Subject:
Re-add quirk for old Ruby versions
To:
OpenBSD ports <ports@openbsd.org>
Date:
Thu, 21 Nov 2024 06:11:30 +0000

Download raw body.

Thread
The quirk for old ruby versions was removed at some point in the last
year. I think it was in the commit that removed quirks for old OpenBSD
versions, since it was listed in a section for old OpenBSD versions,
and just updated every time we removed support for a ruby version.

Here's a diff to add it back to a separate section at the top, and
updates it to include ruby31-*. Do we want this?

Thanks,
Jeremy

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.1663
diff -u -p -u -p -r1.1663 Makefile
--- Makefile	15 Nov 2024 09:55:49 -0000	1.1663
+++ Makefile	21 Nov 2024 06:04:35 -0000
@@ -3,7 +3,7 @@ CATEGORIES =	devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =	quirks-7.70
+PKGNAME =	quirks-7.71
 PKG_ARCH =	*
 MAINTAINER =	Marc Espie <espie@openbsd.org>
 
Index: files/Quirks.pm
===================================================================
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.1675
diff -u -p -u -p -r1.1675 Quirks.pm
--- files/Quirks.pm	15 Nov 2024 09:55:49 -0000	1.1675
+++ files/Quirks.pm	21 Nov 2024 06:04:35 -0000
@@ -622,6 +622,8 @@ sub setup_obsolete_reason
 # want to put regexps as well in there (see the terraform or hs entries
 # for instance)
 setup_obsolete_reason(
+# Ruby
+	3 => qr{^(ruby(19|2[0-7]|3[01])-|^j?ruby-[^0-9])},
 # 6.9
 	3 => 'py-notify',
 	3 => 'glimpse',