From owner-dev-commits-ports-all@freebsd.org Sun Apr 25 20:53:44 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D4805EB40A; Sun, 25 Apr 2021 20:53:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FT0cS2ZgSz4c5y; Sun, 25 Apr 2021 20:53:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3ACDA1AE44; Sun, 25 Apr 2021 20:53:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13PKriC6011635; Sun, 25 Apr 2021 20:53:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13PKri93011634; Sun, 25 Apr 2021 20:53:44 GMT (envelope-from git) Date: Sun, 25 Apr 2021 20:53:44 GMT Message-Id: <202104252053.13PKri93011634@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e9a5dbb3d4e2 - main - lang/ruby30: Update to 3.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e9a5dbb3d4e2d45e5bc40c288ce9d2869c68aebd Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2021 20:53:44 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9a5dbb3d4e2d45e5bc40c288ce9d2869c68aebd commit e9a5dbb3d4e2d45e5bc40c288ce9d2869c68aebd Author: Po-Chuan Hsieh AuthorDate: 2021-04-25 20:53:29 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-04-25 20:53:29 +0000 lang/ruby30: Update to 3.0.1 Changes: https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/ https://www.ruby-lang.org/en/news/2021/04/05/ruby-3-0-1-released/ PR: 251741 Reported by: Yasuhiro Kimura --- Mk/bsd.ruby.mk | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index f2b90ab0c85e..c72a168bb39a 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -162,8 +162,8 @@ RUBY27= "" # PLIST_SUB helpers # # Ruby 3.0 # -RUBY_DISTVERSION= 3.0.0-preview1 -RUBY_PORTREVISION= 2 +RUBY_VERSION= 3.0.1 +RUBY_PORTREVISION= 0 RUBY_PORTEPOCH= 1 RUBY30= "" # PLIST_SUB helpers @@ -178,16 +178,6 @@ _INVALID_RUBY_VER= 1 . endif .endif # defined(RUBY_VER) -.if defined(RUBY_DISTVERSION) -.if !defined(RUBY_VERSION) -RUBY_VERSION= ${RUBY_DISTVERSION:tl:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g} -.else -DEV_ERROR+= "Defining both RUBY_VERSION and RUBY_DISTVERSION is wrong, only set one" -.endif -.else -RUBY_DISTVERSION= ${RUBY_VERSION} -.endif - .if !defined(_INVALID_RUBY_VER) RUBY26?= "@comment " @@ -202,7 +192,7 @@ BROKEN= ${BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E}} .endif .endif -RUBY_WRKSRC= ${WRKDIR}/ruby-${RUBY_DISTVERSION} +RUBY_WRKSRC= ${WRKDIR}/ruby-${RUBY_VERSION} RUBY_CONFIGURE_ARGS+= --with-rubyhdrdir="${PREFIX}/include/ruby-${RUBY_VER}/" \ --with-rubylibprefix="${PREFIX}/lib/ruby" \ @@ -227,7 +217,7 @@ RUBY_DEFAULT_SUFFIX?= ${RUBY_DEFAULT_VER:S/.//} RUBY_PORTVERSION?= ${RUBY_VERSION} MASTER_SITE_SUBDIR_RUBY?= ${RUBY_VER} -RUBY_DISTNAME?= ruby-${RUBY_DISTVERSION} +RUBY_DISTNAME?= ruby-${RUBY_VERSION} RUBY_WRKSRC?= ${WRKDIR}/${RUBY_DISTNAME}