Created attachment 229402 [details] Patch file Add preview1 of Ruby 3.3 series. To handle pre-release version, Mk/bsd.ruby.mk is changed as following. * New variable RUBY_DISTVERSION is introduced and the value is set correcponding to each standard ruby port in ports tree. * The value of RUBY_VERSION, RUBY_PORTVERSION, RUBY_WRKSRC and RUBY_DISTNAME is set by using that of RUBY_DISTVERSION These changes are unnecessary after this port is updated to final release of 3.1.0. But I would like to keep them as they will be required again when we add pre-release version of Ruby 3.2 to ports tree. ReleaseNotes: https://www.ruby-lang.org/en/news/2021/11/09/ruby-3-1-0-preview1-released/
@ruby I'd like to ask for the review of attached patch with following reasons. * MAINTAINER of the port is set to ruby@. * Mk/bsd.ruby.mk is changed to handle pre-release version, and I'd like to keep the changes after this port is updated to final release of 3.1.0. Best Regards.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=633b51aa6f3efa1e4cc4ebcf07b95880cdd9a3fe commit 633b51aa6f3efa1e4cc4ebcf07b95880cdd9a3fe Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2021-11-09 15:19:42 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-12-19 00:34:57 +0000 lang/ruby31: Add new port Add preview1 of Ruby 3.3 series. To handle pre-release version, Mk/bsd.ruby.mk is changed as following. * New variable RUBY_DISTVERSION is introduced. It keeps DISTVERSION of each ruby port (lang/rubyXY). * The value of RUBY_VERSION, RUBY_PORTVERSION, RUBY_WRKSRC and RUBY_DISTNAME is set by using that of RUBY_DISTVERSION ReleaseNotes: https://www.ruby-lang.org/en/news/2021/11/09/ruby-3-1-0-preview1-released/ PR: 259746 Approved by: maintainer timeout (> 1 month) Mk/bsd.default-versions.mk | 2 +- Mk/bsd.ruby.mk | 29 +- lang/Makefile | 1 + lang/ruby31/Makefile (new) | 216 + lang/ruby31/distinfo (new) | 3 + lang/ruby31/files/patch-configure.ac (new) | 19 + lang/ruby31/files/patch-lib_mkmf.rb (new) | 11 + .../patch-lib_rdoc_generator_json__index.rb (new) | 20 + lang/ruby31/files/patch-tool_mkconfig.rb (new) | 14 + lang/ruby31/files/patch-tool_rbinstall.rb (new) | 189 + lang/ruby31/pkg-descr (new) | 19 + lang/ruby31/pkg-message (new) | 37 + lang/ruby31/pkg-plist (new) | 14379 +++++++++++++++++++ 13 files changed, 14930 insertions(+), 9 deletions(-)