Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2017 15:55:35 +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: r441246 - in head/devel: . py-PyExecJS
Message-ID:  <201705191555.v4JFtZFL093391@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Fri May 19 15:55:35 2017
New Revision: 441246
URL: https://svnweb.freebsd.org/changeset/ports/441246

Log:
  New port: devel/py-PyExecJS
  
  PyExecJS is a porting of ExecJS from Ruby. PyExecJS automatically picks the
  best runtime available to evaluate your JavaScript program.
  
  https://pypi.python.org/pypi/PyExecJS
  
  Approved by:    rakuco (mentor, implicit)
  Differential Revision:  https://reviews.freebsd.org/D10813

Added:
  head/devel/py-PyExecJS/
  head/devel/py-PyExecJS/Makefile   (contents, props changed)
  head/devel/py-PyExecJS/distinfo   (contents, props changed)
  head/devel/py-PyExecJS/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri May 19 15:46:31 2017	(r441245)
+++ head/devel/Makefile	Fri May 19 15:55:35 2017	(r441246)
@@ -4085,6 +4085,7 @@
     SUBDIR += py-Products.contentmigration
     SUBDIR += py-Products.statusmessages
     SUBDIR += py-Products.validation
+    SUBDIR += py-PyExecJS
     SUBDIR += py-PyLD
     SUBDIR += py-RPyC
     SUBDIR += py-Record

Added: head/devel/py-PyExecJS/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-PyExecJS/Makefile	Fri May 19 15:55:35 2017	(r441246)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	PyExecJS
+PORTVERSION=	1.4.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	tcberner@FreeBSD.org
+COMMENT=	Run JavaScript code from Python
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python zip
+USE_PYTHON=     distutils autoplist
+
+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
+PHANTOMJS_DESC=		Use lang/phantomjs as JavaScript backend
+PHANTOMJS_RUN_DEPENDS=	phantomjs:lang/phantomjs
+OPTIONS_DEFAULT=	NODE
+
+.include <bsd.port.mk>

Added: head/devel/py-PyExecJS/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-PyExecJS/distinfo	Fri May 19 15:55:35 2017	(r441246)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1495173948
+SHA256 (PyExecJS-1.4.0.zip) = 31346cdf19d1e64840f0104f8be1c1231cb9ce3de9919828419814567cc2e691
+SIZE (PyExecJS-1.4.0.zip) = 22179

Added: head/devel/py-PyExecJS/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-PyExecJS/pkg-descr	Fri May 19 15:55:35 2017	(r441246)
@@ -0,0 +1,14 @@
+PyExecJS is a porting of ExecJS from Ruby. PyExecJS automatically picks the
+best runtime available to evaluate your JavaScript program.
+
+Supported runtimes
+* PyV8 - A python wrapper for Google V8 engine,
+* Node.js
+* Apple JavaScriptCore - Included with Mac OS X
+* Mozilla SpiderMonkey
+* Microsoft Windows Script Host (JScript)
+* SlimerJS
+* PhantomJS
+* Nashorn - Included with Oracle Java 8
+
+WWW: https://pypi.python.org/pypi/PyExecJS



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