Tue Mar 16 08:19:47 2021 UTC ()
ansible-base: updated to 2.10.7

v2.10.7

Minor Changes
-------------
- ansible-test - Generation of an ``egg-info`` directory, if needed, is now done after installing test dependencies and before running tests. When running from an installed version of ``ansible-test`` a temporary directory is used to avoid permissions issues. Previously it was done before installing test dependencies and adjacent to the installed directory.
- ansible-test - now makes a better attempt to support podman when calling ``docker images`` and asking for JSON format.

Bugfixes
--------
- ConfigManager - Normalize ConfigParser between Python2 and Python3 to for handling comments (https://github.com/ansible/ansible/issues/73709)
- InventoryManager - Fix unhandled exception when given limit file was actually a directory.
- InventoryManager - Fix unhandled exception when inventory directory was empty or contained empty subdirectories (https://github.com/ansible/ansible/issues/73658).
- add AlmaLinux to fact gathering (https://github.com/ansible/ansible/pull/73458)
- ansible-galaxy - fixed galaxy role init command (https://github.com/ansible/ansible/issues/71977).
- ansible-inventory CLI - Deal with failures when sorting JSON and you have incompatible key types (https://github.com/ansible/ansible/issues/68950).
- ansible-test - Running tests using an installed version of ``ansible-test`` against one Python version from another no longer fails due to a missing ``egg-info`` directory. This could occur when testing plugins which import ``pkg_resources``.
- ansible-test - Running tests using an installed version of ``ansible-test`` no longer generates an error attempting to create an ``egg-info`` directory when an existing one is not found in the expected location. This could occur if the existing ``egg-info`` directory included a Python version specifier in the name.
- default callback - Ensure that the ``host_pinned`` strategy is not treated as lockstep (https://github.com/ansible/ansible/issues/73364)
- ensure find_mount_point consistently returns text.
- ensure we don't clobber role vars data when getting an empty file
- find module - Stop traversing directories past the requested depth. (https://github.com/ansible/ansible/issues/73627)
- hostname - add Almalinux support (https://github.com/ansible/ansible/pull/73619)
- runtime routing - redirect ``firewalld`` to ``ansible.posix.firewalld`` FQCN (https://github.com/ansible/ansible/issues/73689).
- the unvault lookup plugin returned a byte string. Now returns a real string.
- yamllint - do not raise an ``AttributeError`` if a value is assigned to a module attribute at the top of the module.


(adam)
diff -r1.1 -r1.2 pkgsrc/sysutils/ansible-base/Makefile
diff -r1.1 -r1.2 pkgsrc/sysutils/ansible-base/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/ansible-base/Attic/Makefile (switch to unified diff)

--- pkgsrc/sysutils/ansible-base/Attic/Makefile 2021/03/09 12:10:31 1.1
+++ pkgsrc/sysutils/ansible-base/Attic/Makefile 2021/03/16 08:19:47 1.2
@@ -1,65 +1,65 @@ @@ -1,65 +1,65 @@
1# $NetBSD: Makefile,v 1.1 2021/03/09 12:10:31 adam Exp $ 1# $NetBSD: Makefile,v 1.2 2021/03/16 08:19:47 adam Exp $
2 2
3DISTNAME= ansible-base-2.10.6 3DISTNAME= ansible-base-2.10.7
4CATEGORIES= sysutils python 4CATEGORIES= sysutils python
5MASTER_SITES= ${MASTER_SITE_PYPI:=a/ansible-base/} 5MASTER_SITES= ${MASTER_SITE_PYPI:=a/ansible-base/}
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://ansible.com/ 8HOMEPAGE= https://ansible.com/
9COMMENT= SSH-based configuration management, deployment, and task execution 9COMMENT= SSH-based configuration management, deployment, and task execution
10LICENSE= gnu-gpl-v3 10LICENSE= gnu-gpl-v3
11 11
12CONFLICTS+= ansible<2.10 12CONFLICTS+= ansible<2.10
13 13
14DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography 14DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
15DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 15DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
16DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging 16DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
17DEPENDS+= ${PYPKGPREFIX}-paramiko-[0-9]*:../../security/py-paramiko 17DEPENDS+= ${PYPKGPREFIX}-paramiko-[0-9]*:../../security/py-paramiko
18DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml 18DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
19 19
20USE_TOOLS+= gmake 20USE_TOOLS+= gmake
21 21
22PKG_SYSCONFSUBDIR= ansible 22PKG_SYSCONFSUBDIR= ansible
23EGDIR= ${PREFIX}/share/examples/ansible 23EGDIR= ${PREFIX}/share/examples/ansible
24 24
25REPLACE_PYTHON= test/lib/ansible_test/_data/*.py 25REPLACE_PYTHON= test/lib/ansible_test/_data/*.py
26REPLACE_PYTHON+= test/lib/ansible_test/_data/*/*.py 26REPLACE_PYTHON+= test/lib/ansible_test/_data/*/*.py
27REPLACE_PYTHON+= test/lib/ansible_test/_data/*/*/*.py 27REPLACE_PYTHON+= test/lib/ansible_test/_data/*/*/*.py
28 28
29CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/ansible_test/_data/requirements/sanity.ps1 29CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/ansible_test/_data/requirements/sanity.ps1
30CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/ansible_test/_data/sanity/pslint/pslint.ps1 30CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/ansible_test/_data/sanity/pslint/pslint.ps1
31CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/ansible_test/_data/sanity/validate-modules/validate_modules/ps_argspec.ps1 31CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/ansible_test/_data/sanity/validate-modules/validate_modules/ps_argspec.ps1
32 32
33SUBST_CLASSES+= paths 33SUBST_CLASSES+= paths
34SUBST_STAGE.paths= pre-configure 34SUBST_STAGE.paths= pre-configure
35SUBST_FILES.paths+= docs/man/man1/*.1 35SUBST_FILES.paths+= docs/man/man1/*.1
36SUBST_FILES.paths+= examples/ansible.cfg 36SUBST_FILES.paths+= examples/ansible.cfg
37SUBST_FILES.paths+= examples/hosts 37SUBST_FILES.paths+= examples/hosts
38SUBST_FILES.paths+= lib/ansible/config/base.yml 38SUBST_FILES.paths+= lib/ansible/config/base.yml
39SUBST_FILES.paths+= lib/ansible/module_utils/urls.py 39SUBST_FILES.paths+= lib/ansible/module_utils/urls.py
40SUBST_MESSAGE.paths= Fixing hardcoded paths. 40SUBST_MESSAGE.paths= Fixing hardcoded paths.
41SUBST_SED.paths= -e "s,/usr/share/ansible,${PREFIX}/share/ansible,g" 41SUBST_SED.paths= -e "s,/usr/share/ansible,${PREFIX}/share/ansible,g"
42SUBST_SED.paths+= -e "s,/etc/ansible,${PKG_SYSCONFDIR},g" 42SUBST_SED.paths+= -e "s,/etc/ansible,${PKG_SYSCONFDIR},g"
43 43
44INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR} 44INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR}
45OWN_DIRS= ${PREFIX}/share/ansible 45OWN_DIRS= ${PREFIX}/share/ansible
46 46
47CONF_FILES= ${EGDIR}/ansible.cfg ${PKG_SYSCONFDIR}/ansible.cfg 47CONF_FILES= ${EGDIR}/ansible.cfg ${PKG_SYSCONFDIR}/ansible.cfg
48CONF_FILES+= ${EGDIR}/hosts ${PKG_SYSCONFDIR}/hosts 48CONF_FILES+= ${EGDIR}/hosts ${PKG_SYSCONFDIR}/hosts
49 49
50# Contains hardcoded paths to expected locations of package managers. 50# Contains hardcoded paths to expected locations of package managers.
51CHECK_WRKREF_SKIP+= */ansible/module_utils/facts/system/pkg_mgr.py 51CHECK_WRKREF_SKIP+= */ansible/module_utils/facts/system/pkg_mgr.py
52 52
53post-install: 53post-install:
54.for f in ansible-console.1 ansible-doc.1 ansible-galaxy.1 ansible-inventory.1 \ 54.for f in ansible-console.1 ansible-doc.1 ansible-galaxy.1 ansible-inventory.1 \
55 ansible-playbook.1 ansible-pull.1 ansible-vault.1 ansible.1 55 ansible-playbook.1 ansible-pull.1 ansible-vault.1 ansible.1
56 ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ 56 ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
57.endfor 57.endfor
58.for f in ansible.cfg hosts 58.for f in ansible.cfg hosts
59 ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}/${EGDIR} 59 ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}/${EGDIR}
60.endfor 60.endfor
61 61
62.include "../../lang/python/application.mk" 62.include "../../lang/python/application.mk"
63.include "../../lang/python/egg.mk" 63.include "../../lang/python/egg.mk"
64.include "../../lang/python/tool.mk" 64.include "../../lang/python/tool.mk"
65.include "../../mk/bsd.pkg.mk" 65.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/ansible-base/Attic/distinfo (switch to unified diff)

--- pkgsrc/sysutils/ansible-base/Attic/distinfo 2021/03/09 12:10:31 1.1
+++ pkgsrc/sysutils/ansible-base/Attic/distinfo 2021/03/16 08:19:47 1.2
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.1 2021/03/09 12:10:31 adam Exp $ 1$NetBSD: distinfo,v 1.2 2021/03/16 08:19:47 adam Exp $
2 2
3SHA1 (ansible-base-2.10.6.tar.gz) = 9fae05080a910130864bd3664a61d521041af5e2 3SHA1 (ansible-base-2.10.7.tar.gz) = ffcd8e5a1eaf6e95c4b4cb3836953b996d4131cd
4RMD160 (ansible-base-2.10.6.tar.gz) = ccb5cd28ce24e08a3763395bdc14ede458beb572 4RMD160 (ansible-base-2.10.7.tar.gz) = 9c013ec9b57eb07696cd69a25d219ab84eb8f7b0
5SHA512 (ansible-base-2.10.6.tar.gz) = 85ec9d4266aa3ace557ff477aff983a14247a13daad7e4de24838dc9b8509af46ab8d1ae234053342ff870b8e442432560eb469a4a446b567683d55cfac06613 5SHA512 (ansible-base-2.10.7.tar.gz) = 170a159956b577e122421d016ed81fbeda34de8036a6294e70999a8f0c1eebb2406e6f5766b7f2e00fbf06e01d45ee343c98dd74d667f9bedfa8a88c84c805a0
6Size (ansible-base-2.10.6.tar.gz) = 5723168 bytes 6Size (ansible-base-2.10.7.tar.gz) = 5737915 bytes
7SHA1 (patch-lib_ansible_module__utils_facts_hardware_netbsd.py) = cdc41b104bffab7badd00446a9d0cdecba32cca2 7SHA1 (patch-lib_ansible_module__utils_facts_hardware_netbsd.py) = cdc41b104bffab7badd00446a9d0cdecba32cca2