public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michal Gorny (mgorny)" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog distutils-r1.eclass
Date: Mon, 15 Oct 2012 12:51:20 +0000 (UTC)	[thread overview]
Message-ID: <20121015125121.10BF521600@flycatcher.gentoo.org> (raw)

mgorny      12/10/15 12:51:20

  Modified:             ChangeLog distutils-r1.eclass
  Log:
  Fix missing wrapper symlinks when first supported Python implementation is disabled.

Revision  Changes    Path
1.446                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.446&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.446&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.445&r2=1.446

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.445
retrieving revision 1.446
diff -u -r1.445 -r1.446
--- ChangeLog	14 Oct 2012 18:18:20 -0000	1.445
+++ ChangeLog	15 Oct 2012 12:51:20 -0000	1.446
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.445 2012/10/14 18:18:20 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.446 2012/10/15 12:51:20 mgorny Exp $
+
+  15 Oct 2012; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
+  Fix missing wrapper symlinks when first supported Python implementation is
+  disabled.
 
   14 Oct 2012; Alexey Shvetsov <alexxy@gentoo.org> openib.eclass:
   Add compat-rdma



1.2                  eclass/distutils-r1.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?r1=1.1&r2=1.2

Index: distutils-r1.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- distutils-r1.eclass	14 Oct 2012 10:58:03 -0000	1.1
+++ distutils-r1.eclass	15 Oct 2012 12:51:20 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.1 2012/10/14 10:58:03 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.2 2012/10/15 12:51:20 mgorny Exp $
 
 # @ECLASS: distutils-r1
 # @MAINTAINER:
@@ -221,8 +221,14 @@
 
 	# note: keep in sync with ...rename_scripts()
 	# also, we assume that each script is installed for all impls
-	local EPYTHON PYTHON
-	_python_set_PYTHON "${PYTHON_COMPAT[0]}"
+	local impl EPYTHON PYTHON
+	for impl in "${PYTHON_COMPAT[@]}"; do
+		if use "python_targets_${impl}"; then
+			_python_set_PYTHON "${impl}"
+			break
+		fi
+	done
+
 	for f in "${D}"/{bin,sbin,usr/bin,usr/sbin}/*-"${EPYTHON}"; do
 		if [[ -x ${f} ]]; then
 			debug-print "${FUNCNAME}: found executable at ${f#${D}/}"





             reply	other threads:[~2012-10-15 12:51 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 12:51 Michal Gorny (mgorny) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-25 17:42 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog distutils-r1.eclass Michal Gorny (mgorny)
2012-10-29  9:49 Michal Gorny (mgorny)
2012-10-29  9:54 Michal Gorny (mgorny)
2012-10-29 13:30 Michal Gorny (mgorny)
2012-11-01 12:19 Michal Gorny (mgorny)
2012-12-01 10:52 Michal Gorny (mgorny)
2012-12-01 10:53 Michal Gorny (mgorny)
2012-12-01 10:54 Michal Gorny (mgorny)
2012-12-07 17:56 Michal Gorny (mgorny)
2012-12-07 17:57 Michal Gorny (mgorny)
2012-12-07 17:59 Michal Gorny (mgorny)
2012-12-07 21:09 Michal Gorny (mgorny)
2012-12-07 22:23 Michal Gorny (mgorny)
2012-12-09 20:56 Michal Gorny (mgorny)
2012-12-27 22:57 Michal Gorny (mgorny)
2013-01-04  3:12 Mike Gilbert (floppym)
2013-01-05 10:00 Michal Gorny (mgorny)
2013-01-05 10:02 Michal Gorny (mgorny)
2013-01-10 22:09 Michal Gorny (mgorny)
2013-01-11  1:06 Mike Gilbert (floppym)
2013-01-12 23:13 Michal Gorny (mgorny)
2013-01-12 23:13 Michal Gorny (mgorny)
2013-01-12 23:17 Michal Gorny (mgorny)
2013-01-12 23:18 Michal Gorny (mgorny)
2013-01-20 21:41 Michal Gorny (mgorny)
2013-01-27 16:37 Michal Gorny (mgorny)
2013-01-27 16:39 Michal Gorny (mgorny)
2013-02-10 11:38 Michal Gorny (mgorny)
2013-02-10 11:39 Michal Gorny (mgorny)
2013-02-10 11:41 Michal Gorny (mgorny)
2013-02-10 16:15 Michal Gorny (mgorny)
2013-02-21 23:18 Michal Gorny (mgorny)
2013-02-26 14:34 Michal Gorny (mgorny)
2013-03-02  7:13 Michal Gorny (mgorny)
2013-03-02  7:16 Michal Gorny (mgorny)
2013-03-02  7:17 Michal Gorny (mgorny)
2013-03-04 19:29 Michal Gorny (mgorny)
2013-03-09 13:13 Michal Gorny (mgorny)
2013-03-13 21:51 Mike Gilbert (floppym)
2013-03-19  6:13 Michal Gorny (mgorny)
2013-04-10 15:38 Michal Gorny (mgorny)
2013-04-13 14:01 Michal Gorny (mgorny)
2013-04-18 15:47 Michal Gorny (mgorny)
2013-07-09  1:57 Mike Gilbert (floppym)
2013-07-21 19:00 Michal Gorny (mgorny)
2013-08-01 13:02 Michal Gorny (mgorny)
2013-08-25 21:12 Michal Gorny (mgorny)
2013-08-25 21:13 Michal Gorny (mgorny)
2013-08-25 21:15 Michal Gorny (mgorny)
2013-09-17 17:33 Michal Gorny (mgorny)
2013-09-18 22:48 Michal Gorny (mgorny)
2013-09-26 11:58 Michal Gorny (mgorny)
2013-09-27 19:19 Michal Gorny (mgorny)
2013-09-27 19:21 Michal Gorny (mgorny)
2013-09-28 19:11 Mike Gilbert (floppym)
2013-10-10  6:10 Michal Gorny (mgorny)
2013-10-22 15:15 Michal Gorny (mgorny)
2013-10-22 19:23 Michal Gorny (mgorny)
2013-10-26 17:47 Michal Gorny (mgorny)
2013-11-11 15:58 Michal Gorny (mgorny)
2013-12-02 13:14 Michal Gorny (mgorny)
2013-12-03 20:00 Mike Gilbert (floppym)
2014-01-18 15:06 Mike Gilbert (floppym)
2014-05-11  7:58 Michal Gorny (mgorny)
2014-05-19  5:00 Mike Gilbert (floppym)
2014-06-19 12:54 Michal Gorny (mgorny)
2014-06-22  7:01 Michal Gorny (mgorny)
2014-07-08  8:49 Michal Gorny (mgorny)
2014-08-24 13:23 Michal Gorny (mgorny)
2014-11-24  1:39 Mike Gilbert (floppym)
2014-12-11  9:07 Michal Gorny (mgorny)
2014-12-11 18:32 Michal Gorny (mgorny)
2014-12-27 19:00 Michal Gorny (mgorny)
2015-01-13 21:34 Michal Gorny (mgorny)
2015-01-31  2:49 Patrick Lauer (patrick)
2015-07-16 14:29 Michal Gorny (mgorny)
2015-07-18  0:07 Mike Gilbert (floppym)

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=20121015125121.10BF521600@flycatcher.gentoo.org \
    --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