commit: ed563bffcfcc1b590531ea8f6f4b3bad3963ca68
Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Sat May 18 08:51:12 2019 +0000
Commit: Ralph Seichter <gentoo <AT> seichter <DOT> de>
CommitDate: Sat May 18 08:55:30 2019 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed563bff
games-fps/chocolate-doom: python is a BDEPEND dependency
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, 6 insertions(+), 4 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 88f45ce..06015a5 100644
--- a/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild
+++ b/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild
@@ -3,7 +3,9 @@
EAPI=7
-inherit xdg
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit python-any-r1 xdg
DESCRIPTION="A Doom source port that is minimalist and historically accurate"
HOMEPAGE="https://www.chocolate-doom.org"
@@ -20,10 +22,10 @@ DEPEND="
media-libs/sdl2-net
libsamplerate? ( media-libs/libsamplerate )
png? ( media-libs/libpng:= )"
-RDEPEND="
- ${DEPEND}
+RDEPEND="${DEPEND}"
+BDEPEND="
python? (
- dev-lang/python
+ ${PYTHON_DEPS}
dev-python/pillow
)"