Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2019 08:35:51 +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: r499333 - in head/devel: . py-Js2Py
Message-ID:  <201904190835.x3J8ZpdO045161@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Fri Apr 19 08:35:51 2019
New Revision: 499333
URL: https://svnweb.freebsd.org/changeset/ports/499333

Log:
  New port: devel/py-Js2Py
  
  Pure Python JavaScript Translator/Interpreter
  
  Everything is done in 100% pure Python so it's extremely easy to install and
  use. Supports Python 2 & 3. Full support for ECMAScript 5.1, ECMA 6 support is
  still experimental.
  
  WWW: https://github.com/PiotrDabkowski/Js2Py

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Apr 19 08:33:47 2019	(r499332)
+++ head/devel/Makefile	Fri Apr 19 08:35:51 2019	(r499333)
@@ -4184,6 +4184,7 @@
     SUBDIR += py-IBMQuantumExperience
     SUBDIR += py-Jinja2
     SUBDIR += py-Jinja2-doc
+    SUBDIR += py-Js2Py
     SUBDIR += py-Missing
     SUBDIR += py-MultiMapping
     SUBDIR += py-PEAK-Rules

Added: head/devel/py-Js2Py/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-Js2Py/Makefile	Fri Apr 19 08:35:51 2019	(r499333)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	Js2Py
+PORTVERSION=	0.62
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	tcberner@FreeBSD.org
+COMMENT=	JavaScript to Python translator and interpreter
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyjsparser>=2.4.5:devel/py-pyjsparser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tzlocal>=1.2:devel/py-tzlocal@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-Js2Py/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-Js2Py/distinfo	Fri Apr 19 08:35:51 2019	(r499333)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1555660892
+SHA256 (Js2Py-0.62.tar.gz) = 2590f98966764ee7466eeb8f38c0af6a4de105e1e8758b931e01e1f6d5f29de5
+SIZE (Js2Py-0.62.tar.gz) = 834237

Added: head/devel/py-Js2Py/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-Js2Py/pkg-descr	Fri Apr 19 08:35:51 2019	(r499333)
@@ -0,0 +1,7 @@
+Translates JavaScript to Python code. Js2Py is able to translate and execute
+virtually any JavaScript code.
+
+Js2Py is written in pure python and does not have any dependencies. Basically
+an implementation of JavaScript core in pure python.
+
+WWW: https://pypi.org/project/Js2Py/



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