summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2019-02-03 18:57:35 -0600
committerWilliam Hubbs <williamh@gentoo.org>2019-02-07 12:46:12 -0600
commitddd225e697dbac4375493da3c1c8e6db5f06765c (patch)
tree351a57fd8fa31d2a7863c4d38c0ad92a8acb6ba1 /eclass/meson.eclass
parentmeson.eclass: remove meson_auto_depend (diff)
downloadgentoo-ddd225e697dbac4375493da3c1c8e6db5f06765c.tar.gz
gentoo-ddd225e697dbac4375493da3c1c8e6db5f06765c.tar.bz2
gentoo-ddd225e697dbac4375493da3c1c8e6db5f06765c.zip
meson.eclass: remove unnecessary eapi checks
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>
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r--eclass/meson.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 1b080396626c..159a987aff7e 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -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}