Run pkg_setup() only in non-binary installs, as intended and documented a long time...
authorMichał Górny <mgorny@gentoo.org>
Sun, 4 Jan 2015 22:18:12 +0000 (22:18 +0000)
committerMichał Górny <mgorny@gentoo.org>
Sun, 4 Jan 2015 22:18:12 +0000 (22:18 +0000)
eclass/ChangeLog
eclass/python-single-r1.eclass

index a44b5e990137f44cad16f7efdc3fc3a0ffb7d170..41d0f22b22f32809c3a41f98f6abfefe1bdd83ed 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1498 2015/01/04 21:16:47 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1499 2015/01/04 22:18:12 mgorny Exp $
+
+  04 Jan 2015; Michał Górny <mgorny@gentoo.org> python-single-r1.eclass:
+  Run pkg_setup() only in non-binary installs, as intended and documented a
+  long time ago :).
 
   04 Jan 2015; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-plugin-2.eclass:
   documentation syntax fixed
index ede5b5a5048b79414f12ef5c281ba3c8aa26d334..6969fb1b203fa84a5f268cf616b841745a418389 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.30 2014/12/28 22:50:20 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.31 2015/01/04 22:18:12 mgorny Exp $
 
 # @ECLASS: python-single-r1
 # @MAINTAINER:
@@ -441,7 +441,7 @@ python_setup() {
 python-single-r1_pkg_setup() {
        debug-print-function ${FUNCNAME} "${@}"
 
-       python_setup
+       [[ ${MERGE_TYPE} != binary ]] && python_setup
 }
 
 _PYTHON_SINGLE_R1=1