x11-terms/alacritty: rebvbump 0.4.2, add python deps
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 30 May 2020 02:42:32 +0000 (19:42 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 30 May 2020 02:48:20 +0000 (19:48 -0700)
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
x11-terms/alacritty/alacritty-0.4.2-r1.ebuild [moved from x11-terms/alacritty/alacritty-0.4.2.ebuild with 97% similarity]

similarity index 97%
rename from x11-terms/alacritty/alacritty-0.4.2.ebuild
rename to x11-terms/alacritty/alacritty-0.4.2-r1.ebuild
index b662bff89354ee41a85dfd6b55556f5e09ce623d..42dc571897c214d03ac92db9489b3bd4033f3e10 100644 (file)
@@ -258,8 +258,9 @@ zip-0.5.5
 "
 
 MY_PV="${PV//_rc/-rc}"
+PYTHON_COMPAT=( python3_{7,8} ) # https://bugs.gentoo.org/725962
 
-inherit bash-completion-r1 cargo desktop
+inherit bash-completion-r1 cargo desktop python-any-r1
 
 DESCRIPTION="GPU-accelerated terminal emulator"
 HOMEPAGE="https://github.com/alacritty/alacritty"
@@ -279,13 +280,16 @@ IUSE="wayland +X"
 
 REQUIRED_USE="|| ( wayland X )"
 
-DEPEND="
+DEPEND="${PYTHON_DEPS}"
+BDEPEND="dev-util/cmake"
+
+COMMON_DEPEND="
        media-libs/fontconfig:=
        media-libs/freetype:2
        X? ( x11-libs/libxcb:=[xkb] )
 "
 
-RDEPEND="${DEPEND}
+RDEPEND="${COMMON_DEPEND}
        media-libs/mesa[X?,wayland?]
        sys-libs/zlib
        sys-libs/ncurses:0
@@ -297,8 +301,6 @@ RDEPEND="${DEPEND}
        )
 "
 
-BDEPEND="dev-util/cmake"
-
 DOCS=( CHANGELOG.md docs/ansicode.txt INSTALL.md README.md alacritty.yml )
 
 QA_FLAGS_IGNORED="usr/bin/alacritty"