Parsimonious aims to be the fastest arbitrary-lookahead parser written in pure Python-and the most usable. It's based on parsing expression grammars (PEGs), which means you feed it a simplified sort of EBNF notation. Parsimonious was designed to undergird a MediaWiki parser that wouldn't take 5 seconds or a GB of RAM to do one page, but it's applicable to all sorts of languages
19 lines
566 B
Makefile
19 lines
566 B
Makefile
# $NetBSD: Makefile,v 1.1 2021/02/07 20:10:18 adam Exp $
|
|
|
|
DISTNAME= parsimonious-0.8.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/parsimonious/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/erikrose/parsimonious
|
|
COMMENT= The fastest pure-Python PEG parser I could muster
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-nose>=0:../../devel/py-nose
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|