app-vim/pyclewn: add missing dependency on pdb-clone.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 16 Jun 2018 20:01:32 +0000 (22:01 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 16 Jun 2018 20:02:03 +0000 (22:02 +0200)
Closes: https://bugs.gentoo.org/619340
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-vim/pyclewn/pyclewn-2.1-r1.ebuild

index f212260860467d175ff3339de9bd49aefa7c2c55..63b9b959aa2b66df35f84a5ff97e9c94fa2b668f 100644 (file)
@@ -1,9 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
 inherit eutils vim-plugin distutils-r1
 
 SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
@@ -17,13 +18,17 @@ CDEPEND="|| (
        >=app-editors/vim-7.3
        >=app-editors/gvim-7.3[netbeans]
 )"
-DEPEND="${CDEPEND}
-       app-arch/vimball
-"
-RDEPEND="${DEPEND}
+
+DEPEND="
+       ${CDEPEND}
+       app-arch/vimball"
+
+RDEPEND="
+       ${DEPEND}
+       $(python_gen_cond_dep \
+               'dev-python/pdb-clone[${PYTHON_USEDEP}]' python{2_7,3_5})
        $(python_gen_cond_dep \
-               'dev-python/trollius[${PYTHON_USEDEP}]' python{2_7,3_3})
-"
+               'dev-python/trollius[${PYTHON_USEDEP}]' python{2_7,3_3})"
 
 SLOT="0"