c9685ce5ca
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.)
23 lines
703 B
Makefile
23 lines
703 B
Makefile
# $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"
|