git: cdc4127c33f0 - main - sysutils/py-ansible-core*: Hook version 2.11 to the build

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Wed, 26 Jan 2022 10:08:55 UTC
The branch main has been updated by 0mp:

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

commit cdc4127c33f03ebd480ef7e751477389dc7ea3ac
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-01-26 09:21:59 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-01-26 10:08:45 +0000

    sysutils/py-ansible-core*: Hook version 2.11 to the build
---
 sysutils/Makefile                    | 1 +
 sysutils/py-ansible-core/Makefile    | 2 +-
 sysutils/py-ansible-core211/Makefile | 3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 8f7bf3aa1747..cc5317c87581 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1016,6 +1016,7 @@
     SUBDIR += pxp-agent
     SUBDIR += py-ansible-base
     SUBDIR += py-ansible-core
+    SUBDIR += py-ansible-core211
     SUBDIR += py-ansible-lint
     SUBDIR += py-ansible-runner
     SUBDIR += py-azure-cli
diff --git a/sysutils/py-ansible-core/Makefile b/sysutils/py-ansible-core/Makefile
index 71fe22605691..7454969e3eff 100644
--- a/sysutils/py-ansible-core/Makefile
+++ b/sysutils/py-ansible-core/Makefile
@@ -39,7 +39,7 @@ TEST_ARGS=	VERSION=${DISTVERSION} \
 TEST_ENV=	PYTHON_VERSION=${PYTHON_VER}
 TEST_TARGET=	tests
 
-CONFLICTS=	py*-ansible-base py*-ansible2
+CONFLICTS=	py*-ansible-base py*-ansible2 py-ansible-core211
 
 NO_ARCH=	yes
 
diff --git a/sysutils/py-ansible-core211/Makefile b/sysutils/py-ansible-core211/Makefile
index 71fe22605691..4921893bb4bd 100644
--- a/sysutils/py-ansible-core211/Makefile
+++ b/sysutils/py-ansible-core211/Makefile
@@ -3,6 +3,7 @@ DISTVERSION=	2.11.7
 CATEGORIES=	sysutils python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	211
 
 MAINTAINER=	0mp@FreeBSD.org
 COMMENT=	Radically simple IT automation
@@ -39,7 +40,7 @@ TEST_ARGS=	VERSION=${DISTVERSION} \
 TEST_ENV=	PYTHON_VERSION=${PYTHON_VER}
 TEST_TARGET=	tests
 
-CONFLICTS=	py*-ansible-base py*-ansible2
+CONFLICTS=	py*-ansible-base py*-ansible-core py*-ansible2
 
 NO_ARCH=	yes