commit: 4bb82cbe32939fb1f851f714d155ac6a55358543 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> AuthorDate: Sat May 18 09:14:30 2019 +0000 Commit: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> CommitDate: Sat May 18 09:14:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4bb82cbe
games-fps/chocolate-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/chocolate-doom/chocolate-doom-3.0.0.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild b/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild index 06015a5..344b24b 100644 --- a/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild +++ b/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild @@ -23,11 +23,11 @@ DEPEND=" libsamplerate? ( media-libs/libsamplerate ) png? ( media-libs/libpng:= )" RDEPEND="${DEPEND}" -BDEPEND=" - python? ( - ${PYTHON_DEPS} - dev-python/pillow - )" +BDEPEND="python? ( $(python_gen_any_dep 'dev-python/pillow[${PYTHON_USEDEP}]') )" + +python_check_deps() { + has_version "dev-python/pillow[${PYTHON_USEDEP}]" +} src_configure() { econf \