mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-lang/python: Add compat symlink for pythonX.Y-config
Package-Manager: portage-2.2.26_p25
This commit is contained in:
@@ -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() {
|
||||
Reference in New Issue
Block a user