From 29b2a22c38d92b3cd5259086ae00bb0527a55bf8 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sun, 24 Jan 2016 12:03:16 -0500 Subject: 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 0cf49627109..a0bfcfd7695 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() { -- cgit v1.2.1