1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

sysutils/ansible: Support ansible-galaxy install from community

Fix:

Starting galaxy collection install process
ERROR! importlib_resources is not installed and is required

Please add devel/py-importlib-resources as a dependency when installing
Ansible, and perhaps also for the ansible-compat and ansible-core packages?

PR:	274408
This commit is contained in:
Cy Schubert 2023-10-11 07:04:26 -07:00
parent 6954ad5240
commit 2211c50a41

View File

@ -1,5 +1,6 @@
PORTNAME= ansible
DISTVERSION= 8.4.0
PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,7 +12,8 @@ WWW= https://www.ansible.com/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-core>0:sysutils/py-ansible-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-core>0:sysutils/py-ansible-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}importlib-resources>0:devel/py-importlib-resources
USES= ansible:env cpe python:3.9+ shebangfix
CPE_VENDOR= redhat