public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mgorny:master commit in: sys-apps/portage/
Date: Thu, 28 Aug 2014 06:19:08 +0000 (UTC)	[thread overview]
Message-ID: <1409052557.9907fe41a2bc6fc8dbe825d226bccf714dd17b24.mgorny@gentoo> (raw)

commit:     9907fe41a2bc6fc8dbe825d226bccf714dd17b24
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 26 11:29:17 2014 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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() {


             reply	other threads:[~2014-08-28  6:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28  6:19 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-09-11 22:47 [gentoo-commits] dev/mgorny:master commit in: sys-apps/portage/ Michał Górny
2014-09-06  9:02 Michał Górny
2014-09-06  8:55 Michał Górny
2014-09-01 21:08 Michał Górny
2014-09-01 21:08 Michał Górny
2014-09-01  6:56 Michał Górny
2014-08-22  9:12 Michał Górny
2014-08-21 20:23 Michał Górny
2014-08-21 20:23 Michał Górny
2014-08-21 12:26 Michał Górny
2014-08-20 22:12 Michał Górny
2014-08-19  7:02 Michał Górny
2014-08-11 18:45 ` Michał Górny
2014-08-11 12:21 Michał Górny
2014-08-19  7:02 ` Michał Górny
2014-08-10 10:25 Michał Górny
2014-08-19  7:02 ` Michał Górny
2014-08-10 10:08 Michał Górny
2014-08-19  7:02 ` Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1409052557.9907fe41a2bc6fc8dbe825d226bccf714dd17b24.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox