git: a65230a557b6 - main - devel/py-stringbrewer: Add py-stringbrewer 0.0.1
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 16 15:25:51 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a65230a557b6d22e1edc7acf4c1a67038633e530
commit a65230a557b6d22e1edc7acf4c1a67038633e530
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-16 15:12:40 +0000
Commit: Po-Chuan Hsieh <sunpoet at 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 at FreeBSD.org>
+
+PORTNAME= stringbrewer
+PORTVERSION= 0.0.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at 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
More information about the dev-commits-ports-all
mailing list