summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/bzr.eclass')
-rw-r--r--eclass/bzr.eclass13
1 files changed, 7 insertions, 6 deletions
diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass
index 7fa682e1250..29464ec32d5 100644
--- a/eclass/bzr.eclass
+++ b/eclass/bzr.eclass
@@ -20,19 +20,20 @@
EBZR="bzr.eclass"
+if [[ ${EBZR_REPO_URI%%:*} = sftp ]]; then
+ DEPEND=">=dev-vcs/bzr-2.6.0[sftp]"
+else
+ DEPEND=">=dev-vcs/bzr-2.6.0"
+fi
+
case ${EAPI:-0} in
2|3|4|5|6) ;;
+ 7) BDEPEND="${DEPEND}"; DEPEND="" ;;
*) die "${EBZR}: EAPI ${EAPI:-0} is not supported" ;;
esac
EXPORT_FUNCTIONS src_unpack
-if [[ ${EBZR_REPO_URI%%:*} = sftp ]]; then
- DEPEND=">=dev-vcs/bzr-2.6.0[sftp]"
-else
- DEPEND=">=dev-vcs/bzr-2.6.0"
-fi
-
# @ECLASS-VARIABLE: EBZR_STORE_DIR
# @DESCRIPTION:
# The directory to store all fetched Bazaar live sources.