mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
textproc/py-parsec: universal Python parser combinator library
Sponsored by: Serenity Cybersecurity, LLC
This commit is contained in:
parent
afaf77cbc5
commit
833dbc2689
@ -1480,6 +1480,7 @@
|
||||
SUBDIR += py-paragrep
|
||||
SUBDIR += py-parse
|
||||
SUBDIR += py-parse-type
|
||||
SUBDIR += py-parsec
|
||||
SUBDIR += py-parsel
|
||||
SUBDIR += py-parsimonious
|
||||
SUBDIR += py-parso
|
||||
|
21
textproc/py-parsec/Makefile
Normal file
21
textproc/py-parsec/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
PORTNAME= parsec
|
||||
PORTVERSION= 3.17
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
|
||||
MAINTAINER= awoonyaa@gmail.com
|
||||
COMMENT= Universal Python parser combinator library
|
||||
WWW= https://github.com/sighingnow/parsec.py
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/py-parsec/distinfo
Normal file
3
textproc/py-parsec/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1720723267
|
||||
SHA256 (parsec-3.17.tar.gz) = 9748d64af43184c2e5887b88f9fca45065df2bf00a18e42df185ebb2c92aea53
|
||||
SIZE (parsec-3.17.tar.gz) = 17269
|
6
textproc/py-parsec/pkg-descr
Normal file
6
textproc/py-parsec/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
A universal Python parser combinator library inspired by Parsec library of
|
||||
Haskell.
|
||||
A parser combinator is a function (higher-order function) that accepts several
|
||||
parsers as arguments and return a new parser as result. Parser combinators
|
||||
enable a recursive descent parsing strategy, this parsing technique facilitates
|
||||
modular piecewise construction and testing.
|
Loading…
Reference in New Issue
Block a user