summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-02 20:13:43 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-02 20:13:43 +0200
commit626f9cd78c5aeea237199e6a49076a19ecb9a36d (patch)
tree903fe995ca87b23da68c80df576845b1108d70e1 /eclass
parentgames-roguelike/stone-soup: include LUA_REQUIRED_USE (diff)
downloadgentoo-626f9cd78c5aeea237199e6a49076a19ecb9a36d.tar.gz
gentoo-626f9cd78c5aeea237199e6a49076a19ecb9a36d.tar.bz2
gentoo-626f9cd78c5aeea237199e6a49076a19ecb9a36d.zip
meson.eclass: remove EAPI 6
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/meson.eclass13
1 files changed, 3 insertions, 10 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 905c4d89f501..7ba6501688b7 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -5,7 +5,7 @@
# @MAINTAINER:
# William Hubbs <williamh@gentoo.org>
# Mike Gilbert <floppym@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7 8
+# @SUPPORTED_EAPIS: 7 8
# @BLURB: common ebuild functions for meson-based packages
# @DESCRIPTION:
# This eclass contains the default phase functions for packages which
@@ -35,29 +35,22 @@
# @CODE
case ${EAPI} in
- 6|7|8) ;;
+ 7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
if [[ -z ${_MESON_ECLASS} ]]; then
_MESON_ECLASS=1
-[[ ${EAPI} == 6 ]] && inherit eapi7-ver
inherit multiprocessing ninja-utils python-utils-r1 toolchain-funcs
EXPORT_FUNCTIONS src_configure src_compile src_test src_install
-_MESON_DEPEND=">=dev-util/meson-0.59.4
+BDEPEND=">=dev-util/meson-0.59.4
${NINJA_DEPEND}
dev-util/meson-format-array
"
-if [[ ${EAPI} == 6 ]]; then
- DEPEND=${_MESON_DEPEND}
-else
- BDEPEND=${_MESON_DEPEND}
-fi
-
# @ECLASS_VARIABLE: BUILD_DIR
# @DEFAULT_UNSET
# @DESCRIPTION: