projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303b38e
)
dev-lang/python: restore eselect python set --python2 call
author
Mike Gilbert
<floppym@gentoo.org>
Wed, 30 Nov 2016 20:24:58 +0000
(15:24 -0500)
committer
Mike Gilbert
<floppym@gentoo.org>
Wed, 30 Nov 2016 20:26:05 +0000
(15:26 -0500)
This broke Funtoo stage building since it relies on the python2 symlink.
Package-Manager: portage-2.3.2_p11
dev-lang/python/python-2.7.12.ebuild
patch
|
blob
|
history
diff --git
a/dev-lang/python/python-2.7.12.ebuild
b/dev-lang/python/python-2.7.12.ebuild
index fd47f81fcebdbad790efdd16233eb92822ed510a..09e76bab5df6371fb2a9c06fe7d76f241d5d6f5b 100644
(file)
--- a/
dev-lang/python/python-2.7.12.ebuild
+++ b/
dev-lang/python/python-2.7.12.ebuild
@@
-346,6
+346,10
@@
eselect_python_update() {
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
eselect python update
fi
+
+ if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+ eselect python update --python${PV%%.*}
+ fi
}
pkg_postinst() {