diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-04-30 05:33:19 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-04-30 05:33:19 +0000 |
commit | 26c80e890913df2dcc752eab2b003153f1aba8c7 (patch) | |
tree | 5d100bc31a7fea4cdadb79a9383062ed60e75740 /eclass | |
parent | Improve consistency in Python version checks and wrapper setup. (diff) | |
download | gentoo-2-26c80e890913df2dcc752eab2b003153f1aba8c7.tar.gz gentoo-2-26c80e890913df2dcc752eab2b003153f1aba8c7.tar.bz2 gentoo-2-26c80e890913df2dcc752eab2b003153f1aba8c7.zip |
Report no matching impl properly.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/python-any-r1.eclass | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 04024544f6ff..21c70ea96ab2 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.805 2013/04/30 05:32:51 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.806 2013/04/30 05:33:19 mgorny Exp $ + + 30 Apr 2013; Michal Gorny <mgorny@gentoo.org> python-any-r1.eclass: + Report no matching impl properly. 30 Apr 2013; Michal Gorny <mgorny@gentoo.org> python-any-r1.eclass: Improve consistency in Python version checks and wrapper setup. diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index db42e2e718b7..942e9852e1db 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python-any-r1.eclass,v 1.8 2013/04/30 05:32:51 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-any-r1.eclass,v 1.9 2013/04/30 05:33:19 mgorny Exp $ # @ECLASS: python-any-r1 # @MAINTAINER: @@ -215,6 +215,12 @@ python-any-r1_pkg_setup() { return fi done + + eerror "No Python implementation found for the build. This is usually" + eerror "a bug in the ebuild. Please report it to bugs.gentoo.org" + eerror "along with the build log." + echo + die "No supported Python implementation installed." } _PYTHON_ANY_R1=1 |