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.6
details: https://anonhg.NetBSD.org/pkgsrc/rev/dcca5e58fa6d
branches: trunk
changeset: 329253:dcca5e58fa6d
user: taca <taca%pkgsrc.org@localhost>
date: Sun Feb 03 13:36:47 2019 +0000
description:
lang/ruby: add support for Ruby 2.6
* Add support for Ruby 2.6 with release 2.6.1.
diffstat:
lang/ruby/rubyversion.mk | 100 ++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 91 insertions(+), 9 deletions(-)
diffs (173 lines):
diff -r 112c942406a2 -r dcca5e58fa6d lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk Sun Feb 03 13:34:23 2019 +0000
+++ b/lang/ruby/rubyversion.mk Sun Feb 03 13:36:47 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.199 2019/01/13 02:39:04 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.200 2019/02/03 13:36:47 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: 22 23 24 25
+# Possible values: 22 23 24 25 26
# Default: 24
#
# RUBY_BUILD_RDOC
@@ -41,8 +41,8 @@
# RUBY_VERSIONS_ACCEPTED
# The Ruby versions that are acceptable for the package.
#
-# Possible values: 22 23 24 25
-# Default: 23 24 25
+# Possible values: 22 23 24 25 26
+# Default: 23 24 25 26
#
# 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: 22 23 24 25
+# Possible values: 22 23 24 25 26
#
# Use this variable in pkgsrc's Makefile
#
@@ -107,7 +107,7 @@
# RUBY_SUFFIX
# Extra string for each ruby commands; ruby, irb and so on.
#
-# Possible values: 22 23 24 25
+# Possible values: 22 23 24 25 26
#
# RUBY_VERSION
# Version of Ruby's version.
@@ -218,20 +218,22 @@
RUBY23_VERSION= 2.3.8
RUBY24_VERSION= 2.4.5
RUBY25_VERSION= 2.5.3
+RUBY26_VERSION= 2.6.1
# current API compatible version; used for version of shared library
RUBY22_API_VERSION= 2.2.0
RUBY23_API_VERSION= 2.3.0
RUBY24_API_VERSION= 2.4.0
RUBY25_API_VERSION= 2.5.0
+RUBY26_API_VERSION= 2.6.0
#
RUBY_VERSION_DEFAULT?= 24
# supported Ruby's version
-RUBY_VERSIONS_SUPPORTED= 24 25 23 22
+RUBY_VERSIONS_SUPPORTED= 24 25 26 23 22
-RUBY_VERSIONS_ACCEPTED?= 24 25 23
+RUBY_VERSIONS_ACCEPTED?= 24 25 26 23
RUBY_VERSIONS_INCOMPATIBLE?=
.if empty(RUBY_VERSIONS_SUPPORTED:M${RUBY_VERSION_DEFAULT})
@@ -349,6 +351,57 @@
RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
+.elif ${RUBY_VER} == "26"
+RUBY_VERSION= ${RUBY26_VERSION}
+RUBY_ABI_VERSION= ${RUBY_VERSION}
+
+RUBY_RDOC_VERSION= 6.1.0
+
+RUBY_DID_YOU_MEAN_VERSION= 1.3.0
+RUBY_IRB_VERSION= 1.0.0
+RUBY_MINITEST_VERSION= 5.11.3
+RUBY_NET_TELNET_VERSION= 0.2.0
+RUBY_POWER_ASSERT_VERSION= 1.1.3
+RUBY_RAKE_VERSION= 12.3.2
+RUBY_TEST_UNIT_VERSION= 3.2.9
+RUBY_XML_RPC_VERSION= 0.3.0
+
+RUBY_BIGDECIMAL_VERSION= 1.4.1
+RUBY_BUNDLER_VERSION= 1.17.2
+RUBY_CMATH_VERSION= 1.0.0
+RUBY_CSV_VERSION= 3.0.4
+RUBY_DATE_VERSION= 2.0.0
+RUBY_DBM_VERSION= 1.0.0
+RUBY_E2MMAP_VERSION= 0.1.0
+RUBY_ETC_VERSION= 1.0.1
+RUBY_FCNTL_VERSION= 1.0.0
+RUBY_FILEUTILS_VERSION= 1.1.0
+RUBY_FORWARDABLE_VERSION= 1.2.0
+RUBY_IO_CONSOLE_VERSION= 0.4.7
+RUBY_IPADDR_VERSION= 1.2.2
+RUBY_JSON_VERSION= 2.1.0
+RUBY_LOGGER_VERSION= 1.3.0
+RUBY_MATRIX_VERSION= 0.1.0
+RUBY_MUTEX_M_VERSION= 0.1.0
+RUBY_OPENSSL_VERSION= 2.1.2
+RUBY_OSTRUCT_VERSION= 0.1.0
+RUBY_PRIME_VERSION= 0.1.0
+RUBY_PSYCH_VERSION= 3.1.0
+RUBY_REXML_VERSION= 3.1.9
+RUBY_RSS_VERSION= 0.2.7
+RUBY_SCANF_VERSION= 1.0.0
+RUBY_SDBM_VERSION= 1.0.0
+RUBY_SHELL_VERSION= 0.7
+RUBY_STRINGIO_VERSION= 0.0.2
+RUBY_STRSCAN_VERSION= 1.0.0
+RUBY_SYNC_VERSION= 0.5.0
+RUBY_THWAIT_VERSION= 0.1.0
+RUBY_TRACER_VERSION= 0.1.0
+RUBY_WEBRICK_VERSION= 1.4.2
+RUBY_ZLIB_VERSION= 1.0.0
+
+RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
+
.else
PKG_FAIL_REASON+= "Unknown Ruby version specified: ${RUBY_VER}."
.endif
@@ -560,12 +613,41 @@
RUBY_MAJOR_MINOR=${RUBY_MAJOR_MINOR} RUBY_NAME=${RUBY_NAME} \
RUBY_RAKE_VERSION=${RUBY_RAKE_VERSION} \
RUBY_RDOC_VERSION=${RUBY_RDOC_VERSION} \
- RUBY_JSON_VERSION=${RUBY_JSON_VERSION} \
RUBY_BIGDECIMAL_VERSION=${RUBY_BIGDECIMAL_VERSION} \
+ RUBY_BUNDLER_VERSION=${RUBY_BUNDLER_VERSION} \
+ RUBY_CMATH_VERSION=${RUBY_CMATH_VERSION} \
+ RUBY_CSV_VERSION=${RUBY_CSV_VERSION} \
+ RUBY_DATE_VERSION=${RUBY_DATE_VERSION} \
+ RUBY_DBM_VERSION=${RUBY_DBM_VERSION} \
+ RUBY_E2MMAP_VERSION=${RUBY_E2MMAP_VERSION} \
+ RUBY_ETC_VERSION=${RUBY_ETC_VERSION} \
+ RUBY_FCNTL_VERSION=${RUBY_FCNTL_VERSION} \
+ RUBY_FILEUTILS_VERSION=${RUBY_FILEUTILS_VERSION} \
+ RUBY_FORWARDABLE_VERSION=${RUBY_FORWARDABLE_VERSION} \
RUBY_IO_CONSOLE_VERSION=${RUBY_IO_CONSOLE_VERSION} \
+ RUBY_IPADDR_VERSION=${RUBY_IPADDR_VERSION} \
+ RUBY_JSON_VERSION=${RUBY_JSON_VERSION} \
+ RUBY_LOGGER_VERSION=${RUBY_LOGGER_VERSION} \
+ RUBY_MATRIX_VERSION=${RUBY_MATRIX_VERSION} \
+ RUBY_MUTEX_M_VERSION=${RUBY_MUTEX_M_VERSION} \
RUBY_OPENSSL_VERSION=${RUBY_OPENSSL_VERSION} \
+ RUBY_OSTRUCT_VERSION=${RUBY_OSTRUCT_VERSION} \
+ RUBY_PRIME_VERSION=${RUBY_PRIME_VERSION} \
RUBY_PSYCH_VERSION=${RUBY_PSYCH_VERSION} \
+ RUBY_REXML_VERSION=${RUBY_REXML_VERSION} \
+ RUBY_RSS_VERSION=${RUBY_RSS_VERSION} \
+ RUBY_SCANF_VERSION=${RUBY_SCANF_VERSION} \
+ RUBY_SDBM_VERSION=${RUBY_SDBM_VERSION} \
+ RUBY_SHELL_VERSION=${RUBY_SHELL_VERSION} \
+ RUBY_STRINGIO_VERSION=${RUBY_STRINGIO_VERSION} \
+ RUBY_STRSCAN_VERSION=${RUBY_STRSCAN_VERSION} \
+ RUBY_SYNC_VERSION=${RUBY_SYNC_VERSION} \
+ RUBY_THWAIT_VERSION=${RUBY_THWAIT_VERSION} \
+ RUBY_TRACER_VERSION=${RUBY_TRACER_VERSION} \
+ RUBY_WEBRICK_VERSION=${RUBY_WEBRICK_VERSION} \
+ RUBY_ZLIB_VERSION=${RUBY_ZLIB_VERSION} \
RUBY_DID_YOU_MEAN_VERSION=${RUBY_DID_YOU_MEAN_VERSION} \
+ RUBY_IRB_VERSION=${RUBY_IRB_VERSION} \
RUBY_MINITEST_VERSION=${RUBY_MINITEST_VERSION} \
RUBY_NET_TELNET_VERSION=${RUBY_NET_TELNET_VERSION} \
RUBY_POWER_ASSERT_VERSION=${RUBY_POWER_ASSERT_VERSION} \
Home |
Main Index |
Thread Index |
Old Index