meson.eclass: remove unnecessary eapi checks
authorWilliam Hubbs <williamh@gentoo.org>
Mon, 4 Feb 2019 00:57:35 +0000 (18:57 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Thu, 7 Feb 2019 18:46:12 +0000 (12:46 -0600)
This eclass dies for all eapis other than 6 or 7, so we don't need to
test for eapis other than 6 or 7 anywhere else in the eclass.

Signed-off-by: William Hubbs <williamh@gentoo.org>
eclass/meson.eclass

index 1b080396626cff957a90e0a95bd39c3f0024d121..159a987aff7edd189b68c6995e42cad3a8d0ff65 100644 (file)
@@ -53,7 +53,7 @@ _MESON_ECLASS=1
 MESON_DEPEND=">=dev-util/meson-0.45.1
        >=dev-util/ninja-1.7.2"
 
-if [[ ${EAPI:-0} == [0123456] ]]; then
+if [[ ${EAPI:-0} == [6] ]]; then
        DEPEND=${MESON_DEPEND}
 else
        BDEPEND=${MESON_DEPEND}