diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2017-05-23 14:48:03 +0100 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2017-05-23 14:48:19 +0100 |
commit | fde4c320128662cdb3b7c99bc9c73a301596893b (patch) | |
tree | 8935aea9f56e56bb474ce59eaee0d0d75e27f13a /app-admin | |
parent | media-libs/libsamplerate: Add stable IA64 keyword to avoid dependency tree br... (diff) | |
download | gentoo-fde4c320128662cdb3b7c99bc9c73a301596893b.tar.gz gentoo-fde4c320128662cdb3b7c99bc9c73a301596893b.tar.bz2 gentoo-fde4c320128662cdb3b7c99bc9c73a301596893b.zip |
app-admin/ansible: PyCryptoDome compatibility for bug #611570.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/ansible/Manifest | 1 | ||||
-rw-r--r-- | app-admin/ansible/ansible-2.3.0.0-r2.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/app-admin/ansible/Manifest b/app-admin/ansible/Manifest index aca5da5d621c..f65d26d26199 100644 --- a/app-admin/ansible/Manifest +++ b/app-admin/ansible/Manifest @@ -1 +1,2 @@ +DIST ansible-2.3.0.0-pycryptodome.patch 32449 SHA256 a87d712305160ef8a559bf9e27d7fe4361889f45da5ba501c4a9ae8c6c58e504 SHA512 f52611275262d772b2e44b858c59590ab18ed29c22899c0d8b47f3a21c71aebff9aab1a2284bdf44fbc47b63c3836851db1c065bafe0b6883bb582a98cf4d0a4 WHIRLPOOL bd344c2507eb8576a114e5618d182b90443a92d4cd57f27310eb495dbba123853503c64c69338a02ce680b615862c819985913f2860e3dde670ef929dcd5761f DIST ansible-2.3.0.0.tar.gz 4251730 SHA256 299f3907cd566a20e163942fa82b6afc86ef89c2726ba503b90c1a651e82a458 SHA512 88ac28befefd7a70c36d8c33bc1aba1b0a5ffdea4bddd0b9e6c5488c70057662812208c221e47721c5a194fc30282a33490f196a719d9eb6d9b1e7dcfd1ff941 WHIRLPOOL a6a622f17476c07e3446a7b09631027797ade04f7d1571e0eafccc2736390deabfcdd36fa1e849d209eb7ab5f1e3e86f2b6e7dd3032db1743665165c1dc710ba diff --git a/app-admin/ansible/ansible-2.3.0.0-r2.ebuild b/app-admin/ansible/ansible-2.3.0.0-r2.ebuild new file mode 100644 index 000000000000..9da36fc265c6 --- /dev/null +++ b/app-admin/ansible/ansible-2.3.0.0-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +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 + mirror://gentoo/${P}-pycryptodome.patch" + +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/pycryptodome[${PYTHON_USEDEP}] + >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] + ) + dev-python/httplib2[${PYTHON_USEDEP}] + dev-python/six[${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/mock-1.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" + +PATCHES=( "${FILESDIR}/CVE-2017-7481.patch" + "${DISTDIR}/${P}-pycryptodome.patch" ) + +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 +} |