commit: 939ebb47354b7a0ed19cfb944578213e6142bc3f
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Thu Feb 22 22:31:14 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 20:38:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939ebb47
media-video/mpv: move python_setup to src_configure for simplicity
Package-Manager: Portage-2.3.24, Repoman-2.3.6
media-video/mpv/mpv-9999.ebuild | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 076125a4d9c..91f9df5bf58 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -135,10 +135,6 @@ PATCHES=(
"${FILESDIR}/${PN}-0.19.0-make-ffmpeg-version-check-non-fatal.patch"
)
-pkg_setup() {
- [[ ${MERGE_TYPE} != "binary" ]] && python_setup
-}
-
src_prepare() {
cp "${DISTDIR}/waf-${WAF_PV}" "${S}"/waf || die
chmod +x "${S}"/waf || die
@@ -146,6 +142,7 @@ src_prepare() {
}
src_configure() {
+ python_setup
tc-export CC PKG_CONFIG AR
if use raspberry-pi; then