diff options
author | Ulrich Müller <ulm@gentoo.org> | 2024-06-13 20:32:12 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2024-06-13 20:35:31 +0200 |
commit | f68343bd1e545838952c2cb4c8338d31b223045e (patch) | |
tree | fdf2adba9a1736a0b12d2a2270197ccc3a3af0da /eclass | |
parent | eclass/tests: Rename test function in savedconfig.sh (diff) | |
download | gentoo-f68343bd1e545838952c2cb4c8338d31b223045e.tar.gz gentoo-f68343bd1e545838952c2cb4c8338d31b223045e.tar.bz2 gentoo-f68343bd1e545838952c2cb4c8338d31b223045e.zip |
eclass/tests: Update rebar_*.sh to EAPI 8
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rwxr-xr-x | eclass/tests/rebar_fix_include_path.sh | 8 | ||||
-rwxr-xr-x | eclass/tests/rebar_remove_deps.sh | 4 | ||||
-rwxr-xr-x | eclass/tests/rebar_set_vsn.sh | 4 |
3 files changed, 10 insertions, 6 deletions
diff --git a/eclass/tests/rebar_fix_include_path.sh b/eclass/tests/rebar_fix_include_path.sh index 339633e91e3a..46c5712104b1 100755 --- a/eclass/tests/rebar_fix_include_path.sh +++ b/eclass/tests/rebar_fix_include_path.sh @@ -1,16 +1,20 @@ #!/bin/bash -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 source tests-common.sh || exit -EAPI=6 +EAPI=8 inherit rebar EPREFIX="${tmpdir}/fakeroot" S="${WORKDIR}/${P}" +get_libdir() { + echo lib +} + setup() { mkdir -p "${S}" || die diff --git a/eclass/tests/rebar_remove_deps.sh b/eclass/tests/rebar_remove_deps.sh index b544a3078dbb..e2717b59eaf9 100755 --- a/eclass/tests/rebar_remove_deps.sh +++ b/eclass/tests/rebar_remove_deps.sh @@ -1,10 +1,10 @@ #!/bin/bash -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 source tests-common.sh || exit -EAPI=6 +EAPI=8 inherit rebar diff --git a/eclass/tests/rebar_set_vsn.sh b/eclass/tests/rebar_set_vsn.sh index c828732b0079..6cc4600695a6 100755 --- a/eclass/tests/rebar_set_vsn.sh +++ b/eclass/tests/rebar_set_vsn.sh @@ -1,10 +1,10 @@ #!/bin/bash -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 source tests-common.sh || exit -EAPI=6 +EAPI=8 inherit rebar |