diff options
Diffstat (limited to 'sysutils/ansible/Makefile')
-rw-r--r-- | sysutils/ansible/Makefile | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile index 3627130..5a9a050 100644 --- a/sysutils/ansible/Makefile +++ b/sysutils/ansible/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ansible -PORTVERSION?= 2.2.2.0 +PORTVERSION?= 2.3.1.0 PORTREVISION?= 0 CATEGORIES= sysutils python MASTER_SITES= http://releases.ansible.com/ansible/ @@ -13,24 +13,25 @@ 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 \ +RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \ + ${PYTHON_PKGNAMEPREFIX}jmespath>0:devel/py-jmespath \ + ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr \ ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko \ - ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 + ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml + +EXTRA_PATCHES?= # NO_ARCH= yes -USES?= cpe python shebangfix +USES?= cpe python 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 +SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} -PLIST_FILES+= man/man1/ansible-doc.1.gz \ +PLIST_FILES?= man/man1/ansible-console.1.gz \ + man/man1/ansible-doc.1.gz \ man/man1/ansible-galaxy.1.gz \ man/man1/ansible-playbook.1.gz \ man/man1/ansible-pull.1.gz \ @@ -39,11 +40,7 @@ PLIST_FILES+= man/man1/ansible-doc.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 +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: .for f in bin/ansible docs/man/man1/* examples/* lib/ansible/*.py \ |