aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-ploy_ansible/Makefile
blob: 1229e9c0804dca45ba0116468f9881f5e3ba8459 (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
28
29
30
31
32
33
34
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=	ploy_ansible
PORTVERSION=	1.3.1
PORTREVISION=	1
CATEGORIES=	sysutils python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Plugin to integrate Ansible with ploy

LICENSE=	GPLv3

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/${PYTHON_PKGNAMEPREFIX}setuptools \
		${PYTHON_PKGNAMEPREFIX}ploy>=1.0.0:sysutils/py-ploy \
		${PYTHON_PKGNAMEPREFIX}execnet>0:sysutils/py-execnet \
		ansible1<2.0:sysutils/ansible1
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lazy>0:devel/py-lazy \
		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \
		${PYTHON_PKGNAMEPREFIX}pytest-capturelog>0:devel/py-pytest-capturelog

USES=		python:-2.7
USE_PYTHON=	autoplist distutils

NO_ARCH=	yes

do-test:
	@cd ${WRKSRC} && \
	${RM} tox.ini && \
	${PYTHON_CMD} -m pytest -rsw ploy_ansible

.include <bsd.port.mk>