Please add support for EAPI-7.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee6937e6219f250559ee26eb64e5991b27cd289 commit 7ee6937e6219f250559ee26eb64e5991b27cd289 Author: Florian Schmaus <flo@geekplace.eu> AuthorDate: 2021-04-10 14:10:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-01 09:35:19 +0000 rebar.eclass: add support for EAPI 7 Thanks To Sam James for reviewing this and providing feedback. Closes: https://bugs.gentoo.org/770283 Signed-off-by: Florian Schmaus <flo@geekplace.eu> Closes: https://github.com/gentoo/gentoo/pull/20424 Signed-off-by: Sam James <sam@gentoo.org> eclass/rebar.eclass | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-)
Reopening, because that commit broke tests, namely eclass/tests/rebar_fix_include_path.sh. The problem is that "${EPREFIX%/}/$(get_erl_libs)" (or "${EPREFIX}/$(get_erl_libs)" after a later fixup) is not correct and results in a double slash in the path.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4333a984533c5d42d637f42a388f90b5eb8b856 commit e4333a984533c5d42d637f42a388f90b5eb8b856 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2024-06-13 18:33:07 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2024-06-13 18:35:31 +0000 rebar.eclass: Fix EPREFIX and ED usage The path returned by $(get_erl_libs) starts with a slash, so ${EPREFIX}/$(get_erl_libs) resulted in a double slash. Fixes: 7ee6937e6219f250559ee26eb64e5991b27cd289 Closes: https://bugs.gentoo.org/770283 Signed-off-by: Ulrich Müller <ulm@gentoo.org> eclass/rebar.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)