pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby Remove Ruby 2.1 support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d34c60e60954
branches:  trunk
changeset: 364029:d34c60e60954
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Jun 20 13:41:45 2017 +0000

description:
Remove Ruby 2.1 support.

diffstat:

 lang/ruby/rubyversion.mk |  39 ++++++++++-----------------------------
 1 files changed, 10 insertions(+), 29 deletions(-)

diffs (108 lines):

diff -r 7e77337e2b89 -r d34c60e60954 lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Tue Jun 20 13:39:50 2017 +0000
+++ b/lang/ruby/rubyversion.mk  Tue Jun 20 13:41:45 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.179 2017/06/18 13:44:38 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.180 2017/06/20 13:41:45 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: 21 22 23 24
+#              Possible values: 22 23 24
 #              Default: 23
 #
 # RUBY_BUILD_RDOC
@@ -41,8 +41,8 @@
 # RUBY_VERSIONS_ACCEPTED
 #      The Ruby versions that are acceptable for the package.
 #
-#              Possible values: 21 22 23 24
-#              Default: 23 22 21 24
+#              Possible values: 22 23 24
+#              Default: 23 22 24
 #
 # RUBY_NOVERSION
 #      If "Yes", the package dosen't depend on any version of Ruby, such
@@ -69,7 +69,7 @@
 # RUBY_VER
 #      Really selected version of ruby.
 #
-#              Possible values: 21 22 23
+#              Possible values: 22 23
 #
 #      Use this variable in pkgsrc's Makefile
 #
@@ -78,7 +78,7 @@
 #      use RUBY_PKGPREFIX with ruby related packages since you can supply
 #      different binary packages as each version of Ruby.
 #
-#              Example values: ruby21 ruby22 ruby23 ruby24
+#              Example values: ruby22 ruby23 ruby24
 #
 # RUBY_ABI_VERSION
 #      Ruby's ABI version.
@@ -107,7 +107,7 @@
 # RUBY_SUFFIX
 #      Extra string for each ruby commands; ruby, irb and so on.
 #
-#              Possible values: 21 22 23 24
+#              Possible values: 22 23 24
 #
 # RUBY_VERSION
 #      Version of Ruby's version.
@@ -214,13 +214,11 @@
 .endif
 
 # current supported Ruby's version
-RUBY21_VERSION=                2.1.10
 RUBY22_VERSION=                2.2.7
 RUBY23_VERSION=                2.3.4
 RUBY24_VERSION=                2.4.1
 
 # current API compatible version; used for version of shared library
-RUBY21_API_VERSION=    2.1.0
 RUBY22_API_VERSION=    2.2.0
 RUBY23_API_VERSION=    2.3.0
 RUBY24_API_VERSION=    2.4.0
@@ -229,9 +227,9 @@
 RUBY_VERSION_DEFAULT?= 23
 
 # supported Ruby's version
-RUBY_VERSIONS_SUPPORTED= 23 22 21 24
+RUBY_VERSIONS_SUPPORTED= 23 22 24
 
-RUBY_VERSIONS_ACCEPTED?= 23 22 21 24
+RUBY_VERSIONS_ACCEPTED?= 23 22 24
 RUBY_VERSIONS_INCOMPATIBLE?=
 
 .if empty(RUBY_VERSIONS_SUPPORTED:M${RUBY_VERSION_DEFAULT})
@@ -270,24 +268,7 @@
 
 RUBY_SUFFIX?=  ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}${_RUBY_VER_TEENY}
 
-.if ${RUBY_VER} == "21"
-RUBY_VERSION=          ${RUBY21_VERSION}
-RUBY_ABI_VERSION=      ${RUBY_VERSION}
-
-RUBY_GEMS_VERSION=     2.2.2
-RUBY_RDOC_VERSION=     4.1.0
-RUBY_RAKE_VERSION=     10.1.0
-RUBY_JSON_VERSION=     1.8.1
-
-RUBY_BIGDECIMAL_VERSION=       1.2.4
-RUBY_IO_CONSOLE_VERSION=       0.4.3
-RUBY_PSYCH_VERSION=            2.0.5
-RUBY_MINITEST_VERSION=         4.7.5
-RUBY_TEST_UNIT_VERSION=                2.1.8.0
-
-RUBY_SUFFIX=   ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
-
-.elif ${RUBY_VER} == "22"
+.if ${RUBY_VER} == "22"
 RUBY_VERSION=          ${RUBY22_VERSION}
 RUBY_ABI_VERSION=      ${RUBY_VERSION}
 



Home | Main Index | Thread Index | Old Index