Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH 3/4] Report no matching Python impl properly.
Date: Mon, 22 Apr 2013 10:51:45
Message-Id: 1366627978-8571-3-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] python-any-r1: bunch of bugfixes/improvements and dep-checking function by "Michał Górny"
1 ---
2 gx86/eclass/python-any-r1.eclass | 6 ++++++
3 1 file changed, 6 insertions(+)
4
5 diff --git a/gx86/eclass/python-any-r1.eclass b/gx86/eclass/python-any-r1.eclass
6 index 2ecbfbd..d222155 100644
7 --- a/gx86/eclass/python-any-r1.eclass
8 +++ b/gx86/eclass/python-any-r1.eclass
9 @@ -215,6 +215,12 @@ python-any-r1_pkg_setup() {
10 return
11 fi
12 done
13 +
14 + eerror "No Python implementation found for the build. This is usually"
15 + eerror "a bug in the ebuild. Please report it to bugs.gentoo.org"
16 + eerror "along with the build log."
17 + echo
18 + die "No supported Python implementation installed."
19 }
20
21 _PYTHON_ANY_R1=1
22 --
23 1.8.1.5