-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
+
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit python-single-r1 vim-plugin
VIM_PLUGIN_HELPFILES="vimcalc"
-DEPEND="app-arch/unzip
+DEPEND="
+ app-arch/unzip
${PYTHON_DEPS}"
-RDEPEND="|| ( app-editors/vim[python,${PYTHON_USEDEP}] app-editors/gvim[python,${PYTHON_USEDEP}] )
+
+RDEPEND="
+ || ( app-editors/vim[python,${PYTHON_USEDEP}] app-editors/gvim[python,${PYTHON_USEDEP}] )
${PYTHON_DEPS}"
+
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}/${PN}-v${PV}"
src_prepare() {
# Remove .DS_Store files that should not be installed
- find -type f -name '.DS*' -delete
+ find -type f -name '.DS*' -delete || die
}
src_test() {