summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2018-01-13 12:15:48 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2018-01-13 12:17:56 -0600
commit5d9be29503cdc83d7e78d932dcad2b52dd9fc229 (patch)
tree94f52a2efab553261a16c8240d5ee5983f6f7bd7 /dev-python/oslotest
parentdev-vcs/git: set PERL_PATH variable. (diff)
downloadgentoo-5d9be29503cdc83d7e78d932dcad2b52dd9fc229.tar.gz
gentoo-5d9be29503cdc83d7e78d932dcad2b52dd9fc229.tar.bz2
gentoo-5d9be29503cdc83d7e78d932dcad2b52dd9fc229.zip
dev-python/oslotest: only install man file if USE=doc
Fixes: 644476 Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'dev-python/oslotest')
-rw-r--r--dev-python/oslotest/oslotest-2.17.1.ebuild7
1 files 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 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
}