app-eselect/eselect-python: regen python-config in pkg_postinst
authorMike Gilbert <floppym@gentoo.org>
Thu, 24 Nov 2016 16:34:52 +0000 (11:34 -0500)
committerMike Gilbert <floppym@gentoo.org>
Thu, 24 Nov 2016 16:35:51 +0000 (11:35 -0500)
Bug: https://bugs.gentoo.org/567866

Package-Manager: portage-2.3.2_p8

app-eselect/eselect-python/eselect-python-20140125-r2.ebuild [moved from app-eselect/eselect-python/eselect-python-20140125-r1.ebuild with 94% similarity]

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 7fded8d9f6e4369d40549cf179b5ac81cabdc8c0..f6fd384dee283fe7a2d851af2a2c575b79ef1d94 100644 (file)
@@ -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