I do not have the pythonX-config symlink on my machine. PEP0394 says it should be a symlink to pythonX.Y-config similar to how python/python3/python3.4 is handled. # ls -1 /usr/bin/python* /usr/bin/python /usr/bin/python-config /usr/bin/python-config-2.7 /usr/bin/python-config-3.4 /usr/bin/python-wrapper /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python2.7-config /usr/bin/python3 /usr/bin/python3.4 /usr/bin/python3.4-config Packages installed: app-eselect/eselect-python-20111108 dev-lang/python-2.7.9-r1 dev-lang/python-3.4.1 dev-lang/python-exec-2.0.1-r1
Created attachment 407858 [details, diff] 0001-Add-PythonX-config-symlink.patch Proposed patch. This just adds a symlink to pythonX.Y-config. It looks correct on my local machine. My only reservation is that python-config (with no version) is a bash wrapper and I am not sure why or if it effects this.
This is fixed since 20151117-r2. The new versions create python-exec wrappers for pythonX-config.