dev-python/oslotest: only install man file if USE=doc
authorMatthew Thode <prometheanfire@gentoo.org>
Sat, 13 Jan 2018 18:15:48 +0000 (12:15 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Sat, 13 Jan 2018 18:17:56 +0000 (12:17 -0600)
Fixes: 644476
Package-Manager: Portage-2.3.14, Repoman-2.3.6

dev-python/oslotest/oslotest-2.17.1.ebuild

index ea3ef000dcb7aba41e8602f026ebd725e67f2974..63000aeac9ce19bd0a358193c6dbcc8f76f33a20 100644 (file)
@@ -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
 }