1
0
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:
Жунёва Мария Михайловна 2024-07-11 22:31:23 +03:00 committed by Gleb Popov
parent afaf77cbc5
commit 833dbc2689
4 changed files with 31 additions and 0 deletions

View File

@ -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

View 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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1720723267
SHA256 (parsec-3.17.tar.gz) = 9748d64af43184c2e5887b88f9fca45065df2bf00a18e42df185ebb2c92aea53
SIZE (parsec-3.17.tar.gz) = 17269

View 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.