commit:     f1ace35d4ae34b0788433037a4ef5bd4859b4d52
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 24 16:34:52 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Nov 24 16:35:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ace35d

app-eselect/eselect-python: regen python-config in pkg_postinst

Bug: https://bugs.gentoo.org/567866

Package-Manager: portage-2.3.2_p8

 ...lect-python-20140125-r1.ebuild => eselect-python-20140125-r2.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-eselect/eselect-python/eselect-python-20140125-r1.ebuild 
b/app-eselect/eselect-python/eselect-python-20140125-r2.ebuild
similarity index 94%
rename from app-eselect/eselect-python/eselect-python-20140125-r1.ebuild
rename to app-eselect/eselect-python/eselect-python-20140125-r2.ebuild
index 7fded8d..f6fd384 100644
--- a/app-eselect/eselect-python/eselect-python-20140125-r1.ebuild
+++ b/app-eselect/eselect-python/eselect-python-20140125-r2.ebuild
@@ -37,6 +37,8 @@ src_install() {
 pkg_postinst() {
        if has_version 'dev-lang/python'; then
                eselect python update --if-unset
+               # Regen python-config wrapper
+               eselect python set $(eselect python show)
        fi
        if has_version '=dev-lang/python-2*'; then
                eselect python update --python2 --if-unset

Reply via email to