From 4bb4304db4968e98f2d9ae4f3a39fe0678e5eed3 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 20 Sep 2018 13:46:52 +0000 Subject: py-spark-parser: added version 1.8.7 This package uses Jay Earley's algorithm for parsing context free grammars, and comes with some generic Abstract Syntax Tree routines. There is also a prototype scanner which does its job by combining Python regular expressions. (SPARK stands for Scanning, Parsing, and Rewriting Kit. It is a poor name since it conflicts with a more popular package of the same name. In the future we will rename this.) --- lang/py-spark-parser/ALTERNATIVES | 1 + lang/py-spark-parser/DESCR | 7 +++++++ lang/py-spark-parser/Makefile | 23 +++++++++++++++++++++++ lang/py-spark-parser/PLIST | 23 +++++++++++++++++++++++ lang/py-spark-parser/distinfo | 6 ++++++ 5 files changed, 60 insertions(+) create mode 100644 lang/py-spark-parser/ALTERNATIVES create mode 100644 lang/py-spark-parser/DESCR create mode 100644 lang/py-spark-parser/Makefile create mode 100644 lang/py-spark-parser/PLIST create mode 100644 lang/py-spark-parser/distinfo (limited to 'lang') diff --git a/lang/py-spark-parser/ALTERNATIVES b/lang/py-spark-parser/ALTERNATIVES new file mode 100644 index 00000000000..c19c1f957a9 --- /dev/null +++ b/lang/py-spark-parser/ALTERNATIVES @@ -0,0 +1 @@ +bin/spark-parser-coverage @PREFIX@/bin/spark-parser-coverage-@PYVERSSUFFIX@ diff --git a/lang/py-spark-parser/DESCR b/lang/py-spark-parser/DESCR new file mode 100644 index 00000000000..7445ae0d1ca --- /dev/null +++ b/lang/py-spark-parser/DESCR @@ -0,0 +1,7 @@ +This package uses Jay Earley's algorithm for parsing context free grammars, and +comes with some generic Abstract Syntax Tree routines. There is also a +prototype scanner which does its job by combining Python regular expressions. + +(SPARK stands for Scanning, Parsing, and Rewriting Kit. It is a poor name since +it conflicts with a more popular package of the same name. In the future we +will rename this.) diff --git a/lang/py-spark-parser/Makefile b/lang/py-spark-parser/Makefile new file mode 100644 index 00000000000..897ebab240e --- /dev/null +++ b/lang/py-spark-parser/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2018/09/20 13:46:52 adam Exp $ + +DISTNAME= spark_parser-1.8.7 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} +CATEGORIES= lang python +MASTER_SITES= ${MASTER_SITE_PYPI:=s/spark_parser/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/rocky/python-spark +COMMENT= Earley-Algorithm Context-free grammar Parser Toolkit +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click +TEST_DEPENDS+= ${PYPKGPREFIX}-nose>=1.0:../../devel/py-nose + +USE_LANGUAGES= # none + +post-install: + cd ${DESTDIR}${PREFIX}/bin && \ + ${MV} spark-parser-coverage spark-parser-coverage-${PYVERSSUFFIX} || ${TRUE} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/lang/py-spark-parser/PLIST b/lang/py-spark-parser/PLIST new file mode 100644 index 00000000000..1f9ba870aee --- /dev/null +++ b/lang/py-spark-parser/PLIST @@ -0,0 +1,23 @@ +@comment $NetBSD: PLIST,v 1.1 2018/09/20 13:46:52 adam Exp $ +bin/spark-parser-coverage-${PYVERSSUFFIX} +${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}/${EGG_INFODIR}/zip-safe +${PYSITELIB}/spark_parser/__init__.py +${PYSITELIB}/spark_parser/__init__.pyc +${PYSITELIB}/spark_parser/__init__.pyo +${PYSITELIB}/spark_parser/ast.py +${PYSITELIB}/spark_parser/ast.pyc +${PYSITELIB}/spark_parser/ast.pyo +${PYSITELIB}/spark_parser/scanner.py +${PYSITELIB}/spark_parser/scanner.pyc +${PYSITELIB}/spark_parser/scanner.pyo +${PYSITELIB}/spark_parser/spark.py +${PYSITELIB}/spark_parser/spark.pyc +${PYSITELIB}/spark_parser/spark.pyo +${PYSITELIB}/spark_parser/version.py +${PYSITELIB}/spark_parser/version.pyc +${PYSITELIB}/spark_parser/version.pyo diff --git a/lang/py-spark-parser/distinfo b/lang/py-spark-parser/distinfo new file mode 100644 index 00000000000..06c1784760d --- /dev/null +++ b/lang/py-spark-parser/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/09/20 13:46:52 adam Exp $ + +SHA1 (spark_parser-1.8.7.tar.gz) = bf113e0af6a08bd4cded74bdcc2c4c2ad960cbe2 +RMD160 (spark_parser-1.8.7.tar.gz) = c85ce5c2c08eaa32873152b91301822d100aed3c +SHA512 (spark_parser-1.8.7.tar.gz) = 512017edaf3ed85ef6d12df84a87b4bcfbecd1a4b546d38ec447b04fc7434b3237441f23f721d59dfa52d8988520db0f6863603710d536093778ef7892a31a2a +Size (spark_parser-1.8.7.tar.gz) = 116817 bytes -- cgit v1.2.3