app-emulation/protontricks: fix setuptools_scm dependency
authorMarek Szuba <marecki@gentoo.org>
Wed, 22 Apr 2020 09:51:21 +0000 (10:51 +0100)
committerMarek Szuba <marecki@gentoo.org>
Wed, 22 Apr 2020 09:55:08 +0000 (10:55 +0100)
Signed-off-by: Marek Szuba <marecki@gentoo.org>
app-emulation/protontricks/protontricks-1.4.1.ebuild

index 88cb1bd7b52c3be970144c3ed708cee5d06f761f..cd8f8b2402a3b71a7331eae7c944f4d866c2f8de 100644 (file)
@@ -18,8 +18,10 @@ SLOT="0"
 KEYWORDS="amd64"
 IUSE="+gui"
 
-BDEPEND="${PYTHON_DEPS}
-       dev-python/setuptools_scm"
+BDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       ')"
 RDEPEND="${PYTHON_DEPS}
        app-emulation/winetricks
        $(python_gen_cond_dep '