pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/ruby
Module Name: pkgsrc
Committed By: taca
Date: Sat Jan 21 13:50:16 UTC 2023
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
Log Message:
lang/ruby/rubyversion.mk: add Ruby 3.2 support
* Add support Ruby 3.2.0.
* Clear included gems into default gem and bundled gem up.
To generate a diff of this commit:
cvs rdiff -u -r1.258 -r1.259 pkgsrc/lang/ruby/rubyversion.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/ruby/rubyversion.mk
diff -u pkgsrc/lang/ruby/rubyversion.mk:1.258 pkgsrc/lang/ruby/rubyversion.mk:1.259
--- pkgsrc/lang/ruby/rubyversion.mk:1.258 Sat Nov 26 13:09:58 2022
+++ pkgsrc/lang/ruby/rubyversion.mk Sat Jan 21 13:50:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.258 2022/11/26 13:09:58 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.259 2023/01/21 13:50:16 taca Exp $
#
# This file determines which Ruby version is used as a dependency for
@@ -10,7 +10,7 @@
# RUBY_VERSION_DEFAULT
# The preferred Ruby version to use.
#
-# Possible values: 27 30 31
+# Possible values: 27 30 31 32
# Default: 31
#
# RUBY_BUILD_DOCUMENT
@@ -34,13 +34,13 @@
# RUBY_VERSIONS_ACCEPTED
# The Ruby versions that are acceptable for the package.
#
-# Possible values: 27 30 31
+# Possible values: 27 30 31 32
# Default: 31 30 27
#
# RUBY_VERSIONS_INCOMPATIBLE
# The Ruby versions that are incompatible for the package.
#
-# Possible values: 27 30 31
+# Possible values: 27 30 31 32
# Default: empty
#
# RUBY_NOVERSION
@@ -68,7 +68,7 @@
# RUBY_VER
# Really selected version of ruby.
#
-# Possible values: 27 30 31
+# Possible values: 27 30 31 32
#
# 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 for each version of Ruby.
#
-# Possible values: ruby27 ruby30 ruby31
+# Possible values: ruby27 ruby30 ruby31 ruby32
#
# 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: 27 30 31
+# Possible values: 27 30 31 32
#
# RUBY_VERSION
# Version of Ruby's version.
@@ -216,19 +216,21 @@ RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/rub
RUBY27_VERSION= 2.7.7
RUBY30_VERSION= 3.0.5
RUBY31_VERSION= 3.1.3
+RUBY32_VERSION= 3.2.0
# current API compatible version; used for version of shared library
RUBY27_API_VERSION= 2.7.0
RUBY30_API_VERSION= 3.0.0
RUBY31_API_VERSION= 3.1.0
+RUBY32_API_VERSION= 3.2.0
#
RUBY_VERSION_DEFAULT?= 31
# supported Ruby's version
-RUBY_VERSIONS_SUPPORTED= 27 30 31
+RUBY_VERSIONS_SUPPORTED= 27 30 31 32
-RUBY_VERSIONS_ACCEPTED?= 31 30 27
+RUBY_VERSIONS_ACCEPTED?= 31 30 27 32
RUBY_VERSIONS_INCOMPATIBLE?=
.if empty(RUBY_VERSIONS_SUPPORTED:M${RUBY_VERSION_DEFAULT})
@@ -272,8 +274,7 @@ RUBY_VERSION= ${RUBY27_VERSION}
RUBY_ABI_VERSION= ${RUBY_VERSION}
RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
-# bundled gems
-RUBY_RUBYGEMS_VER= 3.1.6
+# default gems
RUBY_BENCHMARK_VER= 0.1.0
RUBY_BIGDECIMAL_VER= 2.0.0
RUBY_BUNDLER_VER= 2.1.4
@@ -288,6 +289,7 @@ RUBY_FCNTL_VER= 1.0.0
RUBY_FIDDLE_VER= 1.0.0
RUBY_FILEUTILS_VER= 1.4.1
RUBY_FORWARDABLE_VER= 1.3.1
+RUBY_GDBM_VER= 2.1.0
RUBY_GETOPTLONG_VER= 0.1.0
RUBY_IO_CONSOLE_VER= 0.5.6
RUBY_IPADDR_VER= 1.2.2
@@ -295,47 +297,49 @@ RUBY_IRB_VER= 1.2.6
RUBY_JSON_VER= 2.3.0
RUBY_LOGGER_VER= 1.4.2
RUBY_MATRIX_VER= 0.2.0
-RUBY_MINITEST_VER= 5.13.0
RUBY_MUTEX_M_VER= 0.1.0
RUBY_NET_POP_VER= 0.1.0
RUBY_NET_SMTP_VER= 0.1.0
-RUBY_NET_TELNET_VER= 0.2.0
RUBY_OBSERVER_VER= 0.1.0
RUBY_OPEN3_VER= 0.1.0
RUBY_OPENSSL_VER= 2.1.4
RUBY_OSTRUCT_VER= 0.2.0
-RUBY_POWER_ASSERT_VER= 1.1.7
RUBY_PRIME_VER= 0.1.1
RUBY_PSTORE_VER= 0.1.0
RUBY_PSYCH_VER= 3.1.0
RUBY_RACC_VER= 1.4.16
-RUBY_RAKE_VER= 13.0.1
RUBY_RDOC_VER= 6.2.1.1
RUBY_READLINE_VER= 0.0.2
RUBY_RELINE_VER= 0.1.5
RUBY_REXML_VER= 3.2.3.1
RUBY_RSS_VER= 0.2.8
+RUBY_RUBYGEMS_VER= 3.1.6
RUBY_SDBM_VER= 1.0.0
RUBY_SINGLETON_VER= 0.1.0
RUBY_STRINGIO_VER= 0.1.0
RUBY_STRSCAN_VER= 1.0.3
-RUBY_TEST_UNIT_VER= 3.3.4
RUBY_TIMEOUT_VER= 0.1.0
RUBY_TRACER_VER= 0.1.0
RUBY_URI_VER= 0.10.0
RUBY_WEBRICK_VER= 1.6.1
-RUBY_XMLRPC_VER= 0.3.0
RUBY_YAML_VER= 0.1.0
RUBY_ZLIB_VER= 1.1.0
+# bundled gems
+RUBY_MINITEST_VER= 5.13.0
+RUBY_NET_TELNET_VER= 0.2.0
+RUBY_POWER_ASSERT_VER= 1.1.7
+RUBY_RAKE_VER= 13.0.1
+RUBY_TEST_UNIT_VER= 3.3.4
+RUBY_XMLRPC_VER= 0.3.0
+
.elif ${RUBY_VER} == 30
RUBY_VERSION= ${RUBY30_VERSION}
RUBY_ABI_VERSION= ${RUBY_VERSION}
RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
-# bundled gems
-RUBY_RUBYGEMS_VER= 3.2.32
+# default gems
RUBY_ABBREV_VER= 0.1.0
RUBY_BASE64_VER= 0.1.0
RUBY_BENCHMARK_VER= 0.1.1
@@ -358,6 +362,7 @@ RUBY_FIDDLE_VER= 1.0.8
RUBY_FILEUTILS_VER= 1.5.0
RUBY_FIND_VER= 0.1.0
RUBY_FORWARDABLE_VER= 1.3.2
+RUBY_GDBM_VER= 2.1.0
RUBY_GETOPTLONG_VER= 0.1.1
RUBY_IO_CONSOLE_VER= 0.5.7
RUBY_IO_NONBLOCK_VER= 0.1.0
@@ -367,7 +372,6 @@ RUBY_IRB_VER= 1.3.5
RUBY_JSON_VER= 2.5.1
RUBY_LOGGER_VER= 1.4.3
RUBY_MATRIX_VER= 0.3.1
-RUBY_MINITEST_VER= 5.14.2
RUBY_MUTEX_M_VER= 0.1.1
RUBY_NET_FTP_VER= 0.1.2
RUBY_NET_HTTP_VER= 0.1.1
@@ -377,29 +381,25 @@ RUBY_NET_PROTOCOL_VER= 0.1.1
RUBY_NET_SMTP_VER= 0.2.1
RUBY_NKF_VER= 0.1.0
RUBY_OBSERVER_VER= 0.1.1
-RUBY_OPEN_URI_VER= 0.1.0
RUBY_OPEN3_VER= 0.1.1
RUBY_OPENSSL_VER= 2.2.2
+RUBY_OPEN_URI_VER= 0.1.0
RUBY_OPTPARSE_VER= 0.1.1
RUBY_OSTRUCT_VER= 0.3.1
RUBY_PATHNAME_VER= 0.1.0
-RUBY_POWER_ASSERT_VER= 1.2.0
RUBY_PP_VER= 0.2.1
RUBY_PRETTYPRINT_VER= 0.1.1
RUBY_PRIME_VER= 0.1.2
RUBY_PSTORE_VER= 0.1.1
RUBY_PSYCH_VER= 3.3.2
RUBY_RACC_VER= 1.5.2
-RUBY_RAKE_VER= 13.0.3
-RUBY_RBS_VER= 1.4.0
RUBY_RDOC_VER= 6.3.3
RUBY_READLINE_VER= 0.0.2
RUBY_RELINE_VER= 0.2.5
RUBY_RESOLV_VER= 0.2.1
RUBY_RESOLV_REPLACE_VER= 0.1.0
-RUBY_REXML_VER= 3.2.5
RUBY_RINDA_VER= 0.1.1
-RUBY_RSS_VER= 0.2.9
+RUBY_RUBYGEMS_VER= 3.2.32
RUBY_SECURERANDOM_VER= 0.1.0
RUBY_SET_VER= 1.0.1
RUBY_SHELLWORDS_VER= 0.1.0
@@ -408,26 +408,33 @@ RUBY_STRINGIO_VER= 3.0.1
RUBY_STRSCAN_VER= 3.0.1
RUBY_SYSLOG_VER= 0.1.0
RUBY_TEMPFILE_VER= 0.1.1
-RUBY_TEST_UNIT_VER= 3.3.7
RUBY_TIME_VER= 0.1.0
RUBY_TIMEOUT_VER= 0.1.1
RUBY_TMPDIR_VER= 0.1.2
RUBY_TRACER_VER= 0.1.1
RUBY_TSORT_VER= 0.1.0
-RUBY_TYPEPROF_VER= 0.15.2
RUBY_UN_VER= 0.1.0
RUBY_URI_VER= 0.10.1
RUBY_WEAKREF_VER= 0.1.1
RUBY_YAML_VER= 0.1.1
RUBY_ZLIB_VER= 2.0.0
+# bundled gems
+RUBY_MINITEST_VER= 5.14.2
+RUBY_POWER_ASSERT_VER= 1.2.0
+RUBY_RAKE_VER= 13.0.3
+RUBY_RBS_VER= 1.4.0
+RUBY_REXML_VER= 3.2.5
+RUBY_RSS_VER= 0.2.9
+RUBY_TEST_UNIT_VER= 3.3.7
+RUBY_TYPEPROF_VER= 0.15.2
+
.elif ${RUBY_VER} == 31
RUBY_VERSION= ${RUBY31_VERSION}
RUBY_ABI_VERSION= ${RUBY_VERSION}
RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
-# bundled gems
-RUBY_RUBYGEMS_VER= 3.3.26
+# default gems
RUBY_ABBREV_VER= 0.1.0
RUBY_BASE64_VER= 0.1.1
RUBY_BENCHMARK_VER= 0.2.0
@@ -436,7 +443,6 @@ RUBY_BUNDLER_VER= 2.3.26
RUBY_CGI_VER= 0.3.5
RUBY_CSV_VER= 3.2.5
RUBY_DATE_VER= 3.2.2
-RUBY_DEBUG_VER= 1.6.3
RUBY_DELEGATE_VER= 0.2.0
RUBY_DID_YOU_MEAN_VER= 1.6.1
RUBY_DIGEST_VER= 3.1.0
@@ -458,41 +464,31 @@ RUBY_IPADDR_VER= 1.2.4
RUBY_IRB_VER= 1.4.1
RUBY_JSON_VER= 2.6.1
RUBY_LOGGER_VER= 1.5.0
-RUBY_MATRIX_VER= 0.4.2
-RUBY_MINITEST_VER= 5.15.0
RUBY_MUTEX_M_VER= 0.1.1
-RUBY_NET_FTP_VER= 0.1.3
RUBY_NET_HTTP_VER= 0.3.0
-RUBY_NET_IMAP_VER= 0.2.3
-RUBY_NET_POP_VER= 0.1.1
RUBY_NET_PROTOCOL_VER= 0.1.2
-RUBY_NET_SMTP_VER= 0.3.1
RUBY_NKF_VER= 0.1.1
RUBY_OBSERVER_VER= 0.1.1
-RUBY_OPEN_URI_VER= 0.2.0
RUBY_OPEN3_VER= 0.1.1
RUBY_OPENSSL_VER= 3.0.1
+RUBY_OPEN_URI_VER= 0.2.0
RUBY_OPTPARSE_VER= 0.2.0
RUBY_OSTRUCT_VER= 0.5.2
RUBY_PATHNAME_VER= 0.2.0
-RUBY_POWER_ASSERT_VER= 2.0.1
RUBY_PP_VER= 0.3.0
RUBY_PRETTYPRINT_VER= 0.1.1
-RUBY_PRIME_VER= 0.1.2
RUBY_PSTORE_VER= 0.1.1
RUBY_PSYCH_VER= 4.0.4
RUBY_RACC_VER= 1.6.0
-RUBY_RAKE_VER= 13.0.6
-RUBY_RBS_VER= 2.7.0
RUBY_RDOC_VER= 6.4.0
RUBY_READLINE_VER= 0.0.3
+RUBY_READLINE_EXT_VER= 0.1.4
RUBY_RELINE_VER= 0.3.1
-RUBY_RESOLV_REPLACE_VER= 0.1.0
RUBY_RESOLV_VER= 0.2.1
-RUBY_REXML_VER= 3.2.5
+RUBY_RESOLV_REPLACE_VER= 0.1.0
RUBY_RINDA_VER= 0.1.1
-RUBY_RSS_VER= 0.2.9
RUBY_RUBY2_KEYWORDS_VER= 0.0.5
+RUBY_RUBYGEMS_VER= 3.3.26
RUBY_SECURERANDOM_VER= 0.2.0
RUBY_SET_VER= 1.0.2
RUBY_SHELLWORDS_VER= 0.1.0
@@ -501,19 +497,131 @@ RUBY_STRINGIO_VER= 3.0.1
RUBY_STRSCAN_VER= 3.0.1
RUBY_SYSLOG_VER= 0.1.0
RUBY_TEMPFILE_VER= 0.1.2
-RUBY_TEST_UNIT_VER= 3.5.3
RUBY_TIME_VER= 0.2.0
RUBY_TIMEOUT_VER= 0.2.0
RUBY_TMPDIR_VER= 0.1.2
-RUBY_TRACER_VER= 0.1.1
RUBY_TSORT_VER= 0.1.0
-RUBY_TYPEPROF_VER= 0.21.3
RUBY_UN_VER= 0.2.0
RUBY_URI_VER= 0.11.0
RUBY_WEAKREF_VER= 0.1.1
RUBY_YAML_VER= 0.2.0
RUBY_ZLIB_VER= 2.1.1
+# bundled gems
+RUBY_DEBUG_VER= 1.6.3
+RUBY_MATRIX_VER= 0.4.2
+RUBY_MINITEST_VER= 5.15.0
+RUBY_NET_FTP_VER= 0.1.3
+RUBY_NET_IMAP_VER= 0.2.3
+RUBY_NET_POP_VER= 0.1.1
+RUBY_NET_SMTP_VER= 0.3.1
+RUBY_POWER_ASSERT_VER= 2.0.1
+RUBY_PRIME_VER= 0.1.2
+RUBY_RAKE_VER= 13.0.6
+RUBY_RBS_VER= 2.7.0
+RUBY_REXML_VER= 3.2.5
+RUBY_RSS_VER= 0.2.9
+RUBY_TEST_UNIT_VER= 3.5.3
+RUBY_TRACER_VER= 0.1.1
+RUBY_TYPEPROF_VER= 0.21.3
+
+.elif ${RUBY_VER} == 32
+RUBY_VERSION= ${RUBY32_VERSION}
+RUBY_ABI_VERSION=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= 0.4.0
+RUBY_PRETTYPRINT_VER= 0.1.1
+RUBY_PSTORE_VER= 0.1.2
+RUBY_PSYCH_VER= 5.0.1
+RUBY_RACC_VER= 1.6.2
+RUBY_RDOC_VER= 6.5.0
+RUBY_READLINE_VER= 0.0.3
+RUBY_READLINE_EXT_VER= 0.1.5
+RUBY_RELINE_VER= 0.3.2
+RUBY_RESOLV_REPLACE_VER= 0.1.1
+RUBY_RESOLV_VER= 0.2.2
+RUBY_RINDA_VER= 0.1.1
+RUBY_RUBY2_KEYWORDS_VER= 0.0.5
+RUBY_SECURERANDOM_VER= 0.2.2
+RUBY_SET_VER= 1.0.3
+RUBY_SHELLWORDS_VER= 0.1.0
+RUBY_SINGLETON_VER= 0.1.1
+RUBY_STRINGIO_VER= 3.0.4
+RUBY_STRSCAN_VER= 3.0.5
+RUBY_SYSLOG_VER= 0.1.1
+RUBY_SYNTAX_SUGGEST_VER= 1.0.2
+RUBY_TEMPFILE_VER= 0.1.3
+RUBY_TIME_VER= 0.2.1
+RUBY_TIMEOUT_VER= 0.3.1
+RUBY_TMPDIR_VER= 0.1.3
+RUBY_TRACER_VER= 0.1.1
+RUBY_TSORT_VER= 0.1.1
+RUBY_UN_VER= 0.2.1
+RUBY_URI_VER= 0.12.0
+RUBY_WEAKREF_VER= 0.1.2
+RUBY_YAML_VER= 0.2.1
+RUBY_ZLIB_VER= 3.0.0
+
+# bundled gems
+RUBY_DEBUG_VER= 1.7.1
+RUBY_MATRIX_VER= 0.4.2
+RUBY_MINITEST_VER= 5.16.3
+RUBY_NET_FTP_VER= 0.2.0
+RUBY_NET_IMAP_VER= 0.3.4
+RUBY_NET_POP_VER= 0.1.2
+RUBY_NET_SMTP_VER= 0.3.3
+RUBY_PRIME_VER= 0.1.2
+RUBY_POWER_ASSERT_VER= 2.0.3
+RUBY_RAKE_VER= 13.0.6
+RUBY_RBS_VER= 2.8.2
+RUBY_REXML_VER= 3.2.5
+RUBY_RSS_VER= 0.2.9
+RUBY_TEST_UNIT_VER= 3.5.7
+RUBY_TYPEPROF_VER= 0.21.3
+
.else
PKG_FAIL_REASON+= "Unknown Ruby version specified: ${RUBY_VER}."
.endif
@@ -540,8 +648,8 @@ RUBY_NOVERSION?= No
# is defined from version of Ruby. It should not be used in packages'
# Makefile.
#
-_RUBY_VER_MAJOR= ${RUBY_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\1/}
-_RUBY_VER_MINOR= ${RUBY_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\2/}
+_RUBY_VER_MAJOR= ${RUBY_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+).*/\1/}
+_RUBY_VER_MINOR= ${RUBY_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+).*/\2/}
RUBY_NAME= ruby${RUBY_SUFFIX}
RUBYGEM_NAME= gem${RUBY_SUFFIX}
@@ -706,9 +814,10 @@ RUBY_BUNDLE_MODULES= \
openssl optparse ostruct pathname power_assert pp prettyprint \
prime pstore psych racc rake rbs rdoc readline reline resolv \
resolv-replace rexml rinda rss ruby2_keywords scanf sdbm \
- securerandom set shell shellwords singleton stringio strscan sync \
- syslog tempfile test-unit thwait time timeout tmpdir tracer tsort \
- typeprof un uri sync weakref webrick xmlrpc yaml zlib
+ securerandom set shell shellwords singleton syntax_suggest \
+ stringio strscan sync syslog tempfile test-unit thwait time \
+ timeout tmpdir tracer tsort typeprof un uri sync weakref webrick \
+ xmlrpc yaml zlib
PLIST_RUBY_DIRS= RUBY_INC=${RUBY_INC:Q} RUBY_ARCHINC=${RUBY_ARCHINC:Q} \
RUBY_LIB_BASE=${RUBY_LIB_BASE:Q} \
Home |
Main Index |
Thread Index |
Old Index