summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-01-24 12:03:16 -0500
committerTim Harder <radhermit@gentoo.org>2016-01-24 13:32:18 -0500
commit29b2a22c38d92b3cd5259086ae00bb0527a55bf8 (patch)
tree33d7aeff120a60bdf3feb5d32b3b5869cd24d8ce
parentapp-admin/consul-template: add consul to SRC_URI for version 0.12.2 (bug 572784) (diff)
downloadgentoo-29b2a22c38d92b3cd5259086ae00bb0527a55bf8.tar.gz
gentoo-29b2a22c38d92b3cd5259086ae00bb0527a55bf8.tar.bz2
gentoo-29b2a22c38d92b3cd5259086ae00bb0527a55bf8.zip
sys-apps/pkgcore: simplify man/docs build conditionals
-rw-r--r--sys-apps/pkgcore/pkgcore-9999.ebuild3
1 files changed, 1 insertions, 2 deletions
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() {