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 CE41113877A for ; Thu, 28 Aug 2014 06:19:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6351E07B3; Thu, 28 Aug 2014 06:19:11 +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 86D73E07B3 for ; Thu, 28 Aug 2014 06:19:11 +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 4B7E533FB4C for ; Thu, 28 Aug 2014 06:19:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C73CC4193 for ; Thu, 28 Aug 2014 06:19:08 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1409052557.9907fe41a2bc6fc8dbe825d226bccf714dd17b24.mgorny@gentoo> Subject: [gentoo-commits] dev/mgorny:master commit in: sys-apps/portage/ X-VCS-Repository: dev/mgorny X-VCS-Files: sys-apps/portage/portage-9999.ebuild X-VCS-Directories: sys-apps/portage/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9907fe41a2bc6fc8dbe825d226bccf714dd17b24 X-VCS-Branch: master Date: Thu, 28 Aug 2014 06:19:08 +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: 6e61c4cf-b9cc-4903-912a-ed25f85daf3c X-Archives-Hash: 2c82a26b99e2752ffd29e891b34d06b9 commit: 9907fe41a2bc6fc8dbe825d226bccf714dd17b24 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 26 11:29:17 2014 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 26 11:29:17 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=9907fe41 sys-apps/portage: Use new distutils-r1 features to install docs without reinstalling whole Portage. Package-Manager: portage-2.2.11_p165 --- sys-apps/portage/portage-9999.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index b4e63e7..c949ece 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -186,8 +186,10 @@ python_install_all() { use doc && targets+=( install_docbook ) use epydoc && targets+=( install_epydoc ) - # install docs + replace scripts with preferred impl - python_install "${targets[@]}" + # install docs + if [[ ${targets[@]} ]]; then + esetup.py "${targets[@]}" + fi } pkg_preinst() {