From e1e0f4b0d487bd191fd23f629544d71abd6131c8 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Tue, 15 Sep 2020 11:47:41 -0500 Subject: app-admin/ansible-base: add ansible-base package Package-Manager: Portage-3.0.4, Repoman-3.0.1 RepoMan-Options: --force Signed-off-by: Matthew Thode --- app-admin/ansible-base/Manifest | 1 + app-admin/ansible-base/ansible-base-2.10.0.ebuild | 74 +++++++++++++++++++++++ app-admin/ansible-base/metadata.xml | 29 +++++++++ 3 files changed, 104 insertions(+) create mode 100644 app-admin/ansible-base/Manifest create mode 100644 app-admin/ansible-base/ansible-base-2.10.0.ebuild create mode 100644 app-admin/ansible-base/metadata.xml (limited to 'app-admin/ansible-base') diff --git a/app-admin/ansible-base/Manifest b/app-admin/ansible-base/Manifest new file mode 100644 index 000000000000..4c96f4823ec2 --- /dev/null +++ b/app-admin/ansible-base/Manifest @@ -0,0 +1 @@ +DIST ansible-base-2.10.0.tar.gz 5775091 BLAKE2B 2a087b1a9d675c5218e8700f5b455ff280a5dc6e66b575a47755b9936c54594300e3c22acadbe14acfd335c3be788e3d63f6ad3c5c51650cbc036c77ceec41ef SHA512 f9e9631f9ce77e55b06d01814422cbc0ca170e3fbbbd5886e4f87065b68b4d7eefe1c782f6dce14241cc548192c7b06ef778446636be02a342d4bd112000126e diff --git a/app-admin/ansible-base/ansible-base-2.10.0.ebuild b/app-admin/ansible-base/ansible-base-2.10.0.ebuild new file mode 100644 index 000000000000..3cc5cd35c7bb --- /dev/null +++ b/app-admin/ansible-base/ansible-base-2.10.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Model-driven deployment, config management, and command execution framework" +HOMEPAGE="https://ansible.com/" +SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~x64-macos" +IUSE="doc test" +RESTRICT="test" + +RDEPEND=" + dev-python/paramiko[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/httplib2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + net-misc/sshpass + virtual/ssh +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/packaging-16.6[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-notfound-page[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] + dev-python/passlib[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + dev-vcs/git + )" + +python_compile() { + # disable version checks on upgrade + export ANSIBLE_SKIP_CONFLICT_CHECK=1 + distutils-r1_python_compile +} + +python_compile_all() { + if use doc; then + cd docs/docsite || die + export CPUS=4 + emake -f Makefile.sphinx html + fi +} + +python_test() { + nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/docsite/_build/html/. ) + distutils-r1_python_install_all + + dodoc -r examples +} diff --git a/app-admin/ansible-base/metadata.xml b/app-admin/ansible-base/metadata.xml new file mode 100644 index 000000000000..e1e179d46209 --- /dev/null +++ b/app-admin/ansible-base/metadata.xml @@ -0,0 +1,29 @@ + + + + + chainsaw@gentoo.org + Tony Vroon + + + prometheanfire@gentoo.org + Matthew Thode + + + calchan@gentoo.org + Denis Dupeyron + + + monsieurp@gentoo.org + Patrice Clement + + + ansible-base + ansible/ansible + https://github.com/ansible/ansible/issues + + +Radically simple deployment, model-driven configuration management, and +command execution framework. + + -- cgit v1.2.3-65-gdbad