diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-08-16 18:06:54 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-08-16 18:25:07 +0000 |
| commit | 3a4d59df3dbeccd82ff6ccdc30eb7589a0153360 (patch) | |
| tree | 2f1b6eda6bcbbba3ee4b83a598b2e1a88b9aa120 | |
| parent | a5abdadcbd65c160c795c040b4e78f3f1c275afe (diff) | |
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.
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-interegular/Makefile | 19 | ||||
| -rw-r--r-- | textproc/py-interegular/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-interegular/pkg-descr | 6 |
4 files changed, 29 insertions, 0 deletions
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 <bsd.port.mk> 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. |
