summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2019-05-18 18:14:30 +0900
committerWilliam Breathitt Gray <vilhelm.gray@gmail.com>2019-05-18 18:14:30 +0900
commit4bb82cbe32939fb1f851f714d155ac6a55358543 (patch)
treed02f1615252b7c777b2fd40c859121ef7e85bc90
parentgames-fps/crispy-doom: python is a BDEPEND dependency (diff)
downloadguru-4bb82cbe32939fb1f851f714d155ac6a55358543.tar.gz
guru-4bb82cbe32939fb1f851f714d155ac6a55358543.tar.bz2
guru-4bb82cbe32939fb1f851f714d155ac6a55358543.zip
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@gmail.com>
-rw-r--r--games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild10
1 files 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 \