pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/ansible ansible: updated to 3.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de34e1783cc0
branches:  trunk
changeset: 448535:de34e1783cc0
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Mar 09 12:11:40 2021 +0000

description:
ansible: updated to 3.0.0

We're happy to announce that the ansible-3.0.0 package is now
available! This update is based on the ansible-base-2.10.x package
just like ansible-2.10 was so the changes shouldn't be too major.
However, it does contain new major versions of many collections which
means that there will be some backwards incompatible changes in the
modules and plugins.

If you would like to learn about how and why we got to version 3.0.0,
we invite you to visit our blog for the background as well as a Q&A:

- https://www.ansible.com/blog/announcing-the-community-ansible-3.0.0-package
- https://www.ansible.com/blog/ansible-3.0.0-qa

diffstat:

 sysutils/ansible/Makefile                                                         |     69 +-
 sysutils/ansible/PLIST                                                            |  63938 +++++++--
 sysutils/ansible/distinfo                                                         |     11 +-
 sysutils/ansible/patches/patch-lib_ansible_module__utils_facts_hardware_netbsd.py |     39 -
 4 files changed, 47316 insertions(+), 16741 deletions(-)

diffs (truncated from 64097 to 300 lines):

diff -r d46bbf4299c1 -r de34e1783cc0 sysutils/ansible/Makefile
--- a/sysutils/ansible/Makefile Tue Mar 09 12:10:31 2021 +0000
+++ b/sysutils/ansible/Makefile Tue Mar 09 12:11:40 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2021/02/25 12:35:57 adam Exp $
+# $NetBSD: Makefile,v 1.40 2021/03/09 12:11:40 adam Exp $
 
-DISTNAME=      ansible-2.9.18
+DISTNAME=      ansible-3.0.0
 CATEGORIES=    sysutils python
-MASTER_SITES=  https://releases.ansible.com/ansible/
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/ansible/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.ansible.com/
@@ -11,55 +11,30 @@
 
 PREV_PKGPATH=  sysutils/ansible2
 
-DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
-DEPENDS+=      ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
-DEPENDS+=      ${PYPKGPREFIX}-paramiko-[0-9]*:../../security/py-paramiko
-DEPENDS+=      ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
-
-USE_TOOLS+=    gmake
+DEPENDS+=      ansible-base>=2.10.5:../../sysutils/ansible-base
 
-PKG_SYSCONFSUBDIR=     ansible
-EGDIR=                 ${PREFIX}/share/examples/ansible
-
-REPLACE_PYTHON=                test/lib/ansible_test/_data/*.py
-REPLACE_PYTHON+=       test/lib/ansible_test/_data/*/*.py
-REPLACE_PYTHON+=       test/lib/ansible_test/_data/*/*/*.py
-
-CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_test/_data/requirements/sanity.ps1
-CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_test/_data/sanity/pslint/pslint.ps1
-CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_test/_data/sanity/validate-modules/validate_modules/ps_argspec.ps1
+USE_LANGUAGES= # none
 
-SUBST_CLASSES+=                paths
-SUBST_STAGE.paths=     pre-configure
-SUBST_FILES.paths+=    docs/man/man1/*.1
-SUBST_FILES.paths+=    examples/ansible.cfg
-SUBST_FILES.paths+=    examples/hosts
-SUBST_FILES.paths+=    lib/ansible/config/base.yml
-SUBST_FILES.paths+=    lib/ansible/module_utils/urls.py
-SUBST_FILES.paths+=    lib/ansible/modules/system/setup.py
-SUBST_MESSAGE.paths=   Fixing hardcoded paths.
-SUBST_SED.paths=       -e "s,/usr/share/ansible,${PREFIX}/share/ansible,g"
-SUBST_SED.paths+=      -e "s,/etc/ansible,${PKG_SYSCONFDIR},g"
-
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKG_SYSCONFDIR} ${EGDIR}
-OWN_DIRS=              ${PREFIX}/share/ansible
+REPLACE_PYTHON+=       ansible_collections/*/*/.azure-pipelines/scripts/*.py
+REPLACE_PYTHON+=       ansible_collections/*/*/tests/*/*.py
+REPLACE_PYTHON+=       ansible_collections/*/*/tests/*/*/*.py
+REPLACE_PYTHON+=       ansible_collections/*/*/tests/*/*/*/*.py
+REPLACE_PYTHON+=       ansible_collections/community/general/tests/integration/targets/django_manage/files/base_test/*/*/*.py
+REPLACE_PYTHON+=       ansible_collections/community/okd/ci/downstream_fragments.py
+REPLACE_PYTHON+=       ansible_collections/ngine_io/cloudstack/scripts/inventory/cloudstack.py
+REPLACE_PYTHON+=       ansible_collections/sensu/sensu_go/fix-pytest-ini.py
 
-CONF_FILES=            ${EGDIR}/ansible.cfg ${PKG_SYSCONFDIR}/ansible.cfg
-CONF_FILES+=           ${EGDIR}/hosts ${PKG_SYSCONFDIR}/hosts
-
-# Contains hardcoded paths to expected locations of package managers.
-CHECK_WRKREF_SKIP+=    */ansible/module_utils/facts/system/pkg_mgr.py
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_collections/*/*/.azure-pipelines/scripts/*.sh
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_collections/*/*/tests/*/*.sh
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_collections/*/*/tests/*/*/*.sh
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_collections/*/*/tests/*/*/*/*.sh
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_collections/netbox/netbox/hacking/*.sh
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_collections/community/vmware/check-ignores-order
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/ansible_collections/infinidat/infinibox/bin/*.sh
 
-post-install:
-.for f in ansible-console.1 ansible-doc.1 ansible-galaxy.1 ansible-inventory.1 \
-       ansible-playbook.1 ansible-pull.1 ansible-vault.1 ansible.1
-       ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
-.endfor
-.for f in ansible.cfg hosts
-       ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}/${EGDIR}
-.endfor
+post-extract:
+       ${FIND} ${WRKSRC}/ansible_collections -name .DS_Store -delete
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d46bbf4299c1 -r de34e1783cc0 sysutils/ansible/PLIST
--- a/sysutils/ansible/PLIST    Tue Mar 09 12:10:31 2021 +0000
+++ b/sysutils/ansible/PLIST    Tue Mar 09 12:11:40 2021 +0000
@@ -1,16655 +1,47295 @@
-@comment $NetBSD: PLIST,v 1.13 2021/02/25 12:35:57 adam Exp $
-bin/ansible
-bin/ansible-config
-bin/ansible-connection
-bin/ansible-console
-bin/ansible-doc
-bin/ansible-galaxy
-bin/ansible-inventory
-bin/ansible-playbook
-bin/ansible-pull
-bin/ansible-test
-bin/ansible-vault
-@pkgdir etc/ansible
+@comment $NetBSD: PLIST,v 1.14 2021/03/09 12:11:40 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/ansible/__init__.py
-${PYSITELIB}/ansible/__init__.pyc
-${PYSITELIB}/ansible/__init__.pyo
-${PYSITELIB}/ansible/cli/__init__.py
-${PYSITELIB}/ansible/cli/__init__.pyc
-${PYSITELIB}/ansible/cli/__init__.pyo
-${PYSITELIB}/ansible/cli/adhoc.py
-${PYSITELIB}/ansible/cli/adhoc.pyc
-${PYSITELIB}/ansible/cli/adhoc.pyo
-${PYSITELIB}/ansible/cli/arguments/__init__.py
-${PYSITELIB}/ansible/cli/arguments/__init__.pyc
-${PYSITELIB}/ansible/cli/arguments/__init__.pyo
-${PYSITELIB}/ansible/cli/arguments/option_helpers.py
-${PYSITELIB}/ansible/cli/arguments/option_helpers.pyc
-${PYSITELIB}/ansible/cli/arguments/option_helpers.pyo
-${PYSITELIB}/ansible/cli/config.py
-${PYSITELIB}/ansible/cli/config.pyc
-${PYSITELIB}/ansible/cli/config.pyo
-${PYSITELIB}/ansible/cli/console.py
-${PYSITELIB}/ansible/cli/console.pyc
-${PYSITELIB}/ansible/cli/console.pyo
-${PYSITELIB}/ansible/cli/doc.py
-${PYSITELIB}/ansible/cli/doc.pyc
-${PYSITELIB}/ansible/cli/doc.pyo
-${PYSITELIB}/ansible/cli/galaxy.py
-${PYSITELIB}/ansible/cli/galaxy.pyc
-${PYSITELIB}/ansible/cli/galaxy.pyo
-${PYSITELIB}/ansible/cli/inventory.py
-${PYSITELIB}/ansible/cli/inventory.pyc
-${PYSITELIB}/ansible/cli/inventory.pyo
-${PYSITELIB}/ansible/cli/playbook.py
-${PYSITELIB}/ansible/cli/playbook.pyc
-${PYSITELIB}/ansible/cli/playbook.pyo
-${PYSITELIB}/ansible/cli/pull.py
-${PYSITELIB}/ansible/cli/pull.pyc
-${PYSITELIB}/ansible/cli/pull.pyo
-${PYSITELIB}/ansible/cli/scripts/__init__.py
-${PYSITELIB}/ansible/cli/scripts/__init__.pyc
-${PYSITELIB}/ansible/cli/scripts/__init__.pyo
-${PYSITELIB}/ansible/cli/scripts/ansible_cli_stub.py
-${PYSITELIB}/ansible/cli/scripts/ansible_cli_stub.pyc
-${PYSITELIB}/ansible/cli/scripts/ansible_cli_stub.pyo
-${PYSITELIB}/ansible/cli/scripts/ansible_connection_cli_stub.py
-${PYSITELIB}/ansible/cli/scripts/ansible_connection_cli_stub.pyc
-${PYSITELIB}/ansible/cli/scripts/ansible_connection_cli_stub.pyo
-${PYSITELIB}/ansible/cli/vault.py
-${PYSITELIB}/ansible/cli/vault.pyc
-${PYSITELIB}/ansible/cli/vault.pyo
-${PYSITELIB}/ansible/compat/__init__.py
-${PYSITELIB}/ansible/compat/__init__.pyc
-${PYSITELIB}/ansible/compat/__init__.pyo
-${PYSITELIB}/ansible/compat/selectors/__init__.py
-${PYSITELIB}/ansible/compat/selectors/__init__.pyc
-${PYSITELIB}/ansible/compat/selectors/__init__.pyo
-${PYSITELIB}/ansible/config/__init__.py
-${PYSITELIB}/ansible/config/__init__.pyc
-${PYSITELIB}/ansible/config/__init__.pyo
-${PYSITELIB}/ansible/config/base.yml
-${PYSITELIB}/ansible/config/data.py
-${PYSITELIB}/ansible/config/data.pyc
-${PYSITELIB}/ansible/config/data.pyo
-${PYSITELIB}/ansible/config/manager.py
-${PYSITELIB}/ansible/config/manager.pyc
-${PYSITELIB}/ansible/config/manager.pyo
-${PYSITELIB}/ansible/config/module_defaults.yml
-${PYSITELIB}/ansible/constants.py
-${PYSITELIB}/ansible/constants.pyc
-${PYSITELIB}/ansible/constants.pyo
-${PYSITELIB}/ansible/context.py
-${PYSITELIB}/ansible/context.pyc
-${PYSITELIB}/ansible/context.pyo
-${PYSITELIB}/ansible/errors/__init__.py
-${PYSITELIB}/ansible/errors/__init__.pyc
-${PYSITELIB}/ansible/errors/__init__.pyo
-${PYSITELIB}/ansible/errors/yaml_strings.py
-${PYSITELIB}/ansible/errors/yaml_strings.pyc
-${PYSITELIB}/ansible/errors/yaml_strings.pyo
-${PYSITELIB}/ansible/executor/__init__.py
-${PYSITELIB}/ansible/executor/__init__.pyc
-${PYSITELIB}/ansible/executor/__init__.pyo
-${PYSITELIB}/ansible/executor/action_write_locks.py
-${PYSITELIB}/ansible/executor/action_write_locks.pyc
-${PYSITELIB}/ansible/executor/action_write_locks.pyo
-${PYSITELIB}/ansible/executor/discovery/__init__.py
-${PYSITELIB}/ansible/executor/discovery/__init__.pyc
-${PYSITELIB}/ansible/executor/discovery/__init__.pyo
-${PYSITELIB}/ansible/executor/discovery/python_target.py
-${PYSITELIB}/ansible/executor/discovery/python_target.pyc
-${PYSITELIB}/ansible/executor/discovery/python_target.pyo
-${PYSITELIB}/ansible/executor/interpreter_discovery.py
-${PYSITELIB}/ansible/executor/interpreter_discovery.pyc
-${PYSITELIB}/ansible/executor/interpreter_discovery.pyo
-${PYSITELIB}/ansible/executor/module_common.py
-${PYSITELIB}/ansible/executor/module_common.pyc
-${PYSITELIB}/ansible/executor/module_common.pyo
-${PYSITELIB}/ansible/executor/play_iterator.py
-${PYSITELIB}/ansible/executor/play_iterator.pyc
-${PYSITELIB}/ansible/executor/play_iterator.pyo
-${PYSITELIB}/ansible/executor/playbook_executor.py
-${PYSITELIB}/ansible/executor/playbook_executor.pyc
-${PYSITELIB}/ansible/executor/playbook_executor.pyo
-${PYSITELIB}/ansible/executor/powershell/__init__.py
-${PYSITELIB}/ansible/executor/powershell/__init__.pyc
-${PYSITELIB}/ansible/executor/powershell/__init__.pyo
-${PYSITELIB}/ansible/executor/powershell/async_watchdog.ps1
-${PYSITELIB}/ansible/executor/powershell/async_wrapper.ps1
-${PYSITELIB}/ansible/executor/powershell/become_wrapper.ps1
-${PYSITELIB}/ansible/executor/powershell/bootstrap_wrapper.ps1
-${PYSITELIB}/ansible/executor/powershell/coverage_wrapper.ps1
-${PYSITELIB}/ansible/executor/powershell/exec_wrapper.ps1
-${PYSITELIB}/ansible/executor/powershell/module_manifest.py
-${PYSITELIB}/ansible/executor/powershell/module_manifest.pyc
-${PYSITELIB}/ansible/executor/powershell/module_manifest.pyo
-${PYSITELIB}/ansible/executor/powershell/module_powershell_wrapper.ps1
-${PYSITELIB}/ansible/executor/powershell/module_script_wrapper.ps1
-${PYSITELIB}/ansible/executor/powershell/module_wrapper.ps1
-${PYSITELIB}/ansible/executor/process/__init__.py
-${PYSITELIB}/ansible/executor/process/__init__.pyc
-${PYSITELIB}/ansible/executor/process/__init__.pyo
-${PYSITELIB}/ansible/executor/process/worker.py
-${PYSITELIB}/ansible/executor/process/worker.pyc
-${PYSITELIB}/ansible/executor/process/worker.pyo
-${PYSITELIB}/ansible/executor/stats.py
-${PYSITELIB}/ansible/executor/stats.pyc
-${PYSITELIB}/ansible/executor/stats.pyo
-${PYSITELIB}/ansible/executor/task_executor.py
-${PYSITELIB}/ansible/executor/task_executor.pyc
-${PYSITELIB}/ansible/executor/task_executor.pyo
-${PYSITELIB}/ansible/executor/task_queue_manager.py
-${PYSITELIB}/ansible/executor/task_queue_manager.pyc
-${PYSITELIB}/ansible/executor/task_queue_manager.pyo
-${PYSITELIB}/ansible/executor/task_result.py
-${PYSITELIB}/ansible/executor/task_result.pyc
-${PYSITELIB}/ansible/executor/task_result.pyo
-${PYSITELIB}/ansible/galaxy/__init__.py
-${PYSITELIB}/ansible/galaxy/__init__.pyc
-${PYSITELIB}/ansible/galaxy/__init__.pyo
-${PYSITELIB}/ansible/galaxy/api.py
-${PYSITELIB}/ansible/galaxy/api.pyc
-${PYSITELIB}/ansible/galaxy/api.pyo
-${PYSITELIB}/ansible/galaxy/collection.py
-${PYSITELIB}/ansible/galaxy/collection.pyc
-${PYSITELIB}/ansible/galaxy/collection.pyo
-${PYSITELIB}/ansible/galaxy/data/apb/.travis.yml
-${PYSITELIB}/ansible/galaxy/data/apb/Dockerfile.j2
-${PYSITELIB}/ansible/galaxy/data/apb/Makefile.j2
-${PYSITELIB}/ansible/galaxy/data/apb/README.md
-${PYSITELIB}/ansible/galaxy/data/apb/apb.yml.j2
-${PYSITELIB}/ansible/galaxy/data/apb/defaults/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/apb/files/.git_keep
-${PYSITELIB}/ansible/galaxy/data/apb/handlers/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/apb/meta/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/apb/playbooks/deprovision.yml.j2
-${PYSITELIB}/ansible/galaxy/data/apb/playbooks/provision.yml.j2
-${PYSITELIB}/ansible/galaxy/data/apb/tasks/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/apb/templates/.git_keep
-${PYSITELIB}/ansible/galaxy/data/apb/tests/ansible.cfg
-${PYSITELIB}/ansible/galaxy/data/apb/tests/inventory
-${PYSITELIB}/ansible/galaxy/data/apb/tests/test.yml.j2
-${PYSITELIB}/ansible/galaxy/data/apb/vars/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/collections_galaxy_meta.yml
-${PYSITELIB}/ansible/galaxy/data/container/.travis.yml
-${PYSITELIB}/ansible/galaxy/data/container/README.md
-${PYSITELIB}/ansible/galaxy/data/container/defaults/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/container/files/.git_keep
-${PYSITELIB}/ansible/galaxy/data/container/handlers/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/container/meta/container.yml.j2
-${PYSITELIB}/ansible/galaxy/data/container/meta/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/container/tasks/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/container/templates/.git_keep
-${PYSITELIB}/ansible/galaxy/data/container/tests/ansible.cfg
-${PYSITELIB}/ansible/galaxy/data/container/tests/inventory
-${PYSITELIB}/ansible/galaxy/data/container/tests/test.yml.j2
-${PYSITELIB}/ansible/galaxy/data/container/vars/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/default/collection/README.md.j2
-${PYSITELIB}/ansible/galaxy/data/default/collection/docs/.git_keep
-${PYSITELIB}/ansible/galaxy/data/default/collection/galaxy.yml.j2
-${PYSITELIB}/ansible/galaxy/data/default/collection/plugins/README.md.j2
-${PYSITELIB}/ansible/galaxy/data/default/collection/roles/.git_keep
-${PYSITELIB}/ansible/galaxy/data/default/role/.travis.yml
-${PYSITELIB}/ansible/galaxy/data/default/role/README.md
-${PYSITELIB}/ansible/galaxy/data/default/role/defaults/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/default/role/files/.git_keep
-${PYSITELIB}/ansible/galaxy/data/default/role/handlers/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/default/role/meta/main.yml.j2
-${PYSITELIB}/ansible/galaxy/data/default/role/tasks/main.yml.j2



Home | Main Index | Thread Index | Old Index