commit: fac6f3817c7d2d74c7e1de9f9523b34c51e54d82 Author: 0xd34df00d <0xd34df00d <AT> gmail <DOT> com> AuthorDate: Wed Mar 11 01:07:52 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Mar 16 21:28:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac6f381
leechcraft.eclass: use the `cmake` eclass for EAPI=7 See also: https://github.com/gentoo/gentoo/pull/14924 Closes: https://bugs.gentoo.org/705820 Signed-off-by: Georg Rudoy <0xd34df00d <AT> gmail.com> Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> eclass/leechcraft.eclass | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass index 16b4f8d4c93..57ccf631de0 100644 --- a/eclass/leechcraft.eclass +++ b/eclass/leechcraft.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # # @ECLASS: leechcraft.eclass @@ -22,18 +22,16 @@ # Only EAPI >=6 is supported case ${EAPI:-0} in - 6|7) ;; + 6) inherit cmake-utils ;; + 7) inherit cmake ;; *) die "EAPI not supported, bug ebuild mantainer" ;; esac -inherit cmake-utils - if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/0xd34df00d/leechcraft.git" inherit git-r3 else - DEPEND="app-arch/xz-utils" SRC_URI="https://dist.leechcraft.org/LeechCraft/${PV}/leechcraft-${PV}.tar.xz" S="${WORKDIR}/leechcraft-${PV}" fi
