Mailing List Archive

[PATCH v2] python-r1.eclass: Use 'dosym -r' in EAPI 8
Signed-off-by: Micha? Górny <mgorny@gentoo.org>
---
eclass/python-r1.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index d464d3ef8f8a..08d3b744af81 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -846,7 +846,9 @@ python_replicate_script() {
# install the wrappers
local f
for f; do
- _python_ln_rel "${ED%/}/usr/lib/python-exec/python-exec2" "${f}" || die
+ local dosym=dosym
+ [[ ${EAPI} == [67] ]] && dosym=dosym8
+ "${dosym}" -r /usr/lib/python-exec/python-exec2 "${f#${ED}}"
done
}

--
2.32.0