2014-07-08 08:58:34 +02:00
|
|
|
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ploy_ansible
|
2015-10-20 12:44:20 +02:00
|
|
|
PORTVERSION= 1.3.1
|
2016-07-31 14:14:23 +02:00
|
|
|
PORTREVISION= 1
|
2014-07-08 08:58:34 +02:00
|
|
|
CATEGORIES= sysutils python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
2015-10-20 12:44:20 +02:00
|
|
|
COMMENT= Plugin to integrate Ansible with ploy
|
2014-07-08 08:58:34 +02:00
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:devel/py-setuptools${PYTHON_SUFFIX} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}ploy>=1.0.0:sysutils/py-ploy \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}execnet>0:sysutils/py-execnet \
|
2016-07-31 14:14:23 +02:00
|
|
|
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
|
2014-07-08 08:58:34 +02:00
|
|
|
|
2015-02-18 23:30:21 +01:00
|
|
|
USES= python:-2.7
|
2015-01-31 01:01:50 +01:00
|
|
|
USE_PYTHON= autoplist distutils
|
2014-07-08 08:58:34 +02:00
|
|
|
|
2015-10-20 12:44:20 +02:00
|
|
|
NO_ARCH= yes
|
|
|
|
|
2016-07-31 14:14:23 +02:00
|
|
|
do-test:
|
|
|
|
@cd ${WRKSRC} && \
|
|
|
|
${RM} tox.ini && \
|
|
|
|
${PYTHON_CMD} -m pytest -rsw ploy_ansible
|
|
|
|
|
2014-07-08 08:58:34 +02:00
|
|
|
.include <bsd.port.mk>
|