Index: head/sysutils/ansible/Makefile =================================================================== --- head/sysutils/ansible/Makefile (revision 425071) +++ head/sysutils/ansible/Makefile (revision 425072) @@ -1,67 +1,67 @@ # Created by: Nikolai Lifanov # $FreeBSD$ PORTNAME= ansible -PORTVERSION?= 2.1.2.0 +PORTVERSION?= 2.2.0.0 CATEGORIES= sysutils python MASTER_SITES= http://releases.ansible.com/ansible/ MAINTAINER= lifanov@mail.lifanov.com COMMENT= Radically simple IT automation LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto \ ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 NO_ARCH= yes -USES= cpe python:2 shebangfix +USES?= cpe python shebangfix USE_PYTHON= autoplist distutils python_CMD= ${LOCALBASE}/bin/python SHEBANG_FILES+= lib/ansible/modules/core/*/*.py \ lib/ansible/modules/core/*/*/*.py \ lib/ansible/modules/extras/*/*.py \ lib/ansible/modules/extras/*/*/*.py CPE_VENDOR= ansibleworks SUB_FILES= pkg-message PLIST_FILES+= man/man1/ansible-doc.1.gz \ man/man1/ansible-galaxy.1.gz \ man/man1/ansible-playbook.1.gz \ man/man1/ansible-pull.1.gz \ man/man1/ansible-vault.1.gz \ man/man1/ansible.1.gz PORTEXAMPLES= ansible.cfg hosts OPTIONS_DEFINE= DOCS EXAMPLES NETADDR OPTIONS_DEFAULT=NETADDR NETADDR_DESC= Dependency on py-netaddr for ipaddr() filter NETADDR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr post-patch: .for f in bin/* docs/man/man1/* examples/* lib/ansible/*.py \ lib/ansible/*/*.py lib/ansible/*/*/*.py lib/ansible/*/*/*/*.py @${REINPLACE_CMD} -e 's|/etc/ansible|${ETCDIR}|' ${WRKSRC}/${f} .endfor .for f in docs/man/man1/* examples/* lib/ansible/*.py lib/ansible/*/*.py @${REINPLACE_CMD} -e 's|/usr/share/ansible|${DATADIR}|' ${WRKSRC}/${f} .endfor post-install: @${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/*.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR} .include Index: head/sysutils/ansible/distinfo =================================================================== --- head/sysutils/ansible/distinfo (revision 425071) +++ head/sysutils/ansible/distinfo (revision 425072) @@ -1,3 +1,3 @@ -TIMESTAMP = 1475167399 -SHA256 (ansible-2.1.2.0.tar.gz) = 9c37a7bd397c05ab8ca3fcc49417649ea49b9133d4cd9500408235617d1621eb -SIZE (ansible-2.1.2.0.tar.gz) = 1881113 +TIMESTAMP = 1478009653 +SHA256 (ansible-2.2.0.0.tar.gz) = d9f198d293394ce0f8ba802561b21368888e3301036a706b5584641b49408586 +SIZE (ansible-2.2.0.0.tar.gz) = 2441851 Index: head/sysutils/ansible/files/pkg-message.in =================================================================== --- head/sysutils/ansible/files/pkg-message.in (revision 425071) +++ head/sysutils/ansible/files/pkg-message.in (revision 425072) @@ -1,36 +1,38 @@ =============================================================================== To use Ansible, you need at least a host database. If you installed examples, you will have a sample host database and a sample configuration file: %%EXAMPLESDIR%%/hosts %%EXAMPLESDIR%%/ansible.cfg To use Ansible to control FreeBSD hosts, you need to install the lang/python package on remote machines. To use Ansible to control systems other than FreeBSD, set the Python interpreter in the host database for that system. Example: [freebsd] host1 host2 [centos] host3 host4 [centos:vars] ansible_python_interpreter=/usr/bin/python Python notes: -If you have Python 3.x as the default, please set +Python 3.x support is BETA. Most modules should work +and important ones have been audited and tested. +If you have issues with Python 3, please set ansible_python_interpreter=%%LOCALBASE%%/bin/python2 -Ansible 2 requires that lang/python27 port is built +Ansible 2 requires that lang/python port is built with SEM option enabled, which is the default ===============================================================================