Date: Sun, 16 May 2021 15:25:51 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a65230a557b6 - main - devel/py-stringbrewer: Add py-stringbrewer 0.0.1 Message-ID: <202105161525.14GFPpIu065621@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a65230a557b6d22e1edc7acf4c1a67038633e530 commit a65230a557b6d22e1edc7acf4c1a67038633e530 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-05-16 15:12:40 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-05-16 15:23:44 +0000 devel/py-stringbrewer: Add py-stringbrewer 0.0.1 Patterns are specified in the StringBrewer pattern language, and are made up of two parts: a recipe and a set of ingredients. A recipe is essentially a modified form of regular expression; whitespace is not significant, and each ingredient name is replaced by its definition. An ingredient is a space-separated list of items; each item is either a character (specified either as a literal character or as a Unicode codepoint in hexadecimal), a range of characters separated by hyphens, or a union of items separated by commas. Ingredients may also contain references to other ingredients. WWW: https://github.com/simoncozens/stringbrewer --- devel/Makefile | 1 + devel/py-stringbrewer/Makefile | 22 ++++++++++++++++++++++ devel/py-stringbrewer/distinfo | 3 +++ devel/py-stringbrewer/pkg-descr | 10 ++++++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 959806231c7a..d2f59cb80f11 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5152,6 +5152,7 @@ SUBDIR += py-strategies SUBDIR += py-streamparse SUBDIR += py-strict-rfc3339 + SUBDIR += py-stringbrewer SUBDIR += py-stringcase SUBDIR += py-structlog SUBDIR += py-stsci.distutils diff --git a/devel/py-stringbrewer/Makefile b/devel/py-stringbrewer/Makefile new file mode 100644 index 000000000000..dea2560ec999 --- /dev/null +++ b/devel/py-stringbrewer/Makefile @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= stringbrewer +PORTVERSION= 0.0.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Generate random strings matching a pattern + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rstr>=0:devel/py-rstr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sre-yield>=0:devel/py-sre-yield@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-stringbrewer/distinfo b/devel/py-stringbrewer/distinfo new file mode 100644 index 000000000000..0a9653386bd0 --- /dev/null +++ b/devel/py-stringbrewer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1620928531 +SHA256 (stringbrewer-0.0.1.tar.gz) = c2d113822f9393500b273cc833a21ce739036c02c62f47042e0f17ef9b9ea649 +SIZE (stringbrewer-0.0.1.tar.gz) = 3982 diff --git a/devel/py-stringbrewer/pkg-descr b/devel/py-stringbrewer/pkg-descr new file mode 100644 index 000000000000..aedb7d88815e --- /dev/null +++ b/devel/py-stringbrewer/pkg-descr @@ -0,0 +1,10 @@ +Patterns are specified in the StringBrewer pattern language, and are made up of +two parts: a recipe and a set of ingredients. A recipe is essentially a modified +form of regular expression; whitespace is not significant, and each ingredient +name is replaced by its definition. An ingredient is a space-separated list of +items; each item is either a character (specified either as a literal character +or as a Unicode codepoint in hexadecimal), a range of characters separated by +hyphens, or a union of items separated by commas. Ingredients may also contain +references to other ingredients. + +WWW: https://github.com/simoncozens/stringbrewer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105161525.14GFPpIu065621>