summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-parse/Makefile21
-rw-r--r--textproc/py-parse/distinfo3
-rw-r--r--textproc/py-parse/pkg-descr5
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 8ff17b239584..4562e23cf260 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1298,6 +1298,7 @@
SUBDIR += py-pager
SUBDIR += py-pandocfilters
SUBDIR += py-paragrep
+ SUBDIR += py-parse
SUBDIR += py-parsel
SUBDIR += py-parsimonious
SUBDIR += py-parso
diff --git a/textproc/py-parse/Makefile b/textproc/py-parse/Makefile
new file mode 100644
index 000000000000..8f35596e0844
--- /dev/null
+++ b/textproc/py-parse/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= parse
+PORTVERSION= 1.15.0
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Opposite of format()
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.4+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-parse/distinfo b/textproc/py-parse/distinfo
new file mode 100644
index 000000000000..f48b428dc565
--- /dev/null
+++ b/textproc/py-parse/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1590482786
+SHA256 (parse-1.15.0.tar.gz) = a6d4e2c2f1fbde6717d28084a191a052950f758c0cbd83805357e6575c2b95c0
+SIZE (parse-1.15.0.tar.gz) = 29686
diff --git a/textproc/py-parse/pkg-descr b/textproc/py-parse/pkg-descr
new file mode 100644
index 000000000000..ced93b52154b
--- /dev/null
+++ b/textproc/py-parse/pkg-descr
@@ -0,0 +1,5 @@
+parse() is the opposite of format(). It parses strings using a specification
+based on the Python format() syntax. The module is set up to only export
+parse(), search(), findall(), and with_pattern() when import * is used.
+
+WWW: https://github.com/r1chardj0n3s/parse