aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-07-16 01:15:19 +0800
committerpi <pi@FreeBSD.org>2016-07-16 01:15:19 +0800
commitd150f943e56610aa72e1353d7819738653678063 (patch)
treea5b101e621c1390be48ef61d299d18dd29bde484 /textproc
parent386695cd6e411dabfae05bd3ba511930a1a8739f (diff)
downloadfreebsd-ports-gnome-d150f943e56610aa72e1353d7819738653678063.tar.gz
freebsd-ports-gnome-d150f943e56610aa72e1353d7819738653678063.tar.zst
freebsd-ports-gnome-d150f943e56610aa72e1353d7819738653678063.zip
New port: textproc/py-esmre
Modules used to accelerate execution of a large collection of regular expressions using the Aho-Corasick algorithms. WWW: https://pypi.python.org/pypi/esmre PR: 211057 Submitted by: Danilo G. Baio <dbaio@bsd.com.br>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-esmre/Makefile22
-rw-r--r--textproc/py-esmre/distinfo3
-rw-r--r--textproc/py-esmre/pkg-descr4
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 2edbe4c80993..c05cf74de84a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1232,6 +1232,7 @@
SUBDIR += py-empy
SUBDIR += py-enchant
SUBDIR += py-errorhandler
+ SUBDIR += py-esmre
SUBDIR += py-et_xmlfile
SUBDIR += py-excelerator
SUBDIR += py-feedparser
diff --git a/textproc/py-esmre/Makefile b/textproc/py-esmre/Makefile
new file mode 100644
index 000000000000..433fb7bd7fa6
--- /dev/null
+++ b/textproc/py-esmre/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= esmre
+PORTVERSION= 0.3.1
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dbaio@bsd.com.br
+COMMENT= Regular expression accelerator in Python
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+NO_ARCH= yes
+USES= python
+USE_PYTHON= autoplist distutils
+
+post-install:
+ @${FIND} ${STAGEDIR}${PREFIX}/lib -name "*.so" -and -exec ${STRIP_CMD} {} \;
+
+.include <bsd.port.mk>
diff --git a/textproc/py-esmre/distinfo b/textproc/py-esmre/distinfo
new file mode 100644
index 000000000000..53ebc2739751
--- /dev/null
+++ b/textproc/py-esmre/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1467932447
+SHA256 (esmre-0.3.1.tar.gz) = fa8fb1ed9e2489e58e9fc751a9b83f1776ed65815d4991f4df73146d0173e532
+SIZE (esmre-0.3.1.tar.gz) = 24237
diff --git a/textproc/py-esmre/pkg-descr b/textproc/py-esmre/pkg-descr
new file mode 100644
index 000000000000..e53b9befb303
--- /dev/null
+++ b/textproc/py-esmre/pkg-descr
@@ -0,0 +1,4 @@
+Modules used to accelerate execution of a large collection
+of regular expressions using the Aho-Corasick algorithms.
+
+WWW: https://pypi.python.org/pypi/esmre