From: Tim Harder Date: Sun, 24 Jan 2016 17:03:16 +0000 (-0500) Subject: sys-apps/pkgcore: simplify man/docs build conditionals X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=29b2a22c38d92b3cd5259086ae00bb0527a55bf8;p=gentoo.git sys-apps/pkgcore: simplify man/docs build conditionals --- diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild index 0cf496271090..a0bfcfd76956 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() {