pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jul 28 07:01:31 UTC 2017

Modified Files:
        pkgsrc/lang: Makefile
Added Files:
        pkgsrc/lang/py-execjs: DESCR Makefile PLIST distinfo
        pkgsrc/lang/py-execjs/patches: patch-setup.py

Log Message:
PyExecJS is a porting of ExecJS from Ruby. PyExecJS automatically picks the
best runtime available to evaluate your JavaScript program.


To generate a diff of this commit:
cvs rdiff -u -r1.461 -r1.462 pkgsrc/lang/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-execjs/DESCR \
    pkgsrc/lang/py-execjs/Makefile pkgsrc/lang/py-execjs/PLIST \
    pkgsrc/lang/py-execjs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-execjs/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/Makefile
diff -u pkgsrc/lang/Makefile:1.461 pkgsrc/lang/Makefile:1.462
--- pkgsrc/lang/Makefile:1.461  Tue Jun 20 13:37:18 2017
+++ pkgsrc/lang/Makefile        Fri Jul 28 07:01:31 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.461 2017/06/20 13:37:18 taca Exp $
+# $NetBSD: Makefile,v 1.462 2017/07/28 07:01:31 adam Exp $
 #
 
 COMMENT=       Programming languages
@@ -176,6 +176,7 @@ SUBDIR+=    polyml
 SUBDIR+=       py-basicproperty
 SUBDIR+=       py-byterun
 SUBDIR+=       py-cxfreeze
+SUBDIR+=       py-execjs
 SUBDIR+=       py-hy
 SUBDIR+=       py-js2py
 SUBDIR+=       py-jsparser

Added files:

Index: pkgsrc/lang/py-execjs/DESCR
diff -u /dev/null pkgsrc/lang/py-execjs/DESCR:1.1
--- /dev/null   Fri Jul 28 07:01:31 2017
+++ pkgsrc/lang/py-execjs/DESCR Fri Jul 28 07:01:31 2017
@@ -0,0 +1,2 @@
+PyExecJS is a porting of ExecJS from Ruby. PyExecJS automatically picks the
+best runtime available to evaluate your JavaScript program.
Index: pkgsrc/lang/py-execjs/Makefile
diff -u /dev/null pkgsrc/lang/py-execjs/Makefile:1.1
--- /dev/null   Fri Jul 28 07:01:31 2017
+++ pkgsrc/lang/py-execjs/Makefile      Fri Jul 28 07:01:31 2017
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/07/28 07:01:31 adam Exp $
+
+DISTNAME=      PyExecJS-1.4.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl:S/^py//}
+CATEGORIES=    python lang
+MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyExecJS/}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/doloopwhile/PyExecJS
+COMMENT=       Run JavaScript code from Python
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
+
+USE_LANGUAGES=         # empty
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/py-execjs/PLIST
diff -u /dev/null pkgsrc/lang/py-execjs/PLIST:1.1
--- /dev/null   Fri Jul 28 07:01:31 2017
+++ pkgsrc/lang/py-execjs/PLIST Fri Jul 28 07:01:31 2017
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/28 07:01:31 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/execjs/__init__.py
+${PYSITELIB}/execjs/__init__.pyc
+${PYSITELIB}/execjs/__init__.pyo
+${PYSITELIB}/execjs/__main__.py
+${PYSITELIB}/execjs/__main__.pyc
+${PYSITELIB}/execjs/__main__.pyo
+${PYSITELIB}/execjs/_abstract_runtime.py
+${PYSITELIB}/execjs/_abstract_runtime.pyc
+${PYSITELIB}/execjs/_abstract_runtime.pyo
+${PYSITELIB}/execjs/_abstract_runtime_context.py
+${PYSITELIB}/execjs/_abstract_runtime_context.pyc
+${PYSITELIB}/execjs/_abstract_runtime_context.pyo
+${PYSITELIB}/execjs/_exceptions.py
+${PYSITELIB}/execjs/_exceptions.pyc
+${PYSITELIB}/execjs/_exceptions.pyo
+${PYSITELIB}/execjs/_external_runtime.py
+${PYSITELIB}/execjs/_external_runtime.pyc
+${PYSITELIB}/execjs/_external_runtime.pyo
+${PYSITELIB}/execjs/_json2.py
+${PYSITELIB}/execjs/_json2.pyc
+${PYSITELIB}/execjs/_json2.pyo
+${PYSITELIB}/execjs/_misc.py
+${PYSITELIB}/execjs/_misc.pyc
+${PYSITELIB}/execjs/_misc.pyo
+${PYSITELIB}/execjs/_pyv8runtime.py
+${PYSITELIB}/execjs/_pyv8runtime.pyc
+${PYSITELIB}/execjs/_pyv8runtime.pyo
+${PYSITELIB}/execjs/_runner_sources.py
+${PYSITELIB}/execjs/_runner_sources.pyc
+${PYSITELIB}/execjs/_runner_sources.pyo
+${PYSITELIB}/execjs/_runtimes.py
+${PYSITELIB}/execjs/_runtimes.pyc
+${PYSITELIB}/execjs/_runtimes.pyo
+${PYSITELIB}/execjs/runtime_names.py
+${PYSITELIB}/execjs/runtime_names.pyc
+${PYSITELIB}/execjs/runtime_names.pyo
Index: pkgsrc/lang/py-execjs/distinfo
diff -u /dev/null pkgsrc/lang/py-execjs/distinfo:1.1
--- /dev/null   Fri Jul 28 07:01:31 2017
+++ pkgsrc/lang/py-execjs/distinfo      Fri Jul 28 07:01:31 2017
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/07/28 07:01:31 adam Exp $
+
+SHA1 (PyExecJS-1.4.0.zip) = f9b96dc895ddcb58bc6962270686757909e87ddc
+RMD160 (PyExecJS-1.4.0.zip) = c675ee8ad60e34e4b3d5161e5b8b66dba2d705b1
+SHA512 (PyExecJS-1.4.0.zip) = 698f49f7ceed696e29f8814115d08dc54c748ed00c41e785fd7829d247e7f4f41478fc145328cb443968ff6ba98a7236656cc28c8220c21fc97c7ebee4d28344
+Size (PyExecJS-1.4.0.zip) = 22179 bytes
+SHA1 (patch-setup.py) = 42a9a59cba78e159e38837cbe3377410308b4617

Index: pkgsrc/lang/py-execjs/patches/patch-setup.py
diff -u /dev/null pkgsrc/lang/py-execjs/patches/patch-setup.py:1.1
--- /dev/null   Fri Jul 28 07:01:31 2017
+++ pkgsrc/lang/py-execjs/patches/patch-setup.py        Fri Jul 28 07:01:31 2017
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2017/07/28 07:01:31 adam Exp $
+
+Allow newer version of six.
+
+--- setup.py.orig      2017-07-28 06:58:53.000000000 +0000
++++ setup.py
+@@ -39,6 +39,6 @@ setup(
+         'Programming Language :: Python :: 3.5',
+         'Programming Language :: JavaScript',
+     ],
+-    install_requires=["six==1.10.0"],
++    install_requires=["six>=1.10.0"],
+     test_suite="test_execjs",
+ )



Home | Main Index | Thread Index | Old Index