commit: 29b2a22c38d92b3cd5259086ae00bb0527a55bf8
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 17:03:16 2016 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 18:32:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b2a22c
sys-apps/pkgcore: simplify man/docs build conditionals
sys-apps/pkgcore/pkgcore-9999.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild
b/sys-apps/pkgcore/pkgcore-9999.ebuild
index 0cf4962..a0bfcfd 100644
--- a/sys-apps/pkgcore/pkgcore-9999.ebuild
+++ b/sys-apps/pkgcore/pkgcore-9999.ebuild
@@ -41,8 +41,7 @@ pkg_setup() {
}
python_compile_all() {
- [[ ${PV} == *9999 ]] && esetup.py build_man
- use doc && esetup.py build_docs
+ esetup.py build_man $(usex doc "build_docs" "")
}
python_test() {