aboutsummaryrefslogtreecommitdiff
path: root/mail/py-mailmanclient/Makefile
blob: 0956a3e412e6d676cfde10dd16319fc4048b7e67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	mailmanclient
PORTVERSION=	3.3.3
CATEGORIES=	mail
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	dvl@FreeBSD.org
COMMENT=	Official Python bindings for the GNU Mailman 3 REST API
WWW=		https://gitlab.com/mailman/mailmanclient

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>