git: 190069aad506 - main - devel/rubygem-execjs: Update to 2.8.1
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jun 30 20:48:26 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=190069aad506199c63cf76032aa12fa3cdf55be1
commit 190069aad506199c63cf76032aa12fa3cdf55be1
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-30 20:40:13 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-30 20:44:12 +0000
devel/rubygem-execjs: Update to 2.8.1
- Simplify *_DESC by removing node versions
Changes: https://github.com/rails/execjs/releases
---
devel/rubygem-execjs/Makefile | 8 ++++----
devel/rubygem-execjs/distinfo | 6 +++---
devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/devel/rubygem-execjs/Makefile b/devel/rubygem-execjs/Makefile
index 222fc95c31c1..aa487aa956a2 100644
--- a/devel/rubygem-execjs/Makefile
+++ b/devel/rubygem-execjs/Makefile
@@ -1,7 +1,7 @@
# Created by: Steve Wills <swills at FreeBSD.org>
PORTNAME= execjs
-PORTVERSION= 2.7.0
+PORTVERSION= 2.8.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -19,13 +19,13 @@ NO_ARCH= yes
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= NODE NODE14
OPTIONS_DEFAULT=NODE
-NODE_DESC= Use Node.js 16.x (www/node) as backend
-NODE14_DESC= Use Node.js 14.x (www/node14) as backend
+NODE_DESC= Use www/node as backend
+NODE14_DESC= Use www/node14 as backend
NODE_RUN_DEPENDS= node>=0:www/node
NODE14_RUN_DEPENDS= node14>=0:www/node14
post-patch:
- @${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#' ${WRKSRC}/lib/execjs/runtimes.rb
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/lib/execjs/runtimes.rb
.include <bsd.port.mk>
diff --git a/devel/rubygem-execjs/distinfo b/devel/rubygem-execjs/distinfo
index ddee57ab4581..3911dd9a97d2 100644
--- a/devel/rubygem-execjs/distinfo
+++ b/devel/rubygem-execjs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1464328846
-SHA256 (rubygem/execjs-2.7.0.gem) = e1fae0c5c831934c47d92363b4ea66ef2951350ab91b5d8d3174342b9c2ee5fb
-SIZE (rubygem/execjs-2.7.0.gem) = 17408
+TIMESTAMP = 1624630282
+SHA256 (rubygem/execjs-2.8.1.gem) = 6d939919cfd81bcc4d6556f322c3995a70cfe4289ea0bd3b1f999b489c323088
+SIZE (rubygem/execjs-2.8.1.gem) = 17408
diff --git a/devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb b/devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb
index dd91f48e28ae..718a1c098e82 100644
--- a/devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb
+++ b/devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb
@@ -1,11 +1,11 @@
---- lib/execjs/runtimes.rb.orig 2016-04-25 16:51:44 UTC
+--- lib/execjs/runtimes.rb.orig 2021-06-28 15:24:59 UTC
+++ lib/execjs/runtimes.rb
@@ -17,7 +17,7 @@ module ExecJS
Node = ExternalRuntime.new(
name: "Node.js (V8)",
-- command: ["nodejs", "node"],
-+ command: ["nodejs", "node", "%%LOCALBASE%%/bin/node"],
+- command: ["node", "nodejs"],
++ command: ["%%LOCALBASE%%/bin/node", "node", "nodejs"],
runner_path: ExecJS.root + "/support/node_runner.js",
encoding: 'UTF-8'
)
More information about the dev-commits-ports-all
mailing list