Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby lang/ruby: drop support of Ruby 2.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9b37450ac3d
branches:  trunk
changeset: 432382:a9b37450ac3d
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu May 21 15:57:59 2020 +0000

description:
lang/ruby: drop support of Ruby 2.4

Drop support of ruby24 (Ruby 2.4).

diffstat:

 lang/ruby/rubyversion.mk |  47 ++++++++++++-----------------------------------
 1 files changed, 12 insertions(+), 35 deletions(-)

diffs (127 lines):

diff -r 53da2ec66633 -r a9b37450ac3d lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Thu May 21 15:55:14 2020 +0000
+++ b/lang/ruby/rubyversion.mk  Thu May 21 15:57:59 2020 +0000
@@ -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 @@
 .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 @@
 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_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 @@
 #      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...
 #



Home | Main Index | Thread Index | Old Index