Lines 2-10
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= ansible |
3 |
PORTNAME= ansible |
4 |
PORTVERSION?= 2.5.2 |
4 |
PORTVERSION?= 2.5.2 |
5 |
PORTREVISION?= 1 |
5 |
PORTREVISION?= 2 |
6 |
CATEGORIES= sysutils python |
6 |
CATEGORIES= sysutils python |
7 |
MASTER_SITES= http://releases.ansible.com/ansible/ |
7 |
MASTER_SITES= http://releases.ansible.com/ansible/ |
|
|
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
|
9 |
|
9 |
MAINTAINER= lifanov@FreeBSD.org |
10 |
MAINTAINER= lifanov@FreeBSD.org |
10 |
COMMENT= Radically simple IT automation |
11 |
COMMENT= Radically simple IT automation |
Lines 18-23
Link Here
|
18 |
${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \ |
19 |
${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \ |
19 |
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} |
21 |
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} |
|
|
22 |
TEST_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ |
23 |
${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ |
24 |
${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ |
25 |
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ |
26 |
${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ |
27 |
${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \ |
28 |
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ |
29 |
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} |
21 |
|
30 |
|
22 |
CONFLICTS?= ansible1-* ansible23-* ansible24-* |
31 |
CONFLICTS?= ansible1-* ansible23-* ansible24-* |
23 |
|
32 |
|
Lines 25-31
Link Here
|
25 |
|
34 |
|
26 |
NO_ARCH= yes |
35 |
NO_ARCH= yes |
27 |
USES?= cpe python |
36 |
USES?= cpe python |
28 |
USE_PYTHON= autoplist distutils noflavors |
37 |
USE_PYTHON= distutils autoplist concurrent |
29 |
CPE_VENDOR= ansibleworks |
38 |
CPE_VENDOR= ansibleworks |
30 |
|
39 |
|
31 |
SUB_FILES= pkg-message |
40 |
SUB_FILES= pkg-message |
Lines 60-63
Link Here
|
60 |
${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR} |
69 |
${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR} |
61 |
${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR} |
70 |
${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR} |
62 |
|
71 |
|
|
|
72 |
TEST_WRKSRC=${WRKSRC}/test |
73 |
|
74 |
do-test: |
75 |
# ${PYTHON_CMD} ${TEST_WRKSRC}/runner/ansible-test sanity --python ${PYTHON_VER} -v |
76 |
${RM} ${TEST_WRKSRC}/units/modules/net_tools/test_nmcli.py # not conditional/doesn't work with nose |
77 |
${PYTHON_CMD} ${TEST_WRKSRC}/runner/ansible-test units --python ${PYTHON_VER} -v |
78 |
|
63 |
.include <bsd.port.mk> |
79 |
.include <bsd.port.mk> |