From 0ded5d88b1b3ba0446e23bc0296ebe675a45b62a Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Tue, 17 Nov 2015 09:58:54 +0100 Subject: app-admin/ansible: Fix man page generation for current HEAD thanks Lik reporting this issue Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher --- app-admin/ansible/ansible-9999.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'app-admin/ansible') diff --git a/app-admin/ansible/ansible-9999.ebuild b/app-admin/ansible/ansible-9999.ebuild index 175ebc5dcfbf..4284a69a020e 100644 --- a/app-admin/ansible/ansible-9999.ebuild +++ b/app-admin/ansible/ansible-9999.ebuild @@ -6,7 +6,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 git-r3 readme.gentoo +inherit distutils-r1 eutils git-r3 readme.gentoo DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework" HOMEPAGE="http://ansible.com/" @@ -43,6 +43,13 @@ python_test() { nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die } +python_compile_all() { + local _man + for _man in ansible{,-{galaxy,playbook,pull,vault}}; do + a2x -f manpage docs/man/man1/${_man}.1.asciidoc.in || die "Failed generating man page (${_man})" + done +} + python_install_all() { EXAMPLES=( examples ) distutils-r1_python_install_all -- cgit v1.2.3-65-gdbad