Wed Jul 7 16:11:57 2021 UTC ()
lang/ruby: make sure to update ruby30's version


(taca)
diff -r1.234 -r1.235 pkgsrc/lang/ruby/rubyversion.mk

cvs diff -r1.234 -r1.235 pkgsrc/lang/ruby/rubyversion.mk (expand / switch to unified diff)

--- pkgsrc/lang/ruby/rubyversion.mk 2021/07/07 16:10:01 1.234
+++ pkgsrc/lang/ruby/rubyversion.mk 2021/07/07 16:11:57 1.235
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: rubyversion.mk,v 1.234 2021/07/07 16:10:01 taca Exp $ 1# $NetBSD: rubyversion.mk,v 1.235 2021/07/07 16:11:57 taca Exp $
2# 2#
3 3
4# This file determines which Ruby version is used as a dependency for 4# This file determines which Ruby version is used as a dependency for
5# a package. 5# a package.
6# 6#
7# 7#
8# === User-settable variables === 8# === User-settable variables ===
9# 9#
10# RUBY_VERSION_DEFAULT 10# RUBY_VERSION_DEFAULT
11# The preferered Ruby version to use. 11# The preferered Ruby version to use.
12# 12#
13# Possible values: 26 27 30 13# Possible values: 26 27 30
14# Default: 26 14# Default: 26
@@ -205,27 +205,27 @@ _RUBYVERSION_MK= # defined @@ -205,27 +205,27 @@ _RUBYVERSION_MK= # defined
205 205
206.include "../../mk/bsd.prefs.mk" 206.include "../../mk/bsd.prefs.mk"
207 207
208.if defined(PKGNAME_REQD) 208.if defined(PKGNAME_REQD)
209. if !empty(PKGNAME_REQD:Mruby[0-9][0-9]-*) 209. if !empty(PKGNAME_REQD:Mruby[0-9][0-9]-*)
210_RUBY_VERSION_REQD:= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} 210_RUBY_VERSION_REQD:= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/}
211RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} 211RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/}
212. endif 212. endif
213.endif 213.endif
214 214
215# current supported Ruby's version 215# current supported Ruby's version
216RUBY26_VERSION= 2.6.8 216RUBY26_VERSION= 2.6.8
217RUBY27_VERSION= 2.7.4 217RUBY27_VERSION= 2.7.4
218RUBY30_VERSION= 3.0.1 218RUBY30_VERSION= 3.0.2
219 219
220# current API compatible version; used for version of shared library 220# current API compatible version; used for version of shared library
221RUBY26_API_VERSION= 2.6.0 221RUBY26_API_VERSION= 2.6.0
222RUBY27_API_VERSION= 2.7.0 222RUBY27_API_VERSION= 2.7.0
223RUBY30_API_VERSION= 3.0.0 223RUBY30_API_VERSION= 3.0.0
224 224
225# 225#
226RUBY_VERSION_DEFAULT?= 26 226RUBY_VERSION_DEFAULT?= 26
227 227
228# supported Ruby's version 228# supported Ruby's version
229RUBY_VERSIONS_SUPPORTED= 26 27 30 229RUBY_VERSIONS_SUPPORTED= 26 27 30
230 230
231RUBY_VERSIONS_ACCEPTED?= 26 27 30 231RUBY_VERSIONS_ACCEPTED?= 26 27 30