1 |
commit: b346cff85990465d53209de3d7b938b601fb2fe0 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 30 20:24:58 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 20:26:05 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b346cff8 |
7 |
|
8 |
dev-lang/python: restore eselect python set --python2 call |
9 |
|
10 |
This broke Funtoo stage building since it relies on the python2 symlink. |
11 |
|
12 |
Package-Manager: portage-2.3.2_p11 |
13 |
|
14 |
dev-lang/python/python-2.7.12.ebuild | 4 ++++ |
15 |
1 file changed, 4 insertions(+) |
16 |
|
17 |
diff --git a/dev-lang/python/python-2.7.12.ebuild b/dev-lang/python/python-2.7.12.ebuild |
18 |
index fd47f81..09e76ba 100644 |
19 |
--- a/dev-lang/python/python-2.7.12.ebuild |
20 |
+++ b/dev-lang/python/python-2.7.12.ebuild |
21 |
@@ -346,6 +346,10 @@ eselect_python_update() { |
22 |
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then |
23 |
eselect python update |
24 |
fi |
25 |
+ |
26 |
+ if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then |
27 |
+ eselect python update --python${PV%%.*} |
28 |
+ fi |
29 |
} |
30 |
|
31 |
pkg_postinst() { |