summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2020-05-21 15:57:59 +0000
committertaca <taca@pkgsrc.org>2020-05-21 15:57:59 +0000
commite1f90e3c63db0a2331d1617ae939be781cb21760 (patch)
tree7137466c894cd810ea50aa0378799446b1f64ac2 /lang
parentf6f2f3f15d59b93b5af591aa867fdbe7050c4f13 (diff)
downloadpkgsrc-e1f90e3c63db0a2331d1617ae939be781cb21760.tar.gz
lang/ruby: drop support of Ruby 2.4
Drop support of ruby24 (Ruby 2.4).
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby/rubyversion.mk47
1 files changed, 12 insertions, 35 deletions
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk
index a916a4a2038..f6d2ce812ed 100644
--- a/lang/ruby/rubyversion.mk
+++ b/lang/ruby/rubyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.221 2020/04/01 15:27:40 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.222 2020/05/21 15:57:59 taca Exp $
#
# This file determines which Ruby version is used as a dependency for
@@ -10,7 +10,7 @@
# RUBY_VERSION_DEFAULT
# The preferered Ruby version to use.
#
-# Possible values: 24 25 26 27
+# Possible values: 25 26 27
# Default: 26
#
# RUBY_BUILD_DOCUMENT
@@ -34,13 +34,13 @@
# RUBY_VERSIONS_ACCEPTED
# The Ruby versions that are acceptable for the package.
#
-# Possible values: 24 25 26 27
-# Default: 24 25 26 27
+# Possible values: 25 26 27
+# Default: 25 26 27
#
# RUBY_VERSIONS_INCOMPATIBLE
# The Ruby versions that are incompatible for the package.
#
-# Possible values: 24 25 26 27
+# Possible values: 25 26 27
# Default: empty
#
# RUBY_NOVERSION
@@ -68,7 +68,7 @@
# RUBY_VER
# Really selected version of ruby.
#
-# Possible values: 24 25 26 27
+# Possible values: 25 26 27
#
# Use this variable in pkgsrc's Makefile
#
@@ -77,7 +77,7 @@
# use RUBY_PKGPREFIX with ruby related packages since you can supply
# different binary packages as each version of Ruby.
#
-# Possible values: ruby24 ruby25 ruby26 ruby27
+# Possible values: ruby25 ruby26 ruby27
#
# RUBY_ABI_VERSION
# Ruby's ABI version.
@@ -106,7 +106,7 @@
# RUBY_SUFFIX
# Extra string for each ruby commands; ruby, irb and so on.
#
-# Possible values: 24 25 26 27
+# Possible values: 25 26 27
#
# RUBY_VERSION
# Version of Ruby's version.
@@ -213,13 +213,11 @@ RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/}
.endif
# current supported Ruby's version
-RUBY24_VERSION= 2.4.10
RUBY25_VERSION= 2.5.8
RUBY26_VERSION= 2.6.6
RUBY27_VERSION= 2.7.1
# current API compatible version; used for version of shared library
-RUBY24_API_VERSION= 2.4.0
RUBY25_API_VERSION= 2.5.0
RUBY26_API_VERSION= 2.6.0
RUBY27_API_VERSION= 2.7.0
@@ -228,9 +226,9 @@ RUBY27_API_VERSION= 2.7.0
RUBY_VERSION_DEFAULT?= 26
# supported Ruby's version
-RUBY_VERSIONS_SUPPORTED= 24 25 26 27
+RUBY_VERSIONS_SUPPORTED= 25 26 27
-RUBY_VERSIONS_ACCEPTED?= 24 25 26 27
+RUBY_VERSIONS_ACCEPTED?= 25 26 27
RUBY_VERSIONS_INCOMPATIBLE?=
.if empty(RUBY_VERSIONS_SUPPORTED:M${RUBY_VERSION_DEFAULT})
@@ -269,28 +267,7 @@ RUBY_VER:= ${RUBY_VER_MAP.${RUBY_VER}:U${RUBY_VER}}
RUBY_SUFFIX?= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}${_RUBY_VER_TEENY}
-.if ${RUBY_VER} == "24"
-RUBY_VERSION= ${RUBY24_VERSION}
-RUBY_ABI_VERSION= ${RUBY_VERSION}
-
-RUBY_RDOC_VERSION= 5.0.1
-RUBY_RAKE_VERSION= 12.0.0
-RUBY_JSON_VERSION= 2.0.4
-
-RUBY_BIGDECIMAL_VERSION= 1.3.2
-RUBY_IO_CONSOLE_VERSION= 0.4.6
-RUBY_OPENSSL_VERSION= 2.0.9
-RUBY_PSYCH_VERSION= 2.2.2
-RUBY_DID_YOU_MEAN_VERSION= 1.1.0
-RUBY_MINITEST_VERSION= 5.10.1
-RUBY_NET_TELNET_VERSION= 0.1.1
-RUBY_POWER_ASSERT_VERSION= 0.4.1
-RUBY_TEST_UNIT_VERSION= 3.2.3
-RUBY_XML_RPC_VERSION= 0.2.1
-
-RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
-
-.elif ${RUBY_VER} == "25"
+.if ${RUBY_VER} == "25"
RUBY_VERSION= ${RUBY25_VERSION}
RUBY_ABI_VERSION= ${RUBY_VERSION}
@@ -433,7 +410,7 @@ MULTI+= RUBY_VER=${RUBY_VERS:U${RUBY_VERSION_DEFAULT}}
# any specific version of ruby command. In this case, package's
# name begin with "ruby-".
# If RUBY_NOVERSION is "No" (default), the package's name is begin
-# with ${RUBY_NAME}; "ruby24", "ruby25", and so on.
+# with ${RUBY_NAME}; "ruby25", "ruby26", and so on.
#
# It also affects to RUBY_DOC, RUBY_EG...
#