diff options
Diffstat (limited to 'eclass/monotone.eclass')
-rw-r--r-- | eclass/monotone.eclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/monotone.eclass b/eclass/monotone.eclass index 54c7cbae..d07ba97d 100644 --- a/eclass/monotone.eclass +++ b/eclass/monotone.eclass @@ -1,4 +1,4 @@ -# Copyright 2016 Gentoo Foundation +# Copyright 2010-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: monotone.eclass @@ -191,6 +191,11 @@ monotone_src_unpack() { monotone_finish } -[ -n "${EMTN_DISABLE_DEPENDENCIES}" ] || DEPEND='dev-vcs/monotone' +[ -n "${EMTN_DISABLE_DEPENDENCIES}" ] || case ${EAPI:-0} in +0|1|2|3|4|5|6) + DEPEND='dev-vcs/monotone';; +*) + BDEPEND='dev-vcs/monotone';; +esac EXPORT_FUNCTIONS src_unpack |