media-video/obs-studio: switch to python-single-r1 eclass
authorJimi Huotari <chiitoo@gentoo.org>
Fri, 24 Aug 2018 20:51:36 +0000 (23:51 +0300)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 4 Oct 2018 14:30:54 +0000 (16:30 +0200)
Previously, the fact that 'python-any-r1.eclass' is intended for
build-time dependent packages only was completely missed, while
Python is required at run-time when used for OBS Studio scripting.

Closes: https://bugs.gentoo.org/662702
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-video/obs-studio/obs-studio-21.1.2.ebuild
media-video/obs-studio/obs-studio-9999.ebuild

index 956bf7750a29e23e71713452a746308013d15029..dd53602850c73d8c9cdb28be22317a627d12dc35 100644 (file)
@@ -6,7 +6,7 @@ EAPI=6
 PYTHON_COMPAT=( python{3_4,3_5,3_6} )
 CMAKE_MIN_VERSION=3.9.6
 
-inherit cmake-utils gnome2-utils python-any-r1
+inherit cmake-utils gnome2-utils python-single-r1
 
 if [[ ${PV} == *9999 ]]; then
        inherit git-r3
@@ -23,6 +23,7 @@ HOMEPAGE="https://obsproject.com"
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="+alsa fdk imagemagick jack luajit nvenc pulseaudio python speexdsp truetype v4l"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 COMMON_DEPEND="
        >=dev-libs/jansson-2.5
index 4558c2f4e954f22bd04903aa227872e9fe4fd076..366ec0704341643a317afb098a13be0777dbc4ae 100644 (file)
@@ -6,7 +6,7 @@ EAPI=6
 PYTHON_COMPAT=( python{3_4,3_5,3_6} )
 CMAKE_MIN_VERSION=3.9.6
 
-inherit cmake-utils gnome2-utils python-any-r1
+inherit cmake-utils gnome2-utils python-single-r1
 
 if [[ ${PV} == *9999 ]]; then
        inherit git-r3
@@ -23,6 +23,7 @@ HOMEPAGE="https://obsproject.com"
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="+alsa fdk imagemagick jack luajit nvenc pulseaudio python speexdsp truetype v4l"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 COMMON_DEPEND="
        >=dev-libs/jansson-2.5