git: 3e531df92092 - main - sysutils/py-ansible-core: Update to 2.13.1

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Thu, 07 Jul 2022 12:08:00 UTC
The branch main has been updated by 0mp:

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

commit 3e531df92092167ccf965ec66a30bb29cf432a4e
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-07-07 10:21:58 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-07-07 12:07:46 +0000

    sysutils/py-ansible-core: Update to 2.13.1
    
    Changes:        https://github.com/ansible/ansible/blob/v2.13.1/changelogs/CHANGELOG-v2.13.rst#v2-13-1
---
 sysutils/py-ansible-core/Makefile | 16 ++++++++++------
 sysutils/py-ansible-core/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/sysutils/py-ansible-core/Makefile b/sysutils/py-ansible-core/Makefile
index 414b0cf34415..2408068b89c3 100644
--- a/sysutils/py-ansible-core/Makefile
+++ b/sysutils/py-ansible-core/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ansible-core
-DISTVERSION=	2.12.7
+DISTVERSION=	2.13.1
 CATEGORIES=	sysutils python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,10 +14,10 @@ DEPRECATED=	Depends on expired security/py-pycrypto
 EXPIRATION_DATE=2022-09-30
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>3.0.0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}resolvelib05>=0.5.3<0.6:devel/py-resolvelib05@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}resolvelib>=0.5.3<0.9:devel/py-resolvelib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>5.1:devel/py-yaml@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
@@ -27,7 +27,8 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		git:devel/git
 
 USES=		ansible:env cpe gmake python:3.8+ shebangfix
 CPE_VENDOR=	redhat
@@ -39,11 +40,14 @@ SHEBANG_REGEX=	[.]/test/.*[.]py
 TEST_ARGS=	VERSION=${DISTVERSION} \
 		PYTHON=${PYTHON_CMD} \
 		DATE=
-TEST_ENV=	PYTHON_VERSION=${PYTHON_VER}
+# Pass MAKE_ENV to TEST_ENV so that binary aliases via an updated PATH.
+TEST_ENV=	${MAKE_ENV} PYTHON_VERSION=${PYTHON_VER}
 TEST_TARGET=	tests
 
 CONFLICTS=	py*-ansible-base py*-ansible2 py-ansible-core211
 
+# The "python" binary alias is needed for the tests.
+BINARY_ALIAS=	python=${PYTHON_CMD}
 NO_ARCH=	yes
 
 PLIST_FILES=	share/man/man1/ansible-config.1.gz \
diff --git a/sysutils/py-ansible-core/distinfo b/sysutils/py-ansible-core/distinfo
index 9798f663f7a8..0d3a83c28449 100644
--- a/sysutils/py-ansible-core/distinfo
+++ b/sysutils/py-ansible-core/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1656930069
-SHA256 (ansible-core-2.12.7.tar.gz) = a31c1b0a3e2efedcb4c48cf95d36aa0ab19cef40eba1719ddb0d92ba1a9cf62a
-SIZE (ansible-core-2.12.7.tar.gz) = 7756456
+TIMESTAMP = 1657188734
+SHA256 (ansible-core-2.13.1.tar.gz) = abd478ceff1a0aba95e94ceab8dc820f407bcc0f0033dc546840cddc29a36958
+SIZE (ansible-core-2.13.1.tar.gz) = 7407801