|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-9999.ebuild,v 1.23 2014/12/02 08:23:05 pinkbyte Exp $
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
|
|
|
|
inherit distutils-r1 git-r3 readme.gentoo
|
|
|
|
|
|
|
|
DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
|
|
|
|
HOMEPAGE="http://ansible.com/"
|
|
|
|
SRC_URI=""
|
|
|
|
EGIT_REPO_URI="git://github.com/ansible/ansible.git"
|
|
|
|
EGIT_BRANCH="devel"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS=""
|
|
|
|
IUSE="test"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
test? (
|
|
|
|
dev-python/mock[${PYTHON_USEDEP}]
|
|
|
|
dev-python/nose[${PYTHON_USEDEP}]
|
|
|
|
dev-python/passlib[${PYTHON_USEDEP}]
|
|
|
|
dev-vcs/git
|
|
|
|
)"
|
|
|
|
RDEPEND="
|
|
|
|
dev-python/jinja[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
|
|
net-misc/sshpass
|
|
|
|
virtual/ssh
|
|
|
|
"
|
|
|
|
|
|
|
|
python_test() {
|
|
|
|
make tests || die "tests failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
python_install_all() {
|
|
|
|
distutils-r1_python_install_all
|
|
|
|
|
|
|
|
doman docs/man/man1/*.1
|
|
|
|
|
|
|
|
insinto /usr/share/${PN}
|
|
|
|
doins -r examples
|
|
|
|
|
|
|
|
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
distutils-r1_src_install
|
|
|
|
readme.gentoo_create_doc
|
|
|
|
}
|