git: d695f2caeac4 - main - sysutils/py-ansible-core218: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Sep 2026 20:57:22 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d695f2caeac49b404c5e96b78915bcb63dfd4e8d
commit d695f2caeac49b404c5e96b78915bcb63dfd4e8d
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-09-30 20:57:17 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-09-30 20:57:17 +0000
sysutils/py-ansible-core218: Remove expired port
2026-09-30 sysutils/py-ansible-core218: FreeBSD will only support N and N-1
---
MOVED | 1 +
sysutils/Makefile | 1 -
sysutils/py-ansible-core218/Makefile | 93 ----------------------
sysutils/py-ansible-core218/distinfo | 3 -
.../py-ansible-core218/files/patch-pyproject.toml | 9 ---
sysutils/py-ansible-core218/pkg-descr | 5 --
6 files changed, 1 insertion(+), 111 deletions(-)
diff --git a/MOVED b/MOVED
index 96de9d33b21e..8c43bcbcbfcd 100644
--- a/MOVED
+++ b/MOVED
@@ -5655,3 +5655,4 @@ textproc/redisearch22|textproc/redisearch24|2026-09-30|Has expired: Redisearch 2
sysutils/cfengine-masterfiles326||2026-09-30|Has expired: FreeBSD will only support N and N-1
sysutils/cfengine326||2026-09-30|Has expired: FreeBSD will only support N and N-1
security/wapiti||2026-09-30|Has expired: Outdated, pip install wapiti3 in a venv if needed
+sysutils/py-ansible-core218||2026-09-30|Has expired: FreeBSD will only support N and N-1
diff --git a/sysutils/Makefile b/sysutils/Makefile
index f533dbe58ef8..11263f45262a 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1069,7 +1069,6 @@
SUBDIR += py-GPUtil
SUBDIR += py-ansible-compat
SUBDIR += py-ansible-core
- SUBDIR += py-ansible-core218
SUBDIR += py-ansible-core219
SUBDIR += py-ansible-core220
SUBDIR += py-ansible-core221
diff --git a/sysutils/py-ansible-core218/Makefile b/sysutils/py-ansible-core218/Makefile
deleted file mode 100644
index c0b7adeb69b0..000000000000
--- a/sysutils/py-ansible-core218/Makefile
+++ /dev/null
@@ -1,93 +0,0 @@
-PORTNAME= ansible-core
-DISTVERSION= 2.18.16
-CATEGORIES= sysutils python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTFILES= ${PORTNAME:R:S/-/_/}-${DISTVERSION}${EXTRACT_SUFX}
-.if !defined(MASTERDIR)
-PKGNAMESUFFIX= 218
-.endif
-
-MAINTAINER= cy@FreeBSD.org
-COMMENT= Radically simple IT automation
-WWW= https://www.ansible.com/
-
-DEPRECATED= FreeBSD will only support N and N-1
-EXPIRATION_DATE=2026-09-30
-
-WRKSRC= ${WRKDIR}/${PORTNAME:R:S/-/_/}-${DISTVERSION}
-
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-BUILD_DEPENDS= ${PY_SETUPTOOLS} \
- ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}resolvelib>=0.5.3<1.1.0:devel/py-resolvelib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${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} \
- ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${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} \
- git:devel/git
-
-USES= ansible:env cpe python shebangfix
-CPE_VENDOR= redhat
-CPE_PRODUCT= ansible
-USE_PYTHON= autoplist concurrent cryptography pep517
-
-SHEBANG_REGEX= [.]/test/.*[.]py
-
-# Pass MAKE_ENV to TEST_ENV so that binary aliases via an updated PATH.
-TEST_ENV= ${MAKE_ENV}
-
-# The "python" binary alias is needed for the tests.
-BINARY_ALIAS= python=${PYTHON_CMD}
-NO_ARCH= yes
-
-post-patch:
-# Preserve the original paths in
-# test/units/cli/galaxy/test_execute_list_collection.py.
-# Replacing /usr/share/ansible breaks tests.
- ${FIND} ${WRKSRC} -not -regex '${WRKSRC}/test/units/cli/galaxy/test_execute_list_collection.py' -type f -print0 | \
- ${XARGS} -0 ${REINPLACE_CMD} \
- -e 's|/etc/ansible|${ETCDIR}|g' \
- -e 's|/usr/share/ansible|${DATADIR}|g'
- ${FIND} ${WRKSRC} -type f -name "*.bak" -delete
-
-post-stage:
- ${FIND} ${STAGEDIR}${PREFIX}/bin -type l -name ansible-\* -lname ansible \
- -execdir ${RLN} ansible-${PYTHON_VER} {} \;
-# USE_PYTHON=autoplist doesn't add this file to pkg-plist.
- ${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ansible_test/_data/injector/ansible-inventory
-
-pre-test:
-# This one file does not get its paths replaced correctly in post-patch.
- ${REINPLACE_CMD} 's|"/etc"|"${ETCDIR:H}"|g' \
- ${WRKSRC}/test/units/playbook/test_helpers.py
-# This test constructs a Python script inline and uses an invalid path to it.
- ${REINPLACE_CMD} 's|/usr/bin/python|${PYTHON_CMD}|' \
- ${WRKSRC}/test/units/modules/test_async_wrapper.py
-# Skip the SELinux tests, it's not present on FreeBSD.
- ${RM} ${WRKSRC}/test/units/module_utils/basic/test_selinux.py
-# Disable some failing tests. They fail to detect that emoji are of width 2 istead of 1.
- ${RM} ${WRKSRC}/test/units/utils/test_display.py
-
-do-test:
- @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ./bin/ansible-test units -v --python ${PYTHON_VER}
-
-.include <bsd.port.mk>
-
-# Make sure that we override the unique DATADIR and ETCDIR set
-# by the implicit USES=uniquefiles.
-DATADIR= ${ANSIBLE_DATADIR}
-ETCDIR= ${ANSIBLE_ETCDIR}
diff --git a/sysutils/py-ansible-core218/distinfo b/sysutils/py-ansible-core218/distinfo
deleted file mode 100644
index ecd1b347269e..000000000000
--- a/sysutils/py-ansible-core218/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1776832323
-SHA256 (ansible_core-2.18.16.tar.gz) = 04e6940e4f2ca829d20d7d6e0ca192ba19c24558f9e041f3800c33693b475731
-SIZE (ansible_core-2.18.16.tar.gz) = 3110645
diff --git a/sysutils/py-ansible-core218/files/patch-pyproject.toml b/sysutils/py-ansible-core218/files/patch-pyproject.toml
deleted file mode 100644
index 4363827ccc66..000000000000
--- a/sysutils/py-ansible-core218/files/patch-pyproject.toml
+++ /dev/null
@@ -1,9 +0,0 @@
---- pyproject.toml.orig 2026-03-23 10:38:33.000000000 -0700
-+++ pyproject.toml 2026-04-10 18:29:43.527309000 -0700
-@@ -1,5 +1,5 @@
- [build-system]
--requires = ["setuptools >= 66.1.0, <= 82.0.1", "wheel == 0.45.1"] # lower bound to support controller Python versions, upper bound for latest version tested at release
-+requires = ["setuptools >= 63.1.0, <= 82.0.1", "wheel >= 0.45.1"] # lower bound to support controller Python versions, upper bound for latest version tested at release
- build-backend = "setuptools.build_meta"
-
- [project]
diff --git a/sysutils/py-ansible-core218/pkg-descr b/sysutils/py-ansible-core218/pkg-descr
deleted file mode 100644
index 12dcf10983b9..000000000000
--- a/sysutils/py-ansible-core218/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Ansible is a radically simple configuration-management, deployment,
-task-execution, and multinode orchestration framework.
-
-ansible-core contains the core engine, modules and plugins. It does not contain
-community and partner supported Ansible Collections of modules and plugins.