Skip to content

Commit

Permalink
dev-python/oslotest: only install man file if USE=doc
Browse files Browse the repository at this point in the history
Fixes: 644476
Package-Manager: Portage-2.3.14, Repoman-2.3.6
  • Loading branch information
prometheanfire committed Jan 13, 2018
1 parent 3a6ce84 commit 5d9be29
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dev-python/oslotest/oslotest-2.17.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
}

0 comments on commit 5d9be29

Please sign in to comment.