summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-10-10 07:43:58 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-10-10 07:43:58 +0000
commit271db655ade7a87fa25a252d10668cf6ad89d08d (patch)
tree65c24dee39a5efd41f56b7c2befc631e5c64cef6
parentAdd py-utm 0.6.0 (diff)
Add py-flanker 0.9.11
Flanker is an open source parsing library written in Python by the Mailgun Team. Flanker currently consists of an address parsing library (flanker.addresslib) as well as a MIME parsing library (flanker.mime). WWW: https://github.com/mailgun/flanker
-rw-r--r--mail/py-flanker/Makefile31
-rw-r--r--mail/py-flanker/distinfo3
-rw-r--r--mail/py-flanker/pkg-descr5
3 files changed, 39 insertions, 0 deletions
diff --git a/mail/py-flanker/Makefile b/mail/py-flanker/Makefile
new file mode 100644
index 000000000000..cb34638712b6
--- /dev/null
+++ b/mail/py-flanker/Makefile
@@ -0,0 +1,31 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= flanker
+PORTVERSION= 0.9.11
+CATEGORIES= mail python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Email address and MIME parsing library
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}chardet>=1.0.1:textproc/py-chardet@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cryptography>=0.5:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ply>=3.10:devel/py-ply@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}regex>=0.1.20110315:textproc/py-regex@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tld>=0:dns/py-tld@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}webob>=0.9.8:www/py-webob@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/mail/py-flanker/distinfo b/mail/py-flanker/distinfo
new file mode 100644
index 000000000000..f63945880af1
--- /dev/null
+++ b/mail/py-flanker/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1601996446
+SHA256 (flanker-0.9.11.tar.gz) = 974418e5b498fd3bcb3859c22e22d26495257f9cf98b744c17f2335aca86e001
+SIZE (flanker-0.9.11.tar.gz) = 105180
diff --git a/mail/py-flanker/pkg-descr b/mail/py-flanker/pkg-descr
new file mode 100644
index 000000000000..ec96b1dd6dfe
--- /dev/null
+++ b/mail/py-flanker/pkg-descr
@@ -0,0 +1,5 @@
+Flanker is an open source parsing library written in Python by the Mailgun Team.
+Flanker currently consists of an address parsing library (flanker.addresslib) as
+well as a MIME parsing library (flanker.mime).
+
+WWW: https://github.com/mailgun/flanker