summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2018-02-23 01:31:14 +0300
committerMichał Górny <mgorny@gentoo.org>2018-02-23 21:38:50 +0100
commit939ebb47354b7a0ed19cfb944578213e6142bc3f (patch)
tree5a888c47fd47b3e89c7ec9a25d9e545bfb67baa1 /media-video/mpv
parentmedia-video/mpv: reset DOCS and SRC_URI vars in live ebuild (diff)
downloadgentoo-939ebb47354b7a0ed19cfb944578213e6142bc3f.tar.gz
gentoo-939ebb47354b7a0ed19cfb944578213e6142bc3f.tar.bz2
gentoo-939ebb47354b7a0ed19cfb944578213e6142bc3f.zip
media-video/mpv: move python_setup to src_configure for simplicity
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-video/mpv')
-rw-r--r--media-video/mpv/mpv-9999.ebuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 076125a4d9c0..91f9df5bf582 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