pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/py-jsparser Add py-jsparser-2.4.5, a fast Javascr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e58785f9015d
branches:  trunk
changeset: 358237:e58785f9015d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 07 23:48:57 2017 +0000

description:
Add py-jsparser-2.4.5, a fast Javascript parser in Python.

diffstat:

 lang/py-jsparser/DESCR                  |   1 +
 lang/py-jsparser/Makefile               |  17 +++++++++++++++++
 lang/py-jsparser/PLIST                  |  17 +++++++++++++++++
 lang/py-jsparser/distinfo               |   7 +++++++
 lang/py-jsparser/patches/patch-setup.py |  20 ++++++++++++++++++++
 5 files changed, 62 insertions(+), 0 deletions(-)

diffs (82 lines):

diff -r 2b3c8d9a1bbc -r e58785f9015d lang/py-jsparser/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-jsparser/DESCR    Tue Feb 07 23:48:57 2017 +0000
@@ -0,0 +1,1 @@
+This module implements a fast Javascript parser.
diff -r 2b3c8d9a1bbc -r e58785f9015d lang/py-jsparser/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-jsparser/Makefile Tue Feb 07 23:48:57 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2017/02/07 23:48:57 joerg Exp $
+
+VERS=          2.4.5
+DISTNAME=      pyjsparser-${VERS}
+PKGNAME=       ${PYPKGPREFIX}-jsparser-${VERS}
+CATEGORIES=    python lang
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyjsparser/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://pypi.python.org/pypi/pyjsparser/
+COMMENT=       Pure-Python Javascript parser
+LICENSE=       mit
+
+USE_LANGUAGES= # empty
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2b3c8d9a1bbc -r e58785f9015d lang/py-jsparser/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-jsparser/PLIST    Tue Feb 07 23:48:57 2017 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/07 23:48:57 joerg Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pyjsparser/__init__.py
+${PYSITELIB}/pyjsparser/__init__.pyc
+${PYSITELIB}/pyjsparser/__init__.pyo
+${PYSITELIB}/pyjsparser/parser.py
+${PYSITELIB}/pyjsparser/parser.pyc
+${PYSITELIB}/pyjsparser/parser.pyo
+${PYSITELIB}/pyjsparser/pyjsparserdata.py
+${PYSITELIB}/pyjsparser/pyjsparserdata.pyc
+${PYSITELIB}/pyjsparser/pyjsparserdata.pyo
+${PYSITELIB}/pyjsparser/std_nodes.py
+${PYSITELIB}/pyjsparser/std_nodes.pyc
+${PYSITELIB}/pyjsparser/std_nodes.pyo
diff -r 2b3c8d9a1bbc -r e58785f9015d lang/py-jsparser/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-jsparser/distinfo Tue Feb 07 23:48:57 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/02/07 23:48:57 joerg Exp $
+
+SHA1 (pyjsparser-2.4.5.tar.gz) = 14ae78908511f06124f3f1744dc219361e5cb004
+RMD160 (pyjsparser-2.4.5.tar.gz) = 5659643be312b9b0fc5f88168e7de1eb86fbe315
+SHA512 (pyjsparser-2.4.5.tar.gz) = cec6633ffa938d4db1ef9164bf4eca7459fca3635f1ef090b00668b4e5fb170e466bb5d6b3b063388cd3de156d770eb4c08e21bb3a99b0e9761553a00701913c
+Size (pyjsparser-2.4.5.tar.gz) = 24061 bytes
+SHA1 (patch-setup.py) = e265fba1f7a19fbf7f72b6c8321adefc4c26179b
diff -r 2b3c8d9a1bbc -r e58785f9015d lang/py-jsparser/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-jsparser/patches/patch-setup.py   Tue Feb 07 23:48:57 2017 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-setup.py,v 1.1 2017/02/07 23:48:57 joerg Exp $
+
+--- setup.py.orig      2017-02-07 17:06:34.545212473 +0000
++++ setup.py
+@@ -1,11 +1,13 @@
+-from distutils.core import setup
++try:
++    from setuptools import setup
++except ImportError:
++    from distutils.core import setup
+ 
+ setup(
+     name='pyjsparser',
+     version='2.4.5',
+     packages=['pyjsparser'],
+     url='https://github.com/PiotrDabkowski/pyjsparser',
+-    install_requires = [],
+     license='MIT',
+     author='Piotr Dabkowski',
+     author_email='piodrus%gmail.com@localhost',



Home | Main Index | Thread Index | Old Index