Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 14:58:18 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a60794033eaf - main - sysutils/py-ansible-base: Switch to USES=ansible
Message-ID:  <202105171458.14HEwILx045323@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

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

commit a60794033eaf6c8209626eca9cca718fca65e2de
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-05-17 14:24:26 +0000
Commit:     Mateusz Piotrowski <0mp@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105171458.14HEwILx045323>