diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2018-01-06 17:53:14 -0600 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2018-01-06 17:54:01 -0600 |
commit | 3ac045ae15028ccc9fe6bc95554d55464ab9e6e6 (patch) | |
tree | a2340c6205374e52c71cd6431fb42bd428556839 /app-admin | |
parent | sys-devel/autoconf: stable 2.69-r4 for ia64/ppc/ppc64, bug #643378 (diff) | |
download | gentoo-3ac045ae15028ccc9fe6bc95554d55464ab9e6e6.tar.gz gentoo-3ac045ae15028ccc9fe6bc95554d55464ab9e6e6.tar.bz2 gentoo-3ac045ae15028ccc9fe6bc95554d55464ab9e6e6.zip |
app-admin/ansible: uncap mock for bug 643504
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/ansible/ansible-2.4.2.0-r1.ebuild | 56 | ||||
-rw-r--r-- | app-admin/ansible/ansible-9999.ebuild | 3 |
2 files changed, 57 insertions, 2 deletions
diff --git a/app-admin/ansible/ansible-2.4.2.0-r1.ebuild b/app-admin/ansible/ansible-2.4.2.0-r1.ebuild new file mode 100644 index 000000000000..346b2f5aea95 --- /dev/null +++ b/app-admin/ansible/ansible-2.4.2.0-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) + +inherit distutils-r1 eutils versionator + +DESCRIPTION="Model-driven deployment, config management, and command execution framework" +HOMEPAGE="http://ansible.com/" +SRC_URI="http://releases.ansible.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x64-macos" +IUSE="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}] + net-misc/sshpass + virtual/ssh +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/packaging-16.6[${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 + )" + +# not included in release tarball +RESTRICT="test" + +python_test() { + nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die +} + +python_install_all() { + distutils-r1_python_install_all + + doman docs/man/man1/*.1 + dodoc -r examples +} diff --git a/app-admin/ansible/ansible-9999.ebuild b/app-admin/ansible/ansible-9999.ebuild index 3470c23efa9c..9e8e5bb04c69 100644 --- a/app-admin/ansible/ansible-9999.ebuild +++ b/app-admin/ansible/ansible-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -36,7 +36,6 @@ DEPEND=" ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] - <dev-python/mock-1.1[${PYTHON_USEDEP}] dev-python/passlib[${PYTHON_USEDEP}] dev-python/coverage[${PYTHON_USEDEP}] dev-python/unittest2[${PYTHON_USEDEP}] |