commit:     103fbab9ab0e09f5343679b9d7823d48d4a75cf3
Author:     William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Sat May 18 09:16:16 2019 +0000
Commit:     William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
CommitDate: Sat May 18 09:16:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=103fbab9

games-fps/crispy-doom: Utilize python_gen_any_dep

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>

 games-fps/crispy-doom/crispy-doom-5.5.2.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/games-fps/crispy-doom/crispy-doom-5.5.2.ebuild 
b/games-fps/crispy-doom/crispy-doom-5.5.2.ebuild
index f2ca898..05f0281 100644
--- a/games-fps/crispy-doom/crispy-doom-5.5.2.ebuild
+++ b/games-fps/crispy-doom/crispy-doom-5.5.2.ebuild
@@ -24,14 +24,14 @@ DEPEND="
        png? ( media-libs/libpng:= )
        zlib? ( sys-libs/zlib )"
 RDEPEND="${DEPEND}"
-BDEPEND="
-       python? (
-               ${PYTHON_DEPS}
-               dev-python/pillow
-       )"
+BDEPEND="python? ( $(python_gen_any_dep 'dev-python/pillow[${PYTHON_USEDEP}]') 
)"
 
 S="${WORKDIR}"/${PN}-${P}
 
+python_check_deps() {
+       has_version "dev-python/pillow[${PYTHON_USEDEP}]"
+}
+
 src_prepare() {
        default
        eautoreconf

Reply via email to