x11-terms/alacritty: update live ebuild
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 30 May 2020 02:37:46 +0000 (19:37 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 30 May 2020 02:48:19 +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-9999.ebuild

index 09723d5bfefe9d82788dd8e89738e269b3282f54..7d1f53e471ea7b1e0bc13a5496740b4395597d0d 100644 (file)
@@ -6,8 +6,9 @@ EAPI=7
 CRATES=""
 
 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"
@@ -27,13 +28,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
@@ -45,8 +49,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"