diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2016-01-12 18:05:09 -0600 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2016-01-12 18:05:09 -0600 |
commit | 0f6e4ace93e6f70a30b7de24a53fc1f5d20d9dbf (patch) | |
tree | b14aa0b3c98423d9935058eda3b621a2f5310d43 /app-admin | |
parent | 7697105a937fb3043f146d15b1e4a8a8679eaf0b (diff) | |
download | gentoo-0f6e4ace93e6f70a30b7de24a53fc1f5d20d9dbf.tar.gz gentoo-0f6e4ace93e6f70a30b7de24a53fc1f5d20d9dbf.tar.xz |
app-admin/ansible: another bup
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/ansible/Manifest | 1 | ||||
-rw-r--r-- | app-admin/ansible/ansible-2.0.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/app-admin/ansible/Manifest b/app-admin/ansible/Manifest index e33a7c5bedf..82f2e63ba53 100644 --- a/app-admin/ansible/Manifest +++ b/app-admin/ansible/Manifest @@ -1,2 +1,3 @@ DIST ansible-1.9.4.tar.gz 937120 SHA256 972c2face49f1577bd0ff7989440bfe2820e66fb10d7579915cc536bccfa6fe3 SHA512 53ef5b3390be620cedc92687c7c9853c42f38547494f9b77056d5ea48ccd8f43d193648a7f4569fcba5afad343a9202b123296ab47c8cd02eecfe455d83b9586 WHIRLPOOL 0b88a27f690ff940eae1969ff163d8f8c26df038d2e9aa76694bdba1448ac9cbe8123795d0787e528c6d22cf66cc01d6b89add8e3e97bbb107a3f1a96860fd8e DIST ansible-2.0.0.0.tar.gz 1512605 SHA256 63a9386ae96bd6ae3e87b9e9fecef3f3f919f333ed8db22292e37df7643cb3f6 SHA512 7902033e0eda5c768aec159b3a1d9e0f3c9b480c426dcddd053fc608c5e986cf417068f71627efb03fd83392e29dfbcf4487c87430ffd599908b43d079b047d7 WHIRLPOOL ca818ccc1c217e98be7475ca78bad3b4bdb6c728f4a5ae11ed0b7e6f26476ae0217edb284f1c034948c066dca2817a4a0107c1771f53d03b05ec2ee895060abb +DIST ansible-2.0.0.1.tar.gz 1524249 SHA256 1085c1fae3b59f8e55a64b949489f1ddcd811a0c32d9df8ac18abf44a430f3b5 SHA512 2823252a7922c417d8495709c53db85d33ae925120c3572acafe4e11c4d5ba5b9acdec72414606eb9ef4f66ca15db8fe52e0f14623ceef5165a30eb4e249d136 WHIRLPOOL 0b4ba3a632d40413c61b7bd14315f14b64e459cdebd450230ed75711f97bec04ee8a8cc4c4a79e42dfd62654e0f8ae5ffa0fdea40d3874f199a16e45d60c0937 diff --git a/app-admin/ansible/ansible-2.0.1.ebuild b/app-admin/ansible/ansible-2.0.1.ebuild new file mode 100644 index 00000000000..6306732183e --- /dev/null +++ b/app-admin/ansible/ansible-2.0.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils versionator + +DESCRIPTION="Model-driven deployment, config management, and command execution framework" +HOMEPAGE="http://ansible.com/" +# the version here is special because upstream did a 2.0.0 release on accident one time... +MY_PV=$(replace_version_separator 1 '.0.') +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x64-macos" +IUSE="keyczar paramiko test" + +RDEPEND=" + paramiko? ( dev-python/paramiko[${PYTHON_USEDEP}] ) + keyczar? ( dev-python/keyczar[${PYTHON_USEDEP}] ) + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/setuptools[${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}] + 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" + +python_test() { + nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die +} + +python_install_all() { + EXAMPLES=( examples ) + distutils-r1_python_install_all + + doman docs/man/man1/*.1 + + newenvd "${FILESDIR}"/${PN}.env 95ansible +} |