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
This commit is contained in:
parent
25c2ed5e97
commit
df53a093a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441246
4 changed files with 46 additions and 0 deletions
|
@ -4085,6 +4085,7 @@
|
||||||
SUBDIR += py-Products.contentmigration
|
SUBDIR += py-Products.contentmigration
|
||||||
SUBDIR += py-Products.statusmessages
|
SUBDIR += py-Products.statusmessages
|
||||||
SUBDIR += py-Products.validation
|
SUBDIR += py-Products.validation
|
||||||
|
SUBDIR += py-PyExecJS
|
||||||
SUBDIR += py-PyLD
|
SUBDIR += py-PyLD
|
||||||
SUBDIR += py-RPyC
|
SUBDIR += py-RPyC
|
||||||
SUBDIR += py-Record
|
SUBDIR += py-Record
|
||||||
|
|
28
devel/py-PyExecJS/Makefile
Normal file
28
devel/py-PyExecJS/Makefile
Normal file
|
@ -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>
|
3
devel/py-PyExecJS/distinfo
Normal file
3
devel/py-PyExecJS/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1495173948
|
||||||
|
SHA256 (PyExecJS-1.4.0.zip) = 31346cdf19d1e64840f0104f8be1c1231cb9ce3de9919828419814567cc2e691
|
||||||
|
SIZE (PyExecJS-1.4.0.zip) = 22179
|
14
devel/py-PyExecJS/pkg-descr
Normal file
14
devel/py-PyExecJS/pkg-descr
Normal file
|
@ -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
|
Loading…
Reference in a new issue