From nobody Wed Aug 16 18:30:30 2023 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 4RQxX81dqxz4qxVx; Wed, 16 Aug 2023 18:30:32 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RQxX659M4z4PdW; Wed, 16 Aug 2023 18:30:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210630; 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=7poLIr8cxh6rfk7PNb2VHpL64XK8dNpL+2J2ii0QFGQ=; b=sa7+MpkzXm2IFqApWzavGRrbKBtmUibPqJGgYpvQ9fhjo2SWRECCmqKfU5VIMW2rrvcbhW fnCg/Wp7VDjvzcTpnD2OpGGjDYugUSss5/gUEVPrV1Fs3UN+sDHP/hZYvonfRK/GW9mLa0 /MSKt6UH5xSIicHpwVuP5ls9EWrNXuqu6qQPoTNJodoKzHz4+9EoSMvgbUETNsku+7spDT u+Q2INqVC6+Wvall+q+d6oubGZoeCy2HWT4CXp8K3bsWKBpZCEnu/Mn2ZHuzRPILuyI+CQ 4UlH7jdj9+u3nu/rG3x3srRR06Qh3vjthYt6FynVWUXFQuPX5qB+3e3ETWNH+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210630; 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=7poLIr8cxh6rfk7PNb2VHpL64XK8dNpL+2J2ii0QFGQ=; b=vmMITyJnQ+dcNfhuRPmz+8xcBdKac3dm1G+xrgSmglC91CWj7+Dk1MGYlBcapmbjgxWXc3 vMaKFK+UlXPC690ny5R+0ccWTdPh+0mwX5Vdg6UnhkTTGGHiBbadWTdxLtwWG71RCdtnYY 0iXDD19cjzV6IAfVrG+m3lPVcxpYhZolm88K3VKzvm4RNatz8fVDXtfL1NVSwybLkBQoH/ 92dFpLlQpcvZSWgJT6jMaq43nS2MBIbU9Zx4WfUGvAYikraZXbVCtyzn1fB7Jk92mcTeSb BBlqTTx/VkTZ0loKYVwbKs4vGvj889ZAqwmb42Fkk8l+/C8CvI6foDsGcaKUgw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692210630; a=rsa-sha256; cv=none; b=WwiyVPyCflnK5zFu0t+RBz7gyK9dEa2vLwsO+bQ7eumZow3vlNE7vgZZ2501gmbqrWOoQW OG+asrH08GqPxlrnxvU3rbQ1IfApqPLXuW8EzuW6JhS6STZS932LXEpB1JIE1fGUqHQckj vu8foMsvma0IOZT1fkWuCCwFrFxRsu4MIPnpGvMUBDDK+Ic9ZkzqsnW3jPNg5H7YOA51Wp 8jbevruzMLCcjZ0NJiIPRMYK33Mo7wKaQA6W/8twhxhP2IqVHCeyVOQ/RbksTVVN8lNTm7 hGJ9XSsyAPL+Q5RiHauwqZwmVYaSbPjAv5m3UKL0gw5HY+po/050ji3GpEHfeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RQxX645LSz12P1; Wed, 16 Aug 2023 18:30:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37GIUUlv023472; Wed, 16 Aug 2023 18:30:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37GIUUJb023469; Wed, 16 Aug 2023 18:30:30 GMT (envelope-from git) Date: Wed, 16 Aug 2023 18:30:30 GMT Message-Id: <202308161830.37GIUUJb023469@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 3a4d59df3dbe - main - textproc/py-interegular: Add py-interegular 0.3.2 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3a4d59df3dbeccd82ff6ccdc30eb7589a0153360 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a4d59df3dbeccd82ff6ccdc30eb7589a0153360 commit 3a4d59df3dbeccd82ff6ccdc30eb7589a0153360 Author: Po-Chuan Hsieh AuthorDate: 2023-08-16 18:06:54 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-16 18:25:07 +0000 textproc/py-interegular: Add py-interegular 0.3.2 Interegular is a library to check a subset of python regexes for intersections. Based on grennery by @qntm. Adapted for lark-parser. The primary difference with grennery library is that interegular is focused on speed and compatibility with python re syntax, whereas grennery has a way to reconstruct a regex from a FSM, which interegular lacks. --- textproc/Makefile | 1 + textproc/py-interegular/Makefile | 19 +++++++++++++++++++ textproc/py-interegular/distinfo | 3 +++ textproc/py-interegular/pkg-descr | 6 ++++++ 4 files changed, 29 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 77e2a36a5153..126df16034c9 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1379,6 +1379,7 @@ SUBDIR += py-humanfriendly SUBDIR += py-hunspell SUBDIR += py-ini2toml + SUBDIR += py-interegular SUBDIR += py-isbnlib SUBDIR += py-isbntools SUBDIR += py-iso-639 diff --git a/textproc/py-interegular/Makefile b/textproc/py-interegular/Makefile new file mode 100644 index 000000000000..97a2a244fcee --- /dev/null +++ b/textproc/py-interegular/Makefile @@ -0,0 +1,19 @@ +PORTNAME= interegular +PORTVERSION= 0.3.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Regex intersection checker +WWW= https://github.com/MegaIng/interegular + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-interegular/distinfo b/textproc/py-interegular/distinfo new file mode 100644 index 000000000000..7ab9613f50e4 --- /dev/null +++ b/textproc/py-interegular/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691069908 +SHA256 (interegular-0.3.2.tar.gz) = ea4645abace93d9f39d341205686a60b79777a43d94400933effb9c8f2901825 +SIZE (interegular-0.3.2.tar.gz) = 24671 diff --git a/textproc/py-interegular/pkg-descr b/textproc/py-interegular/pkg-descr new file mode 100644 index 000000000000..daab0d4b6cd0 --- /dev/null +++ b/textproc/py-interegular/pkg-descr @@ -0,0 +1,6 @@ +Interegular is a library to check a subset of python regexes for intersections. +Based on grennery by @qntm. Adapted for lark-parser. + +The primary difference with grennery library is that interegular is focused on +speed and compatibility with python re syntax, whereas grennery has a way to +reconstruct a regex from a FSM, which interegular lacks.