diff options
-rw-r--r-- | app-admin/ansible/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/ansible/ansible-1.4.3.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/app-admin/ansible/ChangeLog b/app-admin/ansible/ChangeLog index 457a042323d4..5905160cc132 100644 --- a/app-admin/ansible/ChangeLog +++ b/app-admin/ansible/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/ansible # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ChangeLog,v 1.30 2013/12/09 18:53:34 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ChangeLog,v 1.31 2013/12/29 09:15:08 pinkbyte Exp $ + +*ansible-1.4.3 (29 Dec 2013) + + 29 Dec 2013; Sergey Popov <pinkbyte@gentoo.org> +ansible-1.4.3.ebuild: + Version bump 09 Dec 2013; Matthew Thode <prometheanfire@gentoo.org> +files/tests-ansible-1.4.1.patch, ansible-1.4.1.ebuild: diff --git a/app-admin/ansible/ansible-1.4.3.ebuild b/app-admin/ansible/ansible-1.4.3.ebuild new file mode 100644 index 000000000000..a659e63e2979 --- /dev/null +++ b/app-admin/ansible/ansible-1.4.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-1.4.3.ebuild,v 1.1 2013/12/29 09:15:08 pinkbyte Exp $ + +EAPI="5" + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit distutils-r1 readme.gentoo + +DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework" +HOMEPAGE="http://ansible.cc/" +SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-3" +SLOT="0" +IUSE="test" + +DEPEND="test? ( + dev-python/nose + dev-vcs/git + )" +RDEPEND=" + dev-python/jinja + dev-python/pyyaml + dev-python/paramiko + net-misc/sshpass + virtual/ssh +" + +DOC_CONTENTS="You can define parameters through shell variables OR use config files +Examples of config files installed in /usr/share/doc/${PF}/examples\n\n +You have to create ansible hosts file!\n +More info on http://ansible.cc/docs/gettingstarted.html" + +python_prepare_all() { + distutils-r1_python_prepare_all + # Skip tests which need ssh access + sed -i 's:$(NOSETESTS) -d -v:\0 -e \\(TestPlayBook.py\\|TestRunner.py\\):' Makefile || die "sed failed" +} + +python_test() { + make tests || die "tests failed" +} + +python_install_all() { + distutils-r1_python_install_all + + doman docs/man/man1/*.1 + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + # Hint: do not install example config files into /etc + # let this choice to user + + newenvd "${FILESDIR}"/${PN}.env 95ansible +} + +src_install() { + distutils-r1_src_install + readme.gentoo_create_doc +} |