From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6284613888F for ; Mon, 26 Oct 2015 03:47:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3C99E07EC; Mon, 26 Oct 2015 03:47:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D8C0E07EC for ; Mon, 26 Oct 2015 03:47:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D096340AC1 for ; Mon, 26 Oct 2015 03:47:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 440901921 for ; Mon, 26 Oct 2015 03:47:14 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1445831224.c107dbc80a181895a413e5862ba594365d951bb5.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/elasticsearch-py/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild X-VCS-Directories: dev-python/elasticsearch-py/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: c107dbc80a181895a413e5862ba594365d951bb5 X-VCS-Branch: master Date: Mon, 26 Oct 2015 03:47:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cfd89fd1-95b0-46db-9415-0533e32d9d5c X-Archives-Hash: 345bbb95027061bb5a17d2def8d826b7 commit: c107dbc80a181895a413e5862ba594365d951bb5 Author: Ian Delaney gentoo org> AuthorDate: Mon Oct 26 03:45:57 2015 +0000 Commit: Ian Delaney gentoo org> CommitDate: Mon Oct 26 03:47:04 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c107dbc8 dev-python/elasticsearch-py: fix to code re IUSE doc, fixes the gentoo bug ack to Andrew Wilcox for submission of the patch. Closes the bug Gentoo bug: #564108 Package-Manager: portage-2.2.23 dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild index 73ae13b..482bc30 100644 --- a/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild +++ b/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild @@ -80,12 +80,14 @@ python_test() { python_compile_all() { cd docs || die - emake man $(usex doc html "") + use doc && emake man html } python_install_all() { - use doc && HTML_DOCS=( docs/_build/html/. ) + if use doc; then + export HTML_DOCS=( docs/_build/html/. ) + doman docs/_build/man/* + fi use examples && local EXAMPLES=( example/. ) - doman docs/_build/man/* distutils-r1_python_install_all }