app-text/wklej: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 07:06:27 +0000 (09:06 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:20:37 +0000 (13:20 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

app-text/wklej/wklej-0.2.1-r1.ebuild

index 3b1aa2d006f21102317bc9d8a52483054506c363..6ff43bedc3f38f1a1a19610cf66f75a7ea66499f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,12 +15,13 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86 ~x86-fbsd"
 IUSE="+vim"
+# the vim script is python2-only...
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+       vim? ( ^^ ( $(python_gen_useflags 'python2*') ) )"
 
-DEPEND=""
-RDEPEND="vim? ( app-editors/vim[python,$(python_gen_usedep 'python2*')] )"
-
-# the vim script works is python2-only...
-REQUIRED_USE="vim? ( ^^ ( $(python_gen_useflags 'python2*') ) )"
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+       vim? ( app-editors/vim[python,$(python_gen_usedep 'python2*')] )"
 
 S=${WORKDIR}