pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/py-jsparser
Module Name: pkgsrc
Committed By: joerg
Date: Tue Feb 7 23:48:57 UTC 2017
Added Files:
pkgsrc/lang/py-jsparser: DESCR Makefile PLIST distinfo
pkgsrc/lang/py-jsparser/patches: patch-setup.py
Log Message:
Add py-jsparser-2.4.5, a fast Javascript parser in Python.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-jsparser/DESCR \
pkgsrc/lang/py-jsparser/Makefile pkgsrc/lang/py-jsparser/PLIST \
pkgsrc/lang/py-jsparser/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-jsparser/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/lang/py-jsparser/DESCR
diff -u /dev/null pkgsrc/lang/py-jsparser/DESCR:1.1
--- /dev/null Tue Feb 7 23:48:57 2017
+++ pkgsrc/lang/py-jsparser/DESCR Tue Feb 7 23:48:57 2017
@@ -0,0 +1 @@
+This module implements a fast Javascript parser.
Index: pkgsrc/lang/py-jsparser/Makefile
diff -u /dev/null pkgsrc/lang/py-jsparser/Makefile:1.1
--- /dev/null Tue Feb 7 23:48:57 2017
+++ pkgsrc/lang/py-jsparser/Makefile Tue Feb 7 23:48:57 2017
@@ -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"
Index: pkgsrc/lang/py-jsparser/PLIST
diff -u /dev/null pkgsrc/lang/py-jsparser/PLIST:1.1
--- /dev/null Tue Feb 7 23:48:57 2017
+++ pkgsrc/lang/py-jsparser/PLIST Tue Feb 7 23:48:57 2017
@@ -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
Index: pkgsrc/lang/py-jsparser/distinfo
diff -u /dev/null pkgsrc/lang/py-jsparser/distinfo:1.1
--- /dev/null Tue Feb 7 23:48:57 2017
+++ pkgsrc/lang/py-jsparser/distinfo Tue Feb 7 23:48:57 2017
@@ -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
Index: pkgsrc/lang/py-jsparser/patches/patch-setup.py
diff -u /dev/null pkgsrc/lang/py-jsparser/patches/patch-setup.py:1.1
--- /dev/null Tue Feb 7 23:48:57 2017
+++ pkgsrc/lang/py-jsparser/patches/patch-setup.py Tue Feb 7 23:48:57 2017
@@ -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