diff options
-rw-r--r-- | eclass/ChangeLog | 6 | ||||
-rw-r--r-- | eclass/python-r1.eclass | 13 |
2 files changed, 16 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 7049985c5b2c..7811fb1ebb75 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1196 2014/04/05 09:19:19 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1197 2014/04/05 20:56:03 mgorny Exp $ + + 05 Apr 2014; Michał Górny <mgorny@gentoo.org> python-r1.eclass: + Fix improper suggestions to put unsupported implmentations in USE_PYTHON, bug + #506814. 05 Apr 2014; Alexandre Rostovtsev <tetromino@gentoo.org> gst-plugins10.eclass: diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index eafc35010a83..6e69d36ac22d 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.66 2013/12/29 18:19:48 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.67 2014/04/05 20:56:03 mgorny Exp $ # @ECLASS: python-r1 # @MAINTAINER: @@ -440,6 +440,10 @@ _python_check_USE_PYTHON() { fi py2=${impl/_/.} ;; + python3_4) + debug-print "${FUNCNAME}: python3.4 found, not using eselect" + return 1 + ;; python3_*) if [[ ${py3+1} ]]; then debug-print "${FUNCNAME}: -> more than one py3: ${py3} ${impl}" @@ -504,6 +508,7 @@ _python_check_USE_PYTHON() { fi fi + if [[ ${py3+1} ]]; then local sel_py3=$(eselect python show --python3) @@ -546,6 +551,10 @@ _python_check_USE_PYTHON() { local abi case "${impl}" in + pypy|python3_4) + # unsupported in python.eclass + continue + ;; python*) abi=${impl#python} ;; |