summaryrefslogtreecommitdiff
path: root/net/py-haproxyctl/Makefile
blob: a1c5ca5015ffac2d1bf70bc4ca5463d2baea2f2a (plain)
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
PORTNAME=	haproxyctl
PORTVERSION=	0.5
PORTREVISION=	1
DISTVERSIONPREFIX=	v
CATEGORIES=	net python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	zhoutao@laocius.org
COMMENT=	HAProxy control tool

LICENSE=	GPLv3

TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}

USES=		python:3.6+
USE_PYTHON=	distutils concurrent autoplist

USE_GITHUB=	yes
GH_ACCOUNT=	neurogeek

NO_ARCH=	yes

do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v haproxy/tests

.include <bsd.port.mk>