aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-ansible-compat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/py-ansible-compat/Makefile')
-rw-r--r--sysutils/py-ansible-compat/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/sysutils/py-ansible-compat/Makefile b/sysutils/py-ansible-compat/Makefile
index f5a0722c24ee..bf0a4e02ef13 100644
--- a/sysutils/py-ansible-compat/Makefile
+++ b/sysutils/py-ansible-compat/Makefile
@@ -1,10 +1,11 @@
PORTNAME= ansible-compat
-PORTVERSION= 4.1.2
+PORTVERSION= 26.3.0
CATEGORIES= sysutils python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ansible_compat-${PORTVERSION}${EXTRACT_SUFX}
-MAINTAINER= matthew@FreeBSD.org
+MAINTAINER= cy@FreeBSD.org
COMMENT= Ansible compatibility goodies
WWW= https://github.com/ansible-community/ansible-compat
@@ -16,7 +17,7 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-core>=2.12:sysutils/py-ansible-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}subprocess-tee>=0.4.1:devel/py-subprocess-tee@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>=4.6.0:devel/py-jsonschema@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
@@ -25,17 +26,13 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-plus>0:devel/py-pytest-plus@${PY_FLAVOR}
-USES= python:3.9+
+USES= python
USE_PYTHON= autoplist pep517 pytest
-TEST_ENV= LC_ALL=C.UTF-8 PYTHONPATH=${WRKSRC}/src TMPDIR=${WRKDIR}/
+WRKSRC= ${WRKDIR}/ansible_compat-${PORTVERSION}
-NO_ARCH= yes
-
-.include <bsd.port.pre.mk>
+TEST_ENV= PYTHONPATH=${WRKSRC}/src TMPDIR=${WRKDIR}/
-.if ${PYTHON_REL} < 31000
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR}
-.endif
+NO_ARCH= yes
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>