From nobody Fri Jul 12 19:00:56 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WLLXS5sG6z5QY11; Fri, 12 Jul 2024 19:00:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WLLXS5Pnpz4phv; Fri, 12 Jul 2024 19:00:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720810856; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RZ89sX38nhKXNCOAgu7jW49V3CXfHWnGGSta4VClG60=; b=TY7MlzQg1hU5KtUeiF4eHS4ElRx8V55wPa2VwQ4YeguNQ++AzRFuc9biwKNb1M2Wte/awS sZecVVCCbsFs4PAXsRmBF+QVnR5KCkwQpuEmTI1veRQ6gTiObXTEoE1t8FPd/KkWJf9wEv 46e/P42Ja4PJnsCc9G484gzMfcZv8nVIDqOUge6jh++qme8GPtb46i9HzlJwnofzbEACYJ CBvY3iJ6cJ/PL3LHIUAtiO2HIXUAm5n4XpAwgDt/0y0uY9tfoFXS19FS23jGKE/eYmOVbg UeGq/EzH5ZJLzpul0Bfy+oIJoFNyl207uw25ReAnB2iwCZMDwAjYKNRNFdOIBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720810856; a=rsa-sha256; cv=none; b=aMiBjpMV0jpBaGFGFz/3tD+SxD/rmUWrgVc+W+tpk/ujCL8GjwarhURsRp3/S7HSnd19eh mg/mhVb2EJBs0PCnzvkpY7G23x/9BMUTUYZnAu1s/tQvqYOAjeWtsgqQJuk4vbOib63CE9 ZfHVtQPf+JhgLPsyYqhgZ2o9G5t1nYZjor4xbuQaCf0FBDHhLUaqivItz90SuDITrsul4n xTdkzdBo4+6bG9LMzNas9jYK5XvxMggWVrExGAZJBGkBw0wYRymq0+VK6C05eP0CBXZQB2 Ar6jPsXoJYDjhj5qxusP4qEREByvHzytiOU/cKzlYeozndPTKpmW4HlVN225vA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720810856; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RZ89sX38nhKXNCOAgu7jW49V3CXfHWnGGSta4VClG60=; b=eY0d7G50zg45ErrJHuY59Kysqzv4t3AbDMsoO9k/mn+yEcQIcgMutEokvw49++wM5MB0Nj H+WP2yE6m2vs8Upm4Ii+olPhapjfu0F4ZTHgbVy7KMGKjq1Zo+57aL7bMEr+XJP5SAhklb 0wuP7qcXHFY3zC7VkzQyk/ozcu21rV8pi1QAuMci05UY+zzWP7NI0XC0wjBAWdlTiZQLtw osQOMaN8dBnNH/Z2VDUHXol5sX8KkWGEUhLQ+WoP400oljzeXCI3jrLgcGSA+VQXAvWaqX UFrM1r8xGsBev0hlJVx7oVyxF+rPvVCFdP4JY4GtDKVhIQZF/LfbQxfA6LfrGQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WLLXS51TXzvcq; Fri, 12 Jul 2024 19:00:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46CJ0uP5069946; Fri, 12 Jul 2024 19:00:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46CJ0uPo069931; Fri, 12 Jul 2024 19:00:56 GMT (envelope-from git) Date: Fri, 12 Jul 2024 19:00:56 GMT Message-Id: <202407121900.46CJ0uPo069931@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 833dbc268993 - main - textproc/py-parsec: universal Python parser combinator library List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 833dbc268993b5c1a167b9d03460d28ebca56bcd Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=833dbc268993b5c1a167b9d03460d28ebca56bcd commit 833dbc268993b5c1a167b9d03460d28ebca56bcd Author: Жунёва Мария Михайловна AuthorDate: 2024-07-11 19:31:23 +0000 Commit: Gleb Popov CommitDate: 2024-07-12 19:00:36 +0000 textproc/py-parsec: universal Python parser combinator library Sponsored by: Serenity Cybersecurity, LLC --- textproc/Makefile | 1 + textproc/py-parsec/Makefile | 21 +++++++++++++++++++++ textproc/py-parsec/distinfo | 3 +++ textproc/py-parsec/pkg-descr | 6 ++++++ 4 files changed, 31 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index c8a8cfa769e1..252bcc32031a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-parsec/Makefile b/textproc/py-parsec/Makefile new file mode 100644 index 000000000000..1107190bdf4d --- /dev/null +++ b/textproc/py-parsec/Makefile @@ -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 diff --git a/textproc/py-parsec/distinfo b/textproc/py-parsec/distinfo new file mode 100644 index 000000000000..2867c260c6a4 --- /dev/null +++ b/textproc/py-parsec/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1720723267 +SHA256 (parsec-3.17.tar.gz) = 9748d64af43184c2e5887b88f9fca45065df2bf00a18e42df185ebb2c92aea53 +SIZE (parsec-3.17.tar.gz) = 17269 diff --git a/textproc/py-parsec/pkg-descr b/textproc/py-parsec/pkg-descr new file mode 100644 index 000000000000..17509f43abfb --- /dev/null +++ b/textproc/py-parsec/pkg-descr @@ -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.