summaryrefslogtreecommitdiff
path: root/lang/py-js2py
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2018-03-26 16:30:10 +0000
committerjoerg <joerg@pkgsrc.org>2018-03-26 16:30:10 +0000
commit15dd3a72039f877923e79cfc428ccb42efa9919e (patch)
tree10ed18243bbd174b947cff703d2f1a2ca08e2328 /lang/py-js2py
parente1f2ae5f3db28e1af278cc451b97462bc5f801ab (diff)
downloadpkgsrc-15dd3a72039f877923e79cfc428ccb42efa9919e.tar.gz
Restrict to Python 2.7. Fix PLIST for the one version where it actually
works. Bump revision.
Diffstat (limited to 'lang/py-js2py')
-rw-r--r--lang/py-js2py/Makefile6
-rw-r--r--lang/py-js2py/PLIST10
2 files changed, 14 insertions, 2 deletions
diff --git a/lang/py-js2py/Makefile b/lang/py-js2py/Makefile
index 84ca56e7e1f..f1381779e23 100644
--- a/lang/py-js2py/Makefile
+++ b/lang/py-js2py/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2018/02/26 16:12:32 adam Exp $
+# $NetBSD: Makefile,v 1.6 2018/03/26 16:30:10 joerg Exp $
DISTNAME= Js2Py-0.59
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYPI:=J/Js2Py/}
@@ -10,6 +11,9 @@ HOMEPAGE= https://github.com/PiotrDabkowski/Js2Py
COMMENT= Pure Python JavaScript Translator/Interpreter
LICENSE= mit
+# As of 0.59
+PYTHON_VERSIONS_ACCEPTED= 27
+
DEPENDS+= ${PYPKGPREFIX}-jsparser>=2.5.1:../../lang/py-jsparser
DEPENDS+= ${PYPKGPREFIX}-six>=1.10:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-tzlocal>=1.2:../../time/py-tzlocal
diff --git a/lang/py-js2py/PLIST b/lang/py-js2py/PLIST
index f1229f1e281..5be214fdf27 100644
--- a/lang/py-js2py/PLIST
+++ b/lang/py-js2py/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/02/26 16:12:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/03/26 16:30:10 joerg Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -101,6 +101,8 @@ ${PYSITELIB}/js2py/internals/base.py
${PYSITELIB}/js2py/internals/base.pyc
${PYSITELIB}/js2py/internals/base.pyo
${PYSITELIB}/js2py/internals/byte_trans.py
+${PYSITELIB}/js2py/internals/byte_trans.pyc
+${PYSITELIB}/js2py/internals/byte_trans.pyo
${PYSITELIB}/js2py/internals/code.py
${PYSITELIB}/js2py/internals/code.pyc
${PYSITELIB}/js2py/internals/code.pyo
@@ -120,6 +122,8 @@ ${PYSITELIB}/js2py/internals/constructors/jsdate.py
${PYSITELIB}/js2py/internals/constructors/jsdate.pyc
${PYSITELIB}/js2py/internals/constructors/jsdate.pyo
${PYSITELIB}/js2py/internals/constructors/jsfunction.py
+${PYSITELIB}/js2py/internals/constructors/jsfunction.pyc
+${PYSITELIB}/js2py/internals/constructors/jsfunction.pyo
${PYSITELIB}/js2py/internals/constructors/jsmath.py
${PYSITELIB}/js2py/internals/constructors/jsmath.pyc
${PYSITELIB}/js2py/internals/constructors/jsmath.pyo
@@ -202,6 +206,8 @@ ${PYSITELIB}/js2py/internals/space.py
${PYSITELIB}/js2py/internals/space.pyc
${PYSITELIB}/js2py/internals/space.pyo
${PYSITELIB}/js2py/internals/speed.py
+${PYSITELIB}/js2py/internals/speed.pyc
+${PYSITELIB}/js2py/internals/speed.pyo
${PYSITELIB}/js2py/internals/trans_utils.py
${PYSITELIB}/js2py/internals/trans_utils.pyc
${PYSITELIB}/js2py/internals/trans_utils.pyo
@@ -251,6 +257,8 @@ ${PYSITELIB}/js2py/pyjs.py
${PYSITELIB}/js2py/pyjs.pyc
${PYSITELIB}/js2py/pyjs.pyo
${PYSITELIB}/js2py/test_internals.py
+${PYSITELIB}/js2py/test_internals.pyc
+${PYSITELIB}/js2py/test_internals.pyo
${PYSITELIB}/js2py/translators/__init__.py
${PYSITELIB}/js2py/translators/__init__.pyc
${PYSITELIB}/js2py/translators/__init__.pyo