From: Matthew Thode Date: Sat, 13 Jan 2018 18:15:48 +0000 (-0600) Subject: dev-python/oslotest: only install man file if USE=doc X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5d9be29503cdc83d7e78d932dcad2b52dd9fc229;p=gentoo.git dev-python/oslotest: only install man file if USE=doc Fixes: 644476 Package-Manager: Portage-2.3.14, Repoman-2.3.6 --- diff --git a/dev-python/oslotest/oslotest-2.17.1.ebuild b/dev-python/oslotest/oslotest-2.17.1.ebuild index ea3ef000dcb7..63000aeac9ce 100644 --- a/dev-python/oslotest/oslotest-2.17.1.ebuild +++ b/dev-python/oslotest/oslotest-2.17.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -59,8 +59,9 @@ python_test() { } python_install_all() { - doman doc/build/man/oslotest.1 - use doc && local HTML_DOCS=( doc/build/html/. ) + if use doc; then + doman doc/build/man/oslotest.1 + fi distutils-r1_python_install_all }