aboutsummaryrefslogtreecommitdiff
path: root/mail/py-mailmanclient/Makefile
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2020-11-26 23:22:11 +0000
committerDan Langille <dvl@FreeBSD.org>2020-11-26 23:22:11 +0000
commit9a05dbe453bd881b3ba8e23394906d54eac71d1d (patch)
tree2b17ae957a9c591e59eb4b7d8a7a2385c0436885 /mail/py-mailmanclient/Makefile
parent586ffedb2e3548fd6570611643a30179348fe372 (diff)
downloadports-9a05dbe453bd881b3ba8e23394906d54eac71d1d.tar.gz
ports-9a05dbe453bd881b3ba8e23394906d54eac71d1d.zip
Add dependencies required for mail/mailman3
Notes
Notes: svn path=/head/; revision=556421
Diffstat (limited to 'mail/py-mailmanclient/Makefile')
-rw-r--r--mail/py-mailmanclient/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/py-mailmanclient/Makefile b/mail/py-mailmanclient/Makefile
new file mode 100644
index 000000000000..c66a736b0080
--- /dev/null
+++ b/mail/py-mailmanclient/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= mailmanclient
+PORTVERSION= 3.3.1
+CATEGORIES= mail
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dvl@FreeBSD.org
+COMMENT= Official Python bindings for the GNU Mailman 3 REST API
+
+LICENSE= LGPL3+
+LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>3.0:devel/py-flake8@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}flake8-bugbear>0:devel/py-flake8-bugbear@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mailman>0:mail/mailman3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}falcon>0:www/py-falcon@${PY_FLAVOR}
+
+USES= python:3.5+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC}/src/mailmanclient/tests && ${PYTHON_CMD} test_client.py
+
+.include <bsd.port.mk>