git: a60794033eaf - main - sysutils/py-ansible-base: Switch to USES=ansible
Mateusz Piotrowski
0mp at FreeBSD.org
Mon May 17 14:58:19 UTC 2021
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a60794033eaf6c8209626eca9cca718fca65e2de
commit a60794033eaf6c8209626eca9cca718fca65e2de
Author: Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-05-17 14:24:26 +0000
Commit: Mateusz Piotrowski <0mp at FreeBSD.org>
CommitDate: 2021-05-17 14:58:17 +0000
sysutils/py-ansible-base: Switch to USES=ansible
---
sysutils/py-ansible-base/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sysutils/py-ansible-base/Makefile b/sysutils/py-ansible-base/Makefile
index 69138ed1798e..077dfde8d8a9 100644
--- a/sysutils/py-ansible-base/Makefile
+++ b/sysutils/py-ansible-base/Makefile
@@ -29,7 +29,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
@@ -102,5 +102,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