leechcraft.eclass: use the `cmake` eclass for EAPI=7
author0xd34df00d <0xd34df00d@gmail.com>
Wed, 11 Mar 2020 01:07:52 +0000 (21:07 -0400)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 16 Mar 2020 21:28:32 +0000 (22:28 +0100)
See also: https://github.com/gentoo/gentoo/pull/14924
Closes: https://bugs.gentoo.org/705820
Signed-off-by: Georg Rudoy <0xd34df00d@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/leechcraft.eclass

index 16b4f8d4c93e6fb005004990ebbc548f7d45736f..57ccf631de01f069cd47279683ec9a424114cc4d 100644 (file)
@@ -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
 # 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