Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2019 16:40:04 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502595 - in head/devel/py-PyExecJS: . files
Message-ID:  <201905251640.x4PGe4wx047243@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat May 25 16:40:04 2019
New Revision: 502595
URL: https://svnweb.freebsd.org/changeset/ports/502595

Log:
  devel/py-PyExecJS: switch to more modern lang/spidermonkey52
  
  Requested by:	bapt

Added:
  head/devel/py-PyExecJS/files/
  head/devel/py-PyExecJS/files/patch-execjs___external__runtime.py   (contents, props changed)
Modified:
  head/devel/py-PyExecJS/Makefile

Modified: head/devel/py-PyExecJS/Makefile
==============================================================================
--- head/devel/py-PyExecJS/Makefile	Sat May 25 16:36:44 2019	(r502594)
+++ head/devel/py-PyExecJS/Makefile	Sat May 25 16:40:04 2019	(r502595)
@@ -2,6 +2,7 @@
 
 PORTNAME=	PyExecJS
 DISTVERSION=	1.5.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,8 +20,8 @@ OPTIONS_GROUP=		RUNTIME
 OPTIONS_GROUP_RUNTIME=	NODE SPIDERMONKEY PHANTOMJS
 NODE_DESC=		Use www/node as JavaScript backend
 NODE_RUN_DEPENDS=	node>=0.8.0:www/node
-SPIDERMONKEY_DESC=	Use lang/spidermonkey24 as JavaScript backend
-SPIDERMONKEY_RUN_DEPENDS=	js:lang/spidermonkey24
+SPIDERMONKEY_DESC=	Use lang/spidermonkey52 as JavaScript backend
+SPIDERMONKEY_RUN_DEPENDS=	js52:lang/spidermonkey52
 PHANTOMJS_DESC=		Use lang/phantomjs as JavaScript backend
 PHANTOMJS_RUN_DEPENDS=	phantomjs:lang/phantomjs
 OPTIONS_DEFAULT=	NODE

Added: head/devel/py-PyExecJS/files/patch-execjs___external__runtime.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-PyExecJS/files/patch-execjs___external__runtime.py	Sat May 25 16:40:04 2019	(r502595)
@@ -0,0 +1,11 @@
+--- execjs/_external_runtime.py.orig	2019-05-25 16:38:20 UTC
++++ execjs/_external_runtime.py
+@@ -251,7 +251,7 @@ def jsc():
+ def spidermonkey():
+     return ExternalRuntime(
+         name="SpiderMonkey",
+-        command=["js"],
++        command=["js52"],
+         runner_source=_runner_sources.SpiderMonkey,
+         tempfile=True
+     )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905251640.x4PGe4wx047243>