commit:     5d9be29503cdc83d7e78d932dcad2b52dd9fc229
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 18:15:48 2018 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 18:17:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9be295

dev-python/oslotest: only install man file if USE=doc

Fixes: 644476
Package-Manager: Portage-2.3.14, Repoman-2.3.6

 dev-python/oslotest/oslotest-2.17.1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-python/oslotest/oslotest-2.17.1.ebuild 
b/dev-python/oslotest/oslotest-2.17.1.ebuild
index ea3ef000dcb..63000aeac9c 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
 }

Reply via email to