summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2018-05-07 23:17:25 +0200
committerMartin Väth <martin@mvath.de>2018-05-07 23:17:25 +0200
commit094d1baa446a429adf4d090893acf7f7c7dd1c49 (patch)
treea7e50c7135cecf533bb6895a0a1df8cbfe8d0d09 /eclass/monotone.eclass
parentx11-libs/gtk+: Version bump. Remove old (diff)
downloadmv-094d1baa446a429adf4d090893acf7f7c7dd1c49.tar.gz
mv-094d1baa446a429adf4d090893acf7f7c7dd1c49.tar.bz2
mv-094d1baa446a429adf4d090893acf7f7c7dd1c49.zip
Minor cleanups/EAPI bumps
Diffstat (limited to 'eclass/monotone.eclass')
-rw-r--r--eclass/monotone.eclass9
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