git: dbe39c66f01d - main - sysutils/py-ansible-core: Switch to USES=ansible

Mateusz Piotrowski 0mp at FreeBSD.org
Mon May 17 14:58:20 UTC 2021


The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dbe39c66f01d91b656c29687200a213040f71e19

commit dbe39c66f01d91b656c29687200a213040f71e19
Author:     Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-05-17 14:25:44 +0000
Commit:     Mateusz Piotrowski <0mp at FreeBSD.org>
CommitDate: 2021-05-17 14:58:18 +0000

    sysutils/py-ansible-core: Switch to USES=ansible
---
 sysutils/py-ansible-core/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sysutils/py-ansible-core/Makefile b/sysutils/py-ansible-core/Makefile
index ba2301474a0e..9111b093f1d5 100644
--- a/sysutils/py-ansible-core/Makefile
+++ b/sysutils/py-ansible-core/Makefile
@@ -27,7 +27,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
 
-USES=		cpe gmake python:3.6+ shebangfix
+USES=		ansible:env cpe gmake python:3.6+ shebangfix
 CPE_VENDOR=	redhat
 USE_PYTHON=	autoplist concurrent distutils
 
@@ -98,5 +98,5 @@ pre-test:
 
 # Make sure that we override the unique DATADIR and ETCDIR set
 # by the implicit USES=uniquefiles.
-DATADIR=	${PREFIX}/share/${PYTHON_PKGNAMEPREFIX}ansible
-ETCDIR=		${PREFIX}/etc/ansible
+DATADIR=	${ANSIBLE_DATADIR}
+ETCDIR=		${ANSIBLE_ETCDIR}


More information about the dev-commits-ports-all mailing list