dev-lang/python: Add compat symlink for pythonX.Y-config

Package-Manager: portage-2.2.26_p25
This commit is contained in:
Mike Gilbert
2015-12-10 15:44:26 -05:00
parent 3f8fd3b031
commit 8512ed0c72
3 changed files with 12 additions and 0 deletions
@@ -325,6 +325,10 @@ src_install() {
"${D}${PYTHON_SCRIPTDIR}/pydoc" || die
ln -s "../../../bin/pyvenv-${PYVER}" \
"${D}${PYTHON_SCRIPTDIR}/pyvenv" || die
# Compatibility link for stuff that calls ${PYTHON}-config
# Remove this when all revdeps have been fixed to not do that.
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
}
pkg_preinst() {
@@ -308,6 +308,10 @@ src_install() {
"${D}${PYTHON_SCRIPTDIR}/pydoc" || die
ln -s "../../../bin/pyvenv-${PYVER}" \
"${D}${PYTHON_SCRIPTDIR}/pyvenv" || die
# Compatibility link for stuff that calls ${PYTHON}-config
# Remove this when all revdeps have been fixed to not do that.
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
}
pkg_preinst() {
@@ -311,6 +311,10 @@ src_install() {
"${D}${PYTHON_SCRIPTDIR}/pydoc" || die
ln -s "../../../bin/pyvenv-${PYVER}" \
"${D}${PYTHON_SCRIPTDIR}/pyvenv" || die
# Compatibility link for stuff that calls ${PYTHON}-config
# Remove this when all revdeps have been fixed to not do that.
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
}
pkg_preinst() {