pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby lang/ruby: add support for Ruby 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/260be30dd6a9
branches:  trunk
changeset: 424788:260be30dd6a9
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 15 15:19:55 2020 +0000

description:
lang/ruby: add support for Ruby 2.7

Add support for Ruby 2.7.

diffstat:

 lang/ruby/rubyversion.mk |  64 +++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 61 insertions(+), 3 deletions(-)

diffs (111 lines):

diff -r 31bd5b02b5b0 -r 260be30dd6a9 lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Sun Mar 15 14:28:36 2020 +0000
+++ b/lang/ruby/rubyversion.mk  Sun Mar 15 15:19:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.215 2020/03/08 06:35:28 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.216 2020/03/15 15:19:55 taca Exp $
 #
 
 # This file determines which Ruby version is used as a dependency for
@@ -217,20 +217,22 @@
 RUBY24_VERSION=                2.4.9
 RUBY25_VERSION=                2.5.7
 RUBY26_VERSION=                2.6.5
+RUBY27_VERSION=                2.7.0
 
 # current API compatible version; used for version of shared library
 RUBY22_API_VERSION=    2.2.0
 RUBY24_API_VERSION=    2.4.0
 RUBY25_API_VERSION=    2.5.0
 RUBY26_API_VERSION=    2.6.0
+RUBY27_API_VERSION=    2.7.0
 
 #
 RUBY_VERSION_DEFAULT?= 26
 
 # supported Ruby's version
-RUBY_VERSIONS_SUPPORTED=       24 25 26 22
+RUBY_VERSIONS_SUPPORTED=       24 25 26 22 27
 
-RUBY_VERSIONS_ACCEPTED?=       24 25 26
+RUBY_VERSIONS_ACCEPTED?=       24 25 26 27
 RUBY_VERSIONS_INCOMPATIBLE?=
 
 .if empty(RUBY_VERSIONS_SUPPORTED:M${RUBY_VERSION_DEFAULT})
@@ -380,6 +382,60 @@
 
 RUBY_SUFFIX=   ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
 
+.elif ${RUBY_VER} == "27"
+RUBY_VERSION=          ${RUBY27_VERSION}
+RUBY_ABI_VERSION=      ${RUBY_VERSION}
+
+RUBY_RDOC_VERSION=     6.2.1
+
+RUBY_DID_YOU_MEAN_VERSION=     1.4.0
+RUBY_IRB_VERSION=              1.2.1
+
+# bundled gems
+RUBY_MINITEST_VERSION=         5.13.0
+RUBY_NET_TELNET_VERSION=       0.2.0
+RUBY_POWER_ASSERT_VERSION=     1.1.5
+RUBY_RACC_VERSION=             1.4.16
+RUBY_RAKE_VERSION=             13.0.1
+RUBY_TEST_UNIT_VERSION=                3.3.4
+RUBY_XML_RPC_VERSION=          0.3.0
+
+# bundled extensions
+RUBY_DATE_VERSION=             3.0.0
+RUBY_DBM_VERSION=              1.1.0
+RUBY_ETC_VERSION=              1.1.0
+RUBY_FCNTL_VERSION=            1.0.0
+RUBY_FIDDLE_VERSION=           1.0.0
+RUBY_IPADDR_VERSION=           1.2.2
+
+# bundled libraries
+RUBY_BIGDECIMAL_VERSION=       2.0.0
+RUBY_BUNDLER_VERSION=          2.1.2
+RUBY_CSV_VERSION=              3.1.2
+RUBY_FILEUTILS_VERSION=                1.4.1
+RUBY_FORWARDABLE_VERSION=      1.3.1
+RUBY_GETOPTLONG_VERSION=       0.1.0
+RUBY_IO_CONSOLE_VERSION=       0.5.3
+
+RUBY_JSON_VERSION=             2.3.0
+RUBY_LOGGER_VERSION=           1.4.2
+RUBY_MATRIX_VERSION=           0.2.0
+RUBY_MUTEX_M_VERSION=          0.1.0
+RUBY_OPENSSL_VERSION=          2.1.2
+RUBY_OSTRUCT_VERSION=          0.2.0
+RUBY_PRIME_VERSION=            0.1.1
+RUBY_PSYCH_VERSION=            3.1.0
+RUBY_REXML_VERSION=            3.2.3
+RUBY_RSS_VERSION=              0.2.8
+RUBY_SDBM_VERSION=             1.0.0
+RUBY_STRINGIO_VERSION=         0.1.0
+RUBY_STRSCAN_VERSION=          1.0.3
+RUBY_TRACER_VERSION=           0.1.0
+RUBY_WEBRICK_VERSION=          1.6.0
+RUBY_ZLIB_VERSION=             1.1.0
+
+RUBY_SUFFIX=   ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
+
 .else
 PKG_FAIL_REASON+=      "Unknown Ruby version specified: ${RUBY_VER}."
 .endif
@@ -601,6 +657,7 @@
        RUBY_FCNTL_VERSION=${RUBY_FCNTL_VERSION} \
        RUBY_FILEUTILS_VERSION=${RUBY_FILEUTILS_VERSION} \
        RUBY_FORWARDABLE_VERSION=${RUBY_FORWARDABLE_VERSION} \
+       RUBY_GETOPTLONG_VERSION=${RUBY_GETOPTLONG_VERSION} \
        RUBY_IO_CONSOLE_VERSION=${RUBY_IO_CONSOLE_VERSION} \
        RUBY_IPADDR_VERSION=${RUBY_IPADDR_VERSION} \
        RUBY_JSON_VERSION=${RUBY_JSON_VERSION} \
@@ -611,6 +668,7 @@
        RUBY_OSTRUCT_VERSION=${RUBY_OSTRUCT_VERSION} \
        RUBY_PRIME_VERSION=${RUBY_PRIME_VERSION} \
        RUBY_PSYCH_VERSION=${RUBY_PSYCH_VERSION} \
+       RUBY_RACC_VERSION=${RUBY_RACC_VERSION} \
        RUBY_REXML_VERSION=${RUBY_REXML_VERSION} \
        RUBY_RSS_VERSION=${RUBY_RSS_VERSION} \
        RUBY_SCANF_VERSION=${RUBY_SCANF_VERSION} \



Home | Main Index | Thread Index | Old Index