Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 14:58:19 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: dbe39c66f01d - main - sysutils/py-ansible-core: Switch to USES=ansible
Message-ID:  <202105171458.14HEwJXl045344@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=dbe39c66f01d91b656c29687200a213040f71e19

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



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